diff options
author | lev <lev@FreeBSD.org> | 2003-08-12 16:49:49 +0800 |
---|---|---|
committer | lev <lev@FreeBSD.org> | 2003-08-12 16:49:49 +0800 |
commit | eaf6fc563e4991b57c07935461809805e6af2c78 (patch) | |
tree | adc359ed8564329cafcbeaf9df0e26a91c0bcf72 /devel/msp430-binutils | |
parent | 7cfd78200fcb0f8b99e50bbc7e78914ba7407513 (diff) | |
download | freebsd-ports-gnome-eaf6fc563e4991b57c07935461809805e6af2c78.tar.gz freebsd-ports-gnome-eaf6fc563e4991b57c07935461809805e6af2c78.tar.zst freebsd-ports-gnome-eaf6fc563e4991b57c07935461809805e6af2c78.zip |
(*) Add new devices.
(*) Fix some bugs.
These changes will be in next binutils release from RedHat.
But we could use them before release :)
Obtained from: Target developers.
Diffstat (limited to 'devel/msp430-binutils')
19 files changed, 1237 insertions, 9 deletions
diff --git a/devel/msp430-binutils/Makefile b/devel/msp430-binutils/Makefile index 17c1201b0e5f..0aad79e892c6 100644 --- a/devel/msp430-binutils/Makefile +++ b/devel/msp430-binutils/Makefile @@ -7,7 +7,7 @@ PORTNAME= binutils PORTVERSION= ${BINUTILVERSION} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEWARE} MASTER_SITE_SUBDIR= binutils/releases @@ -42,7 +42,7 @@ PLIST_SUB+= BINUTILS_TARG=${PKGNAMEPREFIX:S/-$//} BINARIES= addr2line ar as c++filt ld nm objcopy objdump ranlib \ readelf size strings strip -INFO= bfd.info binutils.info as.info ld.info \ +INFO_NOAUTO= bfd.info binutils.info as.info ld.info \ standards.info configure.info post-install: @@ -51,7 +51,7 @@ post-install: @${LN} -f ${PREFIX}/bin/${PKGNAMEPREFIX}$F \ ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/bin/$F .endfor -.for F in ${INFO} +.for F in ${INFO_NOAUTO} install-info ${PREFIX}/${PKGNAMEPREFIX:S/-$//}/info/${F} ${PREFIX}/info/dir .endfor diff --git a/devel/msp430-binutils/files/patch-bfd::archures.c b/devel/msp430-binutils/files/patch-bfd::archures.c new file mode 100644 index 000000000000..6e26ddf8455a --- /dev/null +++ b/devel/msp430-binutils/files/patch-bfd::archures.c @@ -0,0 +1,31 @@ +--- bfd/archures.c 2003-04-24 20:36:06.000000000 +0800 ++++ bfd/archures.c 2003-08-06 01:51:10.000000000 +0800 +@@ -295,23 +295,24 @@ + . bfd_arch_openrisc, {* OpenRISC *} + . bfd_arch_mmix, {* Donald Knuth's educational processor. *} + . bfd_arch_xstormy16, + .#define bfd_mach_xstormy16 1 + . bfd_arch_msp430, {* Texas Instruments MSP430 architecture. *} +-.#define bfd_mach_msp110 110 + .#define bfd_mach_msp11 11 ++.#define bfd_mach_msp110 110 + .#define bfd_mach_msp12 12 + .#define bfd_mach_msp13 13 + .#define bfd_mach_msp14 14 +-.#define bfd_mach_msp41 41 ++.#define bfd_mach_msp15 15 ++.#define bfd_mach_msp16 16 + .#define bfd_mach_msp31 31 + .#define bfd_mach_msp32 32 + .#define bfd_mach_msp33 33 ++.#define bfd_mach_msp41 41 ++.#define bfd_mach_msp42 42 + .#define bfd_mach_msp43 43 + .#define bfd_mach_msp44 44 +-.#define bfd_mach_msp15 15 +-.#define bfd_mach_msp16 16 + . bfd_arch_xtensa, {* Tensilica's Xtensa cores. *} + .#define bfd_mach_xtensa 1 + . bfd_arch_last + . }; + */ diff --git a/devel/msp430-binutils/files/patch-bfd::bfd-in2.h b/devel/msp430-binutils/files/patch-bfd::bfd-in2.h new file mode 100644 index 000000000000..b9b542a7d281 --- /dev/null +++ b/devel/msp430-binutils/files/patch-bfd::bfd-in2.h @@ -0,0 +1,31 @@ +--- bfd/bfd-in2.h 2003-05-04 00:06:57.000000000 +0800 ++++ bfd/bfd-in2.h 2003-08-06 01:51:10.000000000 +0800 +@@ -1763,23 +1763,24 @@ + bfd_arch_openrisc, /* OpenRISC */ + bfd_arch_mmix, /* Donald Knuth's educational processor. */ + bfd_arch_xstormy16, + #define bfd_mach_xstormy16 1 + bfd_arch_msp430, /* Texas Instruments MSP430 architecture. */ +-#define bfd_mach_msp110 110 + #define bfd_mach_msp11 11 ++#define bfd_mach_msp110 110 + #define bfd_mach_msp12 12 + #define bfd_mach_msp13 13 + #define bfd_mach_msp14 14 +-#define bfd_mach_msp41 41 ++#define bfd_mach_msp15 15 ++#define bfd_mach_msp16 16 + #define bfd_mach_msp31 31 + #define bfd_mach_msp32 32 + #define bfd_mach_msp33 33 ++#define bfd_mach_msp41 41 ++#define bfd_mach_msp42 42 + #define bfd_mach_msp43 43 + #define bfd_mach_msp44 44 +-#define bfd_mach_msp15 15 +-#define bfd_mach_msp16 16 + bfd_arch_xtensa, /* Tensilica's Xtensa cores. */ + #define bfd_mach_xtensa 1 + bfd_arch_last + }; + diff --git a/devel/msp430-binutils/files/patch-bfd::cpu-msp430.c b/devel/msp430-binutils/files/patch-bfd::cpu-msp430.c new file mode 100644 index 000000000000..2fd4106c7a7f --- /dev/null +++ b/devel/msp430-binutils/files/patch-bfd::cpu-msp430.c @@ -0,0 +1,70 @@ +--- bfd/cpu-msp430.c 2002-12-31 03:25:10.000000000 +0800 ++++ bfd/cpu-msp430.c 2003-08-06 01:51:10.000000000 +0800 +@@ -44,46 +44,48 @@ + static const bfd_arch_info_type arch_info_struct[] = + { + /* msp430x11x. */ + N (16, bfd_mach_msp11, "msp:11", FALSE, & arch_info_struct[1]), + ++ /* msp430x11x1. */ ++ N (16, bfd_mach_msp110, "msp:110", FALSE, & arch_info_struct[2]), ++ + /* msp430x12x. */ +- N (16, bfd_mach_msp12, "msp:12", FALSE, & arch_info_struct[2]), ++ N (16, bfd_mach_msp12, "msp:12", FALSE, & arch_info_struct[3]), + + /* msp430x13x. */ +- N (16, bfd_mach_msp13, "msp:13", FALSE, & arch_info_struct[3]), ++ N (16, bfd_mach_msp13, "msp:13", FALSE, & arch_info_struct[4]), + + /* msp430x14x. */ +- N (16, bfd_mach_msp14, "msp:14", FALSE, & arch_info_struct[4]), ++ N (16, bfd_mach_msp14, "msp:14", FALSE, & arch_info_struct[5]), ++ ++ /* msp430x15x. */ ++ N (16, bfd_mach_msp15, "msp:15", FALSE, & arch_info_struct[6]), ++ ++ /* msp430x16x. */ ++ N (16, bfd_mach_msp16, "msp:16", FALSE, & arch_info_struct[7]), + + /* msp430x31x. */ +- N (16, bfd_mach_msp31, "msp:31", FALSE, & arch_info_struct[5]), ++ N (16, bfd_mach_msp31, "msp:31", FALSE, & arch_info_struct[8]), + + /* msp430x32x. */ +- N (16, bfd_mach_msp32, "msp:32", FALSE, & arch_info_struct[6]), ++ N (16, bfd_mach_msp32, "msp:32", FALSE, & arch_info_struct[9]), + + /* msp430x33x. */ +- N (16, bfd_mach_msp33, "msp:33", FALSE, & arch_info_struct[7]), ++ N (16, bfd_mach_msp33, "msp:33", FALSE, & arch_info_struct[10]), + + /* msp430x41x. */ +- N (16, bfd_mach_msp41, "msp:41", FALSE, & arch_info_struct[8]), ++ N (16, bfd_mach_msp41, "msp:41", FALSE, & arch_info_struct[11]), ++ ++ /* msp430x42x. */ ++ N (16, bfd_mach_msp42, "msp:42", FALSE, & arch_info_struct[12]), + + /* msp430x43x. */ +- N (16, bfd_mach_msp43, "msp:43", FALSE, & arch_info_struct[9]), ++ N (16, bfd_mach_msp43, "msp:43", FALSE, & arch_info_struct[13]), + + /* msp430x44x. */ +- N (16, bfd_mach_msp43, "msp:44", FALSE, & arch_info_struct[10]), +- +- /* msp430x15x. */ +- N (16, bfd_mach_msp15, "msp:15", FALSE, & arch_info_struct[11]), +- +- /* msp430x16x. */ +- N (16, bfd_mach_msp16, "msp:16", FALSE, & arch_info_struct[12]), +- +- /* msp430x11x1. */ +- N (16, bfd_mach_msp110, "msp:110", FALSE, NULL) +- ++ N (16, bfd_mach_msp43, "msp:44", FALSE, NULL) + }; + + const bfd_arch_info_type bfd_msp430_arch = + N (16, bfd_mach_msp14, "msp:14", TRUE, & arch_info_struct[0]); + diff --git a/devel/msp430-binutils/files/patch-bfd::elf32-msp430.c b/devel/msp430-binutils/files/patch-bfd::elf32-msp430.c new file mode 100644 index 000000000000..4b286cb18cbe --- /dev/null +++ b/devel/msp430-binutils/files/patch-bfd::elf32-msp430.c @@ -0,0 +1,158 @@ +--- bfd/elf32-msp430.c 2002-12-31 03:25:10.000000000 +0800 ++++ bfd/elf32-msp430.c 2003-08-06 01:51:10.000000000 +0800 +@@ -548,40 +548,36 @@ + unsigned long val; + + switch (bfd_get_mach (abfd)) + { + default: +- case bfd_mach_msp12: +- val = E_MSP430_MACH_MSP430x12; +- break; +- + case bfd_mach_msp110: + val = E_MSP430_MACH_MSP430x11x1; + break; + + case bfd_mach_msp11: + val = E_MSP430_MACH_MSP430x11; + break; + ++ case bfd_mach_msp12: ++ val = E_MSP430_MACH_MSP430x12; ++ break; ++ + case bfd_mach_msp13: + val = E_MSP430_MACH_MSP430x13; + break; + + case bfd_mach_msp14: + val = E_MSP430_MACH_MSP430x14; + break; + +- case bfd_mach_msp41: +- val = E_MSP430_MACH_MSP430x41; +- break; +- +- case bfd_mach_msp43: +- val = E_MSP430_MACH_MSP430x43; ++ case bfd_mach_msp15: ++ val = E_MSP430_MACH_MSP430x15; + break; + +- case bfd_mach_msp44: +- val = E_MSP430_MACH_MSP430x44; ++ case bfd_mach_msp16: ++ val = E_MSP430_MACH_MSP430x16; + break; + + case bfd_mach_msp31: + val = E_MSP430_MACH_MSP430x31; + break; +@@ -592,16 +588,24 @@ + + case bfd_mach_msp33: + val = E_MSP430_MACH_MSP430x33; + break; + +- case bfd_mach_msp15: +- val = E_MSP430_MACH_MSP430x15; ++ case bfd_mach_msp41: ++ val = E_MSP430_MACH_MSP430x41; + break; + +- case bfd_mach_msp16: +- val = E_MSP430_MACH_MSP430x16; ++ case bfd_mach_msp42: ++ val = E_MSP430_MACH_MSP430x42; ++ break; ++ ++ case bfd_mach_msp43: ++ val = E_MSP430_MACH_MSP430x43; ++ break; ++ ++ case bfd_mach_msp44: ++ val = E_MSP430_MACH_MSP430x44; + break; + } + + elf_elfheader (abfd)->e_machine = EM_MSP430; + elf_elfheader (abfd)->e_flags &= ~EF_MSP430_MACH; +@@ -622,34 +626,38 @@ + int e_mach = elf_elfheader (abfd)->e_flags & EF_MSP430_MACH; + + switch (e_mach) + { + default: +- case E_MSP430_MACH_MSP430x12: +- e_set = bfd_mach_msp12; +- break; +- + case E_MSP430_MACH_MSP430x11: + e_set = bfd_mach_msp11; + break; + + case E_MSP430_MACH_MSP430x11x1: + e_set = bfd_mach_msp110; + break; + ++ case E_MSP430_MACH_MSP430x12: ++ e_set = bfd_mach_msp12; ++ break; ++ + case E_MSP430_MACH_MSP430x13: + e_set = bfd_mach_msp13; + break; + + case E_MSP430_MACH_MSP430x14: + e_set = bfd_mach_msp14; + break; + +- case E_MSP430_MACH_MSP430x41: +- e_set = bfd_mach_msp41; ++ case E_MSP430_MACH_MSP430x15: ++ e_set = bfd_mach_msp15; + break; + ++ case E_MSP430_MACH_MSP430x16: ++ e_set = bfd_mach_msp16; ++ break; ++ + case E_MSP430_MACH_MSP430x31: + e_set = bfd_mach_msp31; + break; + + case E_MSP430_MACH_MSP430x32: +@@ -658,24 +666,24 @@ + + case E_MSP430_MACH_MSP430x33: + e_set = bfd_mach_msp33; + break; + +- case E_MSP430_MACH_MSP430x43: +- e_set = bfd_mach_msp43; ++ case E_MSP430_MACH_MSP430x41: ++ e_set = bfd_mach_msp41; + break; + +- case E_MSP430_MACH_MSP430x44: +- e_set = bfd_mach_msp44; ++ case E_MSP430_MACH_MSP430x42: ++ e_set = bfd_mach_msp42; + break; + +- case E_MSP430_MACH_MSP430x15: +- e_set = bfd_mach_msp15; ++ case E_MSP430_MACH_MSP430x43: ++ e_set = bfd_mach_msp43; + break; + +- case E_MSP430_MACH_MSP430x16: +- e_set = bfd_mach_msp16; ++ case E_MSP430_MACH_MSP430x44: ++ e_set = bfd_mach_msp44; + break; + } + } + + return bfd_default_set_arch_mach (abfd, bfd_arch_msp430, e_set); diff --git a/devel/msp430-binutils/files/patch-gas::config::tc-msp430.c b/devel/msp430-binutils/files/patch-gas::config::tc-msp430.c index 562176091af7..f533a2d78172 100644 --- a/devel/msp430-binutils/files/patch-gas::config::tc-msp430.c +++ b/devel/msp430-binutils/files/patch-gas::config::tc-msp430.c @@ -1,6 +1,114 @@ ---- gas/config/tc-msp430.c.orig Fri Aug 1 16:52:38 2003 -+++ gas/config/tc-msp430.c Fri Aug 1 17:00:31 2003 -@@ -186,6 +186,8 @@ +--- gas/config/tc-msp430.c.orig Tue Mar 4 19:34:40 2003 ++++ gas/config/tc-msp430.c Mon Aug 11 17:21:43 2003 +@@ -69,72 +69,85 @@ + int isa; + int mach; + }; + + #define MSP430_ISA_11 11 ++#define MSP430_ISA_110 110 + #define MSP430_ISA_12 12 + #define MSP430_ISA_13 13 + #define MSP430_ISA_14 14 +-#define MSP430_ISA_41 41 ++#define MSP430_ISA_15 15 ++#define MSP430_ISA_16 16 + #define MSP430_ISA_31 31 + #define MSP430_ISA_32 32 + #define MSP430_ISA_33 33 +-#define MSP430_ISA_110 110 ++#define MSP430_ISA_41 41 ++#define MSP430_ISA_42 42 + #define MSP430_ISA_43 43 + #define MSP430_ISA_44 44 +-#define MSP430_ISA_15 15 +-#define MSP430_ISA_16 16 + + #define CHECK_RELOC_MSP430 ((imm_op || byte_op)?BFD_RELOC_MSP430_16_BYTE:BFD_RELOC_MSP430_16) + #define CHECK_RELOC_MSP430_PCREL ((imm_op || byte_op)?BFD_RELOC_MSP430_16_PCREL_BYTE:BFD_RELOC_MSP430_16_PCREL) + + static struct mcu_type_s mcu_types[] = + { + {"msp1", MSP430_ISA_11, bfd_mach_msp11}, + {"msp2", MSP430_ISA_14, bfd_mach_msp14}, + {"msp430x110", MSP430_ISA_11, bfd_mach_msp11}, + {"msp430x112", MSP430_ISA_11, bfd_mach_msp11}, +- {"msp430x122", MSP430_ISA_12, bfd_mach_msp12}, +- {"msp430x122", MSP430_ISA_12, bfd_mach_msp12}, +- {"msp430x1222",MSP430_ISA_12, bfd_mach_msp12}, ++ {"msp430x1101",MSP430_ISA_110, bfd_mach_msp110}, ++ {"msp430x1111",MSP430_ISA_110, bfd_mach_msp110}, ++ {"msp430x1121",MSP430_ISA_110, bfd_mach_msp110}, + {"msp430x1122",MSP430_ISA_11, bfd_mach_msp110}, + {"msp430x1132",MSP430_ISA_11, bfd_mach_msp110}, ++ ++ {"msp430x122", MSP430_ISA_12, bfd_mach_msp12}, + {"msp430x123", MSP430_ISA_12, bfd_mach_msp12}, ++ {"msp430x1222",MSP430_ISA_12, bfd_mach_msp12}, + {"msp430x1232",MSP430_ISA_12, bfd_mach_msp12}, ++ + {"msp430x133", MSP430_ISA_13, bfd_mach_msp13}, + {"msp430x135", MSP430_ISA_13, bfd_mach_msp13}, ++ {"msp430x1331",MSP430_ISA_13, bfd_mach_msp13}, ++ {"msp430x1351",MSP430_ISA_13, bfd_mach_msp13}, + {"msp430x147", MSP430_ISA_14, bfd_mach_msp14}, + {"msp430x148", MSP430_ISA_14, bfd_mach_msp14}, + {"msp430x149", MSP430_ISA_14, bfd_mach_msp14}, +- {"msp430x412", MSP430_ISA_41, bfd_mach_msp41}, +- {"msp430x413", MSP430_ISA_41, bfd_mach_msp41}, ++ ++ {"msp430x155", MSP430_ISA_15, bfd_mach_msp15}, ++ {"msp430x156", MSP430_ISA_15, bfd_mach_msp15}, ++ {"msp430x157", MSP430_ISA_15, bfd_mach_msp15}, ++ {"msp430x167", MSP430_ISA_16, bfd_mach_msp16}, ++ {"msp430x168", MSP430_ISA_16, bfd_mach_msp16}, ++ {"msp430x169", MSP430_ISA_16, bfd_mach_msp16}, ++ + {"msp430x311", MSP430_ISA_31, bfd_mach_msp31}, + {"msp430x312", MSP430_ISA_31, bfd_mach_msp31}, + {"msp430x313", MSP430_ISA_31, bfd_mach_msp31}, + {"msp430x314", MSP430_ISA_31, bfd_mach_msp31}, + {"msp430x315", MSP430_ISA_31, bfd_mach_msp31}, + {"msp430x323", MSP430_ISA_32, bfd_mach_msp32}, + {"msp430x325", MSP430_ISA_32, bfd_mach_msp32}, + {"msp430x336", MSP430_ISA_33, bfd_mach_msp33}, + {"msp430x337", MSP430_ISA_33, bfd_mach_msp33}, +- {"msp430x1101",MSP430_ISA_110, bfd_mach_msp110}, +- {"msp430x1111",MSP430_ISA_110, bfd_mach_msp110}, +- {"msp430x1121",MSP430_ISA_110, bfd_mach_msp110}, +- {"msp430x1331",MSP430_ISA_13, bfd_mach_msp13}, +- {"msp430x1351",MSP430_ISA_13, bfd_mach_msp13}, ++ ++ {"msp430x412", MSP430_ISA_41, bfd_mach_msp41}, ++ {"msp430x413", MSP430_ISA_41, bfd_mach_msp41}, ++ ++ {"msp430xE423", MSP430_ISA_42, bfd_mach_msp42}, ++ {"msp430xE425", MSP430_ISA_42, bfd_mach_msp42}, ++ {"msp430xE427", MSP430_ISA_42, bfd_mach_msp42}, ++ {"msp430xW423", MSP430_ISA_42, bfd_mach_msp42}, ++ {"msp430xW425", MSP430_ISA_42, bfd_mach_msp42}, ++ {"msp430xW427", MSP430_ISA_42, bfd_mach_msp42}, ++ + {"msp430x435", MSP430_ISA_43, bfd_mach_msp43}, + {"msp430x436", MSP430_ISA_43, bfd_mach_msp43}, + {"msp430x437", MSP430_ISA_43, bfd_mach_msp43}, + {"msp430x447", MSP430_ISA_44, bfd_mach_msp44}, + {"msp430x448", MSP430_ISA_44, bfd_mach_msp44}, + {"msp430x449", MSP430_ISA_44, bfd_mach_msp44}, +- {"msp430x167", MSP430_ISA_16, bfd_mach_msp16}, +- {"msp430x168", MSP430_ISA_16, bfd_mach_msp16}, +- {"msp430x169", MSP430_ISA_16, bfd_mach_msp16}, +- {"msp430x155", MSP430_ISA_15, bfd_mach_msp15}, +- {"msp430x156", MSP430_ISA_15, bfd_mach_msp15}, +- {"msp430x157", MSP430_ISA_15, bfd_mach_msp15}, + + {NULL, 0, 0} + }; + + +@@ -184,18 +197,22 @@ + " -mmcu=[msp430-name] select microcontroller type\n" + " msp430x110 msp430x112\n" " msp430x1101 msp430x1111\n" " msp430x1121 msp430x1122 msp430x1132\n" " msp430x122 msp430x123\n" @@ -9,7 +117,21 @@ " msp430x1331 msp430x1351\n" " msp430x147 msp430x148 msp430x149\n" " msp430x155 msp430x156 msp430x157\n" -@@ -979,11 +981,7 @@ + " msp430x167 msp430x168 msp430x169\n" + " msp430x311 msp430x312 msp430x313 msp430x314 msp430x315\n" + " msp430x323 msp430x325\n" + " msp430x336 msp430x337\n" + " msp430x412 msp430x413\n" ++ " msp430xE423 msp430xE425 msp430E427\n" ++ " msp430xW423 msp430xW425 msp430W427\n" + " msp430x435 msp430x436 msp430x437\n" + " msp430x447 msp430x448 msp430x449\n")); + + show_mcu_list (stream); + } +@@ -977,15 +994,11 @@ + op->mode = OP_REG; + } else if (x == 4) { #ifdef PUSH_1X_WORKAROUND @@ -22,7 +144,11 @@ { /* Remove warning as confusing. as_warn(_("Hardware push bug workaround")); */ -@@ -1000,11 +998,7 @@ + } + else +@@ -998,15 +1011,11 @@ + } + } else if (x == 8) { #ifdef PUSH_1X_WORKAROUND @@ -35,3 +161,5 @@ { /* Remove warning as confusing. as_warn(_("Hardware push bug workaround")); */ + } + else diff --git a/devel/msp430-binutils/files/patch-gas::doc::as.1 b/devel/msp430-binutils/files/patch-gas::doc::as.1 new file mode 100644 index 000000000000..aa293b28e274 --- /dev/null +++ b/devel/msp430-binutils/files/patch-gas::doc::as.1 @@ -0,0 +1,15 @@ +--- gas/doc/as.1 2003-06-12 22:33:09.000000000 +0800 ++++ gas/doc/as.1 2003-08-06 01:51:10.000000000 +0800 +@@ -126,11 +126,11 @@ + .\} + .rm #[ #] #H #V #F C + .\" ======================================================================== + .\" + .IX Title "AS 1" +-.TH AS 1 "2003-06-12" "binutils-2.14" "GNU Development Tools" ++.TH AS 1 "2003-06-14" "binutils-2.14" "GNU Development Tools" + .SH "NAME" + AS \- the portable GNU assembler. + .SH "SYNOPSIS" + .IX Header "SYNOPSIS" + as [\fB\-a\fR[\fBcdhlns\fR][=\fIfile\fR]] [\fB\-D\fR] [\fB\-\-defsym\fR \fIsym\fR=\fIval\fR] diff --git a/devel/msp430-binutils/files/patch-include::elf::msp430.h b/devel/msp430-binutils/files/patch-include::elf::msp430.h new file mode 100644 index 000000000000..701aa5ae5e48 --- /dev/null +++ b/devel/msp430-binutils/files/patch-include::elf::msp430.h @@ -0,0 +1,30 @@ +--- include/elf/msp430.h 2002-12-31 03:25:12.000000000 +0800 ++++ include/elf/msp430.h 2003-08-06 01:51:10.000000000 +0800 +@@ -24,23 +24,24 @@ + #include "elf/reloc-macros.h" + + /* Processor specific flags for the ELF header e_flags field. */ + #define EF_MSP430_MACH 0xff + +-#define E_MSP430_MACH_MSP430x11x1 110 + #define E_MSP430_MACH_MSP430x11 11 ++#define E_MSP430_MACH_MSP430x11x1 110 + #define E_MSP430_MACH_MSP430x12 12 + #define E_MSP430_MACH_MSP430x13 13 + #define E_MSP430_MACH_MSP430x14 14 ++#define E_MSP430_MACH_MSP430x15 15 ++#define E_MSP430_MACH_MSP430x16 16 + #define E_MSP430_MACH_MSP430x31 31 + #define E_MSP430_MACH_MSP430x32 32 + #define E_MSP430_MACH_MSP430x33 33 + #define E_MSP430_MACH_MSP430x41 41 ++#define E_MSP430_MACH_MSP430x42 42 + #define E_MSP430_MACH_MSP430x43 43 + #define E_MSP430_MACH_MSP430x44 44 +-#define E_MSP430_MACH_MSP430x15 15 +-#define E_MSP430_MACH_MSP430x16 16 + + /* Relocations. */ + START_RELOC_NUMBERS (elf_msp430_reloc_type) + RELOC_NUMBER (R_MSP430_NONE, 0) + RELOC_NUMBER (R_MSP430_32, 1) diff --git a/devel/msp430-binutils/files/patch-ld::Makefile.am b/devel/msp430-binutils/files/patch-ld::Makefile.am new file mode 100644 index 000000000000..c35b0d3cee41 --- /dev/null +++ b/devel/msp430-binutils/files/patch-ld::Makefile.am @@ -0,0 +1,297 @@ +--- ld/Makefile.am 2003-04-24 20:36:07.000000000 +0800 ++++ ld/Makefile.am 2003-08-06 01:55:25.000000000 +0800 +@@ -250,50 +250,57 @@ + emipsidt.o \ + emipsidtl.o \ + emipslit.o \ + emipslnews.o \ + emipspe.o \ ++ emsp430x110.o \ ++ emsp430x112.o \ + emsp430x1101.o \ + emsp430x1111.o \ + emsp430x1121.o \ + emsp430x1122.o \ + emsp430x1132.o \ +- emsp430x1331.o \ +- emsp430x1351.o \ +- emsp430x149.o \ +- emsp430x148.o \ +- emsp430x147.o \ +- emsp430x135.o \ +- emsp430x133.o \ +- emsp430x110.o \ +- emsp430x112.o \ + emsp430x122.o \ +- emsp430x1222.o \ + emsp430x123.o \ ++ emsp430x1222.o \ + emsp430x1232.o \ +- emsp430x412.o \ +- emsp430x413.o \ ++ emsp430x133.o \ ++ emsp430x135.o \ ++ emsp430x1331.o \ ++ emsp430x1351.o \ ++ emsp430x147.o \ ++ emsp430x148.o \ ++ emsp430x149.o \ ++ emsp430x155.o \ ++ emsp430x156.o \ ++ emsp430x157.o \ ++ emsp430x167.o \ ++ emsp430x168.o \ ++ emsp430x169.o \ + emsp430x311.o \ + emsp430x312.o \ + emsp430x313.o \ + emsp430x314.o \ + emsp430x315.o \ + emsp430x323.o \ + emsp430x325.o \ + emsp430x336.o \ + emsp430x337.o \ ++ emsp430x412.o \ ++ emsp430x413.o \ ++ emsp430xE423.o \ ++ emsp430xE425.o \ ++ emsp430xE427.o \ ++ emsp430xW423.o \ ++ emsp430xW425.o \ ++ emsp430xW427.o \ + emsp430x435.o \ + emsp430x436.o \ ++ emsp430x437.o \ + emsp430x447.o \ + emsp430x448.o \ + emsp430x449.o \ +- emsp430x169.o \ +- emsp430x168.o \ +- emsp430x167.o \ +- emsp430x155.o \ +- emsp430x156.o \ +- emsp430x157.o \ + enews.o \ + ens32knbsd.o \ + eor32.o \ + eor32elf.o \ + epc532macha.o \ +@@ -1016,10 +1023,18 @@ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} mn10300 "$(tdir_mn10300)" + emn10200.c: $(srcdir)/emulparams/mn10200.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} mn10200 "$(tdir_mn10200)" ++emsp430x110.c: $(srcdir)/emulparams/msp430x110.sh \ ++ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ ++ ${GEN_DEPENDS} ++ ${GENSCRIPTS} msp430x110 "$(tdir_msp430x110)" ++emsp430x112.c: $(srcdir)/emulparams/msp430x112.sh \ ++ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ ++ ${GEN_DEPENDS} ++ ${GENSCRIPTS} msp430x112 "$(tdir_msp430x112)" + emsp430x1101.c: $(srcdir)/emulparams/msp430x1101.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} + ${GENSCRIPTS} msp430x1101 "$(tdir_msp430x1101)" + emsp430x1111.c: $(srcdir)/emulparams/msp430x1111.sh \ +@@ -1036,82 +1051,78 @@ + ${GENSCRIPTS} msp430x1122 "$(tdir_msp430x1122)" + emsp430x1132.c: $(srcdir)/emulparams/msp430x1132.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} + ${GENSCRIPTS} msp430x1132 "$(tdir_msp430x1132)" +-emsp430x1331.c: $(srcdir)/emulparams/msp430x1331.sh \ +- $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ +- ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x1331 "$(tdir_msp430x1331)" +-emsp430x1351.c: $(srcdir)/emulparams/msp430x1351.sh \ ++emsp430x122.c: $(srcdir)/emulparams/msp430x122.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x1351 "$(tdir_msp430x1351)" +-emsp430x149.c: $(srcdir)/emulparams/msp430x149.sh \ ++ ${GENSCRIPTS} msp430x122 "$(tdir_msp430x122)" ++emsp430x123.c: $(srcdir)/emulparams/msp430x123.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x149 "$(tdir_msp430x149)" +-emsp430x148.c: $(srcdir)/emulparams/msp430x148.sh \ ++ ${GENSCRIPTS} msp430x123 "$(tdir_msp430x123)" ++emsp430x1222.c: $(srcdir)/emulparams/msp430x1222.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x148 "$(tdir_msp430x148)" +-emsp430x449.c: $(srcdir)/emulparams/msp430x449.sh \ ++ ${GENSCRIPTS} msp430x1222 "$(tdir_msp430x1222)" ++emsp430x1232.c: $(srcdir)/emulparams/msp430x1232.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x449 "$(tdir_msp430x449)" +-emsp430x448.c: $(srcdir)/emulparams/msp430x448.sh \ ++ ${GENSCRIPTS} msp430x1232 "$(tdir_msp430x1232)" ++emsp430x133.c: $(srcdir)/emulparams/msp430x133.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x448 "$(tdir_msp430x448)" +-emsp430x447.c: $(srcdir)/emulparams/msp430x447.sh \ ++ ${GENSCRIPTS} msp430x133 "$(tdir_msp430x133)" ++emsp430x135.c: $(srcdir)/emulparams/msp430x135.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x447 "$(tdir_msp430x447)" +-emsp430x412.c: $(srcdir)/emulparams/msp430x412.sh \ ++ ${GENSCRIPTS} msp430x135 "$(tdir_msp430x135)" ++emsp430x1331.c: $(srcdir)/emulparams/msp430x1331.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x412 "$(tdir_msp430x412)" +-emsp430x413.c: $(srcdir)/emulparams/msp430x413.sh \ ++ ${GENSCRIPTS} msp430x1331 "$(tdir_msp430x1331)" ++emsp430x1351.c: $(srcdir)/emulparams/msp430x1351.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x413 "$(tdir_msp430x413)" ++ ${GENSCRIPTS} msp430x1351 "$(tdir_msp430x1351)" + emsp430x147.c: $(srcdir)/emulparams/msp430x147.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} + ${GENSCRIPTS} msp430x147 "$(tdir_msp430x147)" +-emsp430x135.c: $(srcdir)/emulparams/msp430x135.sh \ ++emsp430x148.c: $(srcdir)/emulparams/msp430x148.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x135 "$(tdir_msp430x135)" +-emsp430x133.c: $(srcdir)/emulparams/msp430x133.sh \ ++ ${GENSCRIPTS} msp430x148 "$(tdir_msp430x148)" ++emsp430x149.c: $(srcdir)/emulparams/msp430x149.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x133 "$(tdir_msp430x133)" +-emsp430x110.c: $(srcdir)/emulparams/msp430x110.sh \ ++ ${GENSCRIPTS} msp430x149 "$(tdir_msp430x149)" ++emsp430x155.c: $(srcdir)/emulparams/msp430x155.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x110 "$(tdir_msp430x110)" +-emsp430x112.c: $(srcdir)/emulparams/msp430x112.sh \ ++ ${GENSCRIPTS} msp430x155 "$(tdir_msp430x155)" ++emsp430x156.c: $(srcdir)/emulparams/msp430x156.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x112 "$(tdir_msp430x112)" +-emsp430x122.c: $(srcdir)/emulparams/msp430x122.sh \ ++ ${GENSCRIPTS} msp430x156 "$(tdir_msp430x156)" ++emsp430x157.c: $(srcdir)/emulparams/msp430x157.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x122 "$(tdir_msp430x122)" +-emsp430x1222.c: $(srcdir)/emulparams/msp430x1222.sh \ ++ ${GENSCRIPTS} msp430x157 "$(tdir_msp430x157)" ++emsp430x167.c: $(srcdir)/emulparams/msp430x167.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x1222 "$(tdir_msp430x1222)" +-emsp430x123.c: $(srcdir)/emulparams/msp430x123.sh \ ++ ${GENSCRIPTS} msp430x167 "$(tdir_msp430x167)" ++emsp430x168.c: $(srcdir)/emulparams/msp430x167.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x123 "$(tdir_msp430x123)" +-emsp430x1232.c: $(srcdir)/emulparams/msp430x1232.sh \ ++ ${GENSCRIPTS} msp430x168 "$(tdir_msp430x168)" ++emsp430x169.c: $(srcdir)/emulparams/msp430x169.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x1232 "$(tdir_msp430x1232)" ++ ${GENSCRIPTS} msp430x169 "$(tdir_msp430x169)" + emsp430x311.c: $(srcdir)/emulparams/msp430x311.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \ + ${GEN_DEPENDS} + ${GENSCRIPTS} msp430x311 "$(tdir_msp430x311)" + emsp430x312.c: $(srcdir)/emulparams/msp430x312.sh \ +@@ -1144,46 +1155,66 @@ + ${GENSCRIPTS} msp430x336 "$(tdir_msp430x336)" + emsp430x337.c: $(srcdir)/emulparams/msp430x337.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \ + ${GEN_DEPENDS} + ${GENSCRIPTS} msp430x337 "$(tdir_msp430x337)" +-emsp430x435.c: $(srcdir)/emulparams/msp430x435.sh \ ++emsp430x412.c: $(srcdir)/emulparams/msp430x412.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x435 "$(tdir_msp430x435)" +-emsp430x436.c: $(srcdir)/emulparams/msp430x436.sh \ ++ ${GENSCRIPTS} msp430x412 "$(tdir_msp430x412)" ++emsp430x413.c: $(srcdir)/emulparams/msp430x413.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x436 "$(tdir_msp430x436)" +-emsp430x437.c: $(srcdir)/emulparams/msp430x437.sh \ ++ ${GENSCRIPTS} msp430x413 "$(tdir_msp430x413)" ++emsp430xE423.c: $(srcdir)/emulparams/msp430xE423.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x437 "$(tdir_msp430x437)" +-emsp430x167.c: $(srcdir)/emulparams/msp430x167.sh \ ++ ${GENSCRIPTS} msp430xE423 "$(tdir_msp430xE423)" ++emsp430xE425.c: $(srcdir)/emulparams/msp430xE425.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x167 "$(tdir_msp430x167)" +-emsp430x168.c: $(srcdir)/emulparams/msp430x167.sh \ ++ ${GENSCRIPTS} msp430xE425 "$(tdir_msp430xE425)" ++emsp430xE427.c: $(srcdir)/emulparams/msp430xE427.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x168 "$(tdir_msp430x168)" +-emsp430x169.c: $(srcdir)/emulparams/msp430x169.sh \ ++ ${GENSCRIPTS} msp430xE427 "$(tdir_msp430xE427)" ++emsp430xW423.c: $(srcdir)/emulparams/msp430xW423.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x169 "$(tdir_msp430x169)" +-emsp430x155.c: $(srcdir)/emulparams/msp430x155.sh \ ++ ${GENSCRIPTS} msp430xW423 "$(tdir_msp430xW423)" ++emsp430xW425.c: $(srcdir)/emulparams/msp430xW425.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x155 "$(tdir_msp430x155)" +-emsp430x156.c: $(srcdir)/emulparams/msp430x156.sh \ ++ ${GENSCRIPTS} msp430xW425 "$(tdir_msp430xW425)" ++emsp430xW427.c: $(srcdir)/emulparams/msp430xW427.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x156 "$(tdir_msp430x156)" +-emsp430x157.c: $(srcdir)/emulparams/msp430x157.sh \ ++ ${GENSCRIPTS} msp430xW427 "$(tdir_msp430xW427)" ++emsp430x435.c: $(srcdir)/emulparams/msp430x435.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x157 "$(tdir_msp430x157)" ++ ${GENSCRIPTS} msp430x435 "$(tdir_msp430x435)" ++emsp430x436.c: $(srcdir)/emulparams/msp430x436.sh \ ++ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ ++ ${GEN_DEPENDS} ++ ${GENSCRIPTS} msp430x436 "$(tdir_msp430x436)" ++emsp430x437.c: $(srcdir)/emulparams/msp430x437.sh \ ++ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ ++ ${GEN_DEPENDS} ++ ${GENSCRIPTS} msp430x437 "$(tdir_msp430x437)" ++emsp430x447.c: $(srcdir)/emulparams/msp430x447.sh \ ++ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ ++ ${GEN_DEPENDS} ++ ${GENSCRIPTS} msp430x447 "$(tdir_msp430x447)" ++emsp430x448.c: $(srcdir)/emulparams/msp430x448.sh \ ++ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ ++ ${GEN_DEPENDS} ++ ${GENSCRIPTS} msp430x448 "$(tdir_msp430x448)" ++emsp430x449.c: $(srcdir)/emulparams/msp430x449.sh \ ++ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ ++ ${GEN_DEPENDS} ++ ${GENSCRIPTS} msp430x449 "$(tdir_msp430x449)" + enews.c: $(srcdir)/emulparams/news.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} + ${GENSCRIPTS} news "$(tdir_news)" + ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} diff --git a/devel/msp430-binutils/files/patch-ld::Makefile.in b/devel/msp430-binutils/files/patch-ld::Makefile.in new file mode 100644 index 000000000000..dfe17e84853f --- /dev/null +++ b/devel/msp430-binutils/files/patch-ld::Makefile.in @@ -0,0 +1,298 @@ +--- ld/Makefile.in 2003-04-24 20:36:07.000000000 +0800 ++++ ld/Makefile.in 2003-08-06 01:56:36.000000000 +0800 +@@ -364,50 +364,57 @@ + emipsidt.o \ + emipsidtl.o \ + emipslit.o \ + emipslnews.o \ + emipspe.o \ ++ emsp430x110.o \ ++ emsp430x112.o \ + emsp430x1101.o \ + emsp430x1111.o \ + emsp430x1121.o \ + emsp430x1122.o \ + emsp430x1132.o \ +- emsp430x1331.o \ +- emsp430x1351.o \ +- emsp430x149.o \ +- emsp430x148.o \ +- emsp430x147.o \ +- emsp430x135.o \ +- emsp430x133.o \ +- emsp430x110.o \ +- emsp430x112.o \ + emsp430x122.o \ + emsp430x1222.o \ + emsp430x123.o \ +- emsp430x1232.o \ +- emsp430x412.o \ +- emsp430x413.o \ ++ emsp430x1232.o \ ++ emsp430x133.o \ ++ emsp430x135.o \ ++ emsp430x1331.o \ ++ emsp430x1351.o \ ++ emsp430x147.o \ ++ emsp430x148.o \ ++ emsp430x149.o \ ++ emsp430x155.o \ ++ emsp430x156.o \ ++ emsp430x157.o \ ++ emsp430x167.o \ ++ emsp430x168.o \ ++ emsp430x169.o \ + emsp430x311.o \ + emsp430x312.o \ + emsp430x313.o \ + emsp430x314.o \ + emsp430x315.o \ + emsp430x323.o \ + emsp430x325.o \ + emsp430x336.o \ + emsp430x337.o \ ++ emsp430x412.o \ ++ emsp430x413.o \ ++ emsp430xE423.o \ ++ emsp430xE425.o \ ++ emsp430xE427.o \ ++ emsp430xW423.o \ ++ emsp430xW425.o \ ++ emsp430xW427.o \ + emsp430x435.o \ + emsp430x436.o \ ++ emsp430x437.o \ + emsp430x447.o \ + emsp430x448.o \ + emsp430x449.o \ +- emsp430x169.o \ +- emsp430x168.o \ +- emsp430x167.o \ +- emsp430x155.o \ +- emsp430x156.o \ +- emsp430x157.o \ + enews.o \ + ens32knbsd.o \ + eor32.o \ + eor32elf.o \ + epc532macha.o \ +@@ -1742,10 +1749,18 @@ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} mn10300 "$(tdir_mn10300)" + emn10200.c: $(srcdir)/emulparams/mn10200.sh \ + $(srcdir)/emultempl/elf32.em $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS} + ${GENSCRIPTS} mn10200 "$(tdir_mn10200)" ++emsp430x110.c: $(srcdir)/emulparams/msp430x110.sh \ ++ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ ++ ${GEN_DEPENDS} ++ ${GENSCRIPTS} msp430x110 "$(tdir_msp430x110)" ++emsp430x112.c: $(srcdir)/emulparams/msp430x112.sh \ ++ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ ++ ${GEN_DEPENDS} ++ ${GENSCRIPTS} msp430x112 "$(tdir_msp430x112)" + emsp430x1101.c: $(srcdir)/emulparams/msp430x1101.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} + ${GENSCRIPTS} msp430x1101 "$(tdir_msp430x1101)" + emsp430x1111.c: $(srcdir)/emulparams/msp430x1111.sh \ +@@ -1762,82 +1777,78 @@ + ${GENSCRIPTS} msp430x1122 "$(tdir_msp430x1122)" + emsp430x1132.c: $(srcdir)/emulparams/msp430x1132.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} + ${GENSCRIPTS} msp430x1132 "$(tdir_msp430x1132)" +-emsp430x1331.c: $(srcdir)/emulparams/msp430x1331.sh \ +- $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ +- ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x1331 "$(tdir_msp430x1331)" +-emsp430x1351.c: $(srcdir)/emulparams/msp430x1351.sh \ ++emsp430x122.c: $(srcdir)/emulparams/msp430x122.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x1351 "$(tdir_msp430x1351)" +-emsp430x149.c: $(srcdir)/emulparams/msp430x149.sh \ ++ ${GENSCRIPTS} msp430x122 "$(tdir_msp430x122)" ++emsp430x123.c: $(srcdir)/emulparams/msp430x123.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x149 "$(tdir_msp430x149)" +-emsp430x148.c: $(srcdir)/emulparams/msp430x148.sh \ ++ ${GENSCRIPTS} msp430x123 "$(tdir_msp430x123)" ++emsp430x1222.c: $(srcdir)/emulparams/msp430x1222.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x148 "$(tdir_msp430x148)" +-emsp430x449.c: $(srcdir)/emulparams/msp430x449.sh \ ++ ${GENSCRIPTS} msp430x1222 "$(tdir_msp430x1222)" ++emsp430x1232.c: $(srcdir)/emulparams/msp430x1232.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x449 "$(tdir_msp430x449)" +-emsp430x448.c: $(srcdir)/emulparams/msp430x448.sh \ ++ ${GENSCRIPTS} msp430x1232 "$(tdir_msp430x1232)" ++emsp430x133.c: $(srcdir)/emulparams/msp430x133.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x448 "$(tdir_msp430x448)" +-emsp430x447.c: $(srcdir)/emulparams/msp430x447.sh \ ++ ${GENSCRIPTS} msp430x133 "$(tdir_msp430x133)" ++emsp430x135.c: $(srcdir)/emulparams/msp430x135.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x447 "$(tdir_msp430x447)" +-emsp430x412.c: $(srcdir)/emulparams/msp430x412.sh \ ++ ${GENSCRIPTS} msp430x135 "$(tdir_msp430x135)" ++emsp430x1331.c: $(srcdir)/emulparams/msp430x1331.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x412 "$(tdir_msp430x412)" +-emsp430x413.c: $(srcdir)/emulparams/msp430x413.sh \ ++ ${GENSCRIPTS} msp430x1331 "$(tdir_msp430x1331)" ++emsp430x1351.c: $(srcdir)/emulparams/msp430x1351.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x413 "$(tdir_msp430x413)" ++ ${GENSCRIPTS} msp430x1351 "$(tdir_msp430x1351)" + emsp430x147.c: $(srcdir)/emulparams/msp430x147.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} + ${GENSCRIPTS} msp430x147 "$(tdir_msp430x147)" +-emsp430x135.c: $(srcdir)/emulparams/msp430x135.sh \ ++emsp430x148.c: $(srcdir)/emulparams/msp430x148.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x135 "$(tdir_msp430x135)" +-emsp430x133.c: $(srcdir)/emulparams/msp430x133.sh \ ++ ${GENSCRIPTS} msp430x148 "$(tdir_msp430x148)" ++emsp430x149.c: $(srcdir)/emulparams/msp430x149.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x133 "$(tdir_msp430x133)" +-emsp430x110.c: $(srcdir)/emulparams/msp430x110.sh \ ++ ${GENSCRIPTS} msp430x149 "$(tdir_msp430x149)" ++emsp430x155.c: $(srcdir)/emulparams/msp430x155.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x110 "$(tdir_msp430x110)" +-emsp430x112.c: $(srcdir)/emulparams/msp430x112.sh \ ++ ${GENSCRIPTS} msp430x155 "$(tdir_msp430x155)" ++emsp430x156.c: $(srcdir)/emulparams/msp430x156.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x112 "$(tdir_msp430x112)" +-emsp430x122.c: $(srcdir)/emulparams/msp430x122.sh \ ++ ${GENSCRIPTS} msp430x156 "$(tdir_msp430x156)" ++emsp430x157.c: $(srcdir)/emulparams/msp430x157.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x122 "$(tdir_msp430x122)" +-emsp430x1222.c: $(srcdir)/emulparams/msp430x1222.sh \ ++ ${GENSCRIPTS} msp430x157 "$(tdir_msp430x157)" ++emsp430x167.c: $(srcdir)/emulparams/msp430x167.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x1222 "$(tdir_msp430x1222)" +-emsp430x123.c: $(srcdir)/emulparams/msp430x123.sh \ ++ ${GENSCRIPTS} msp430x167 "$(tdir_msp430x167)" ++emsp430x168.c: $(srcdir)/emulparams/msp430x167.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x123 "$(tdir_msp430x123)" +-emsp430x1232.c: $(srcdir)/emulparams/msp430x1232.sh \ ++ ${GENSCRIPTS} msp430x168 "$(tdir_msp430x168)" ++emsp430x169.c: $(srcdir)/emulparams/msp430x169.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x1232 "$(tdir_msp430x1232)" ++ ${GENSCRIPTS} msp430x169 "$(tdir_msp430x169)" + emsp430x311.c: $(srcdir)/emulparams/msp430x311.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \ + ${GEN_DEPENDS} + ${GENSCRIPTS} msp430x311 "$(tdir_msp430x311)" + emsp430x312.c: $(srcdir)/emulparams/msp430x312.sh \ +@@ -1870,46 +1881,66 @@ + ${GENSCRIPTS} msp430x336 "$(tdir_msp430x336)" + emsp430x337.c: $(srcdir)/emulparams/msp430x337.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430_3.sc \ + ${GEN_DEPENDS} + ${GENSCRIPTS} msp430x337 "$(tdir_msp430x337)" +-emsp430x435.c: $(srcdir)/emulparams/msp430x435.sh \ ++emsp430x412.c: $(srcdir)/emulparams/msp430x412.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x435 "$(tdir_msp430x435)" +-emsp430x436.c: $(srcdir)/emulparams/msp430x436.sh \ ++ ${GENSCRIPTS} msp430x412 "$(tdir_msp430x412)" ++emsp430x413.c: $(srcdir)/emulparams/msp430x413.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x436 "$(tdir_msp430x436)" +-emsp430x437.c: $(srcdir)/emulparams/msp430x437.sh \ ++ ${GENSCRIPTS} msp430x413 "$(tdir_msp430x413)" ++emsp430xE423.c: $(srcdir)/emulparams/msp430xE423.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x437 "$(tdir_msp430x437)" +-emsp430x167.c: $(srcdir)/emulparams/msp430x167.sh \ ++ ${GENSCRIPTS} msp430xE423 "$(tdir_msp430xE423)" ++emsp430xE425.c: $(srcdir)/emulparams/msp430xE425.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x167 "$(tdir_msp430x167)" +-emsp430x168.c: $(srcdir)/emulparams/msp430x167.sh \ ++ ${GENSCRIPTS} msp430xE425 "$(tdir_msp430xE425)" ++emsp430xE427.c: $(srcdir)/emulparams/msp430xE427.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x168 "$(tdir_msp430x168)" +-emsp430x169.c: $(srcdir)/emulparams/msp430x169.sh \ ++ ${GENSCRIPTS} msp430xE427 "$(tdir_msp430xE427)" ++emsp430xW423.c: $(srcdir)/emulparams/msp430xW423.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x169 "$(tdir_msp430x169)" +-emsp430x155.c: $(srcdir)/emulparams/msp430x155.sh \ ++ ${GENSCRIPTS} msp430xW423 "$(tdir_msp430xW423)" ++emsp430xW425.c: $(srcdir)/emulparams/msp430xW425.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x155 "$(tdir_msp430x155)" +-emsp430x156.c: $(srcdir)/emulparams/msp430x156.sh \ ++ ${GENSCRIPTS} msp430xW425 "$(tdir_msp430xW425)" ++emsp430xW427.c: $(srcdir)/emulparams/msp430xW427.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x156 "$(tdir_msp430x156)" +-emsp430x157.c: $(srcdir)/emulparams/msp430x157.sh \ ++ ${GENSCRIPTS} msp430xW427 "$(tdir_msp430xW427)" ++emsp430x435.c: $(srcdir)/emulparams/msp430x435.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ + ${GEN_DEPENDS} +- ${GENSCRIPTS} msp430x157 "$(tdir_msp430x157)" ++ ${GENSCRIPTS} msp430x435 "$(tdir_msp430x435)" ++emsp430x436.c: $(srcdir)/emulparams/msp430x436.sh \ ++ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ ++ ${GEN_DEPENDS} ++ ${GENSCRIPTS} msp430x436 "$(tdir_msp430x436)" ++emsp430x437.c: $(srcdir)/emulparams/msp430x437.sh \ ++ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ ++ ${GEN_DEPENDS} ++ ${GENSCRIPTS} msp430x437 "$(tdir_msp430x437)" ++emsp430x447.c: $(srcdir)/emulparams/msp430x447.sh \ ++ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ ++ ${GEN_DEPENDS} ++ ${GENSCRIPTS} msp430x447 "$(tdir_msp430x447)" ++emsp430x448.c: $(srcdir)/emulparams/msp430x448.sh \ ++ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ ++ ${GEN_DEPENDS} ++ ${GENSCRIPTS} msp430x448 "$(tdir_msp430x448)" ++emsp430x449.c: $(srcdir)/emulparams/msp430x449.sh \ ++ $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/elf32msp430.sc \ ++ ${GEN_DEPENDS} ++ ${GENSCRIPTS} msp430x449 "$(tdir_msp430x449)" + enews.c: $(srcdir)/emulparams/news.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} + ${GENSCRIPTS} news "$(tdir_news)" + ens32knbsd.c: $(srcdir)/emulparams/ns32knbsd.sh \ + $(srcdir)/emultempl/generic.em $(srcdir)/scripttempl/aout.sc ${GEN_DEPENDS} + diff --git a/devel/msp430-binutils/files/patch-ld::configure.tgt b/devel/msp430-binutils/files/patch-ld::configure.tgt new file mode 100644 index 000000000000..ba0804b7dc29 --- /dev/null +++ b/devel/msp430-binutils/files/patch-ld::configure.tgt @@ -0,0 +1,23 @@ +--- ld/configure.tgt 2003-06-12 22:25:52.000000000 +0800 ++++ ld/configure.tgt 2003-08-06 01:53:13.000000000 +0800 +@@ -427,12 +427,12 @@ + mmix-*-*) targ_emul=mmo + targ_extra_emuls=elf64mmix + ;; + mn10200-*-*) targ_emul=mn10200 ;; + mn10300-*-*) targ_emul=mn10300 ;; +-msp430-*-*) targ_emul=msp430x149 +- targ_extra_emuls="msp430x148 msp430x147 msp430x133 msp430x135 msp430x110 msp430x112 msp430x122 msp430x123 msp430x412 msp430x413 msp430x311 msp430x312 msp430x313 msp430x314 msp430x315 msp430x323 msp430x325 msp430x336 msp430x337 msp430x1101 msp430x1111 msp430x1121 msp430x1331 msp430x1351 msp430x435 msp430x436 msp430x437 msp430x447 msp430x448 msp430x449 msp430x1222 msp430x1232 msp430x169 msp430x168 msp430x167 msp430x155 msp430x156 msp430x157 msp430x1122 msp430x1132" ;; ++msp430-*-*) targ_emul=msp430x110 ++ targ_extra_emuls="msp430x112 msp430x1101 msp430x1111 msp430x1121 msp430x1122 msp430x1132 msp430x122 msp430x123 msp430x1222 msp430x1232 msp430x133 msp430x135 msp430x1331 msp430x1351 msp430x147 msp430x148 msp430x149 msp430x155 msp430x156 msp430x157 msp430x167 msp430x168 msp430x169 msp430x311 msp430x312 msp430x313 msp430x314 msp430x315 msp430x323 msp430x325 msp430x336 msp430x337 msp430x412 msp430x413 msp430xE423 msp430xE425 msp430xE427 msp430xW423 msp430xW425 msp430xW427 msp430x435 msp430x436 msp430x437 msp430x447 msp430x448 msp430x449" ;; + alpha*-*-freebsd*) targ_emul=elf64alpha_fbsd + targ_extra_emuls="elf64alpha alpha" + tdir_alpha=`echo ${targ_alias} | sed -e 's/freebsd/freebsdecoff/'` + ;; + alpha*-*-linuxecoff*) targ_emul=alpha targ_extra_emuls=elf64alpha +Only in ld/emulparams: msp430xE423.sh +Only in ld/emulparams: msp430xE425.sh +Only in ld/emulparams: msp430xE427.sh +Only in ld/emulparams: msp430xW423.sh +Only in ld/emulparams: msp430xW425.sh +Only in ld/emulparams: msp430xW427.sh diff --git a/devel/msp430-binutils/files/patch-ld::emulparams::msp430xE423.sh b/devel/msp430-binutils/files/patch-ld::emulparams::msp430xE423.sh new file mode 100644 index 000000000000..52d6d5c1fc58 --- /dev/null +++ b/devel/msp430-binutils/files/patch-ld::emulparams::msp430xE423.sh @@ -0,0 +1,17 @@ +--- /dev/null Mon Aug 11 17:56:44 2003 ++++ ld/emulparams/msp430xE423.sh Mon Aug 11 17:54:56 2003 +@@ -0,0 +1,14 @@ ++ARCH=msp:42 ++MACHINE= ++SCRIPT_NAME=elf32msp430 ++OUTPUT_FORMAT="elf32-msp430" ++MAXPAGESIZE=1 ++EMBEDDED=yes ++TEMPLATE_NAME=generic ++ ++ROM_START=0xe000 ++ROM_SIZE=0x1fe0 ++RAM_START=0x0200 ++RAM_SIZE=256 ++ ++STACK=0x300 diff --git a/devel/msp430-binutils/files/patch-ld::emulparams::msp430xE425.sh b/devel/msp430-binutils/files/patch-ld::emulparams::msp430xE425.sh new file mode 100644 index 000000000000..81991d8c6ebc --- /dev/null +++ b/devel/msp430-binutils/files/patch-ld::emulparams::msp430xE425.sh @@ -0,0 +1,17 @@ +--- /dev/null Mon Aug 11 17:56:44 2003 ++++ ld/emulparams/msp430xE425.sh Mon Aug 11 17:55:51 2003 +@@ -0,0 +1,14 @@ ++ARCH=msp:42 ++MACHINE= ++SCRIPT_NAME=elf32msp430 ++OUTPUT_FORMAT="elf32-msp430" ++MAXPAGESIZE=1 ++EMBEDDED=yes ++TEMPLATE_NAME=generic ++ ++ROM_START=0xc000 ++ROM_SIZE=0x3fe0 ++RAM_START=0x0200 ++RAM_SIZE=512 ++ ++STACK=0x400 diff --git a/devel/msp430-binutils/files/patch-ld::emulparams::msp430xE427.sh b/devel/msp430-binutils/files/patch-ld::emulparams::msp430xE427.sh new file mode 100644 index 000000000000..0ae92a219f75 --- /dev/null +++ b/devel/msp430-binutils/files/patch-ld::emulparams::msp430xE427.sh @@ -0,0 +1,17 @@ +--- /dev/null Mon Aug 11 17:56:44 2003 ++++ ld/emulparams/msp430xE427.sh Mon Aug 11 17:56:00 2003 +@@ -0,0 +1,14 @@ ++ARCH=msp:42 ++MACHINE= ++SCRIPT_NAME=elf32msp430 ++OUTPUT_FORMAT="elf32-msp430" ++MAXPAGESIZE=1 ++EMBEDDED=yes ++TEMPLATE_NAME=generic ++ ++ROM_START=0x8000 ++ROM_SIZE=0x7fe0 ++RAM_START=0x0200 ++RAM_SIZE=1K ++ ++STACK=0x600 diff --git a/devel/msp430-binutils/files/patch-ld::emulparams::msp430xW423.sh b/devel/msp430-binutils/files/patch-ld::emulparams::msp430xW423.sh new file mode 100644 index 000000000000..611e088203ed --- /dev/null +++ b/devel/msp430-binutils/files/patch-ld::emulparams::msp430xW423.sh @@ -0,0 +1,17 @@ +--- /dev/null Mon Aug 11 17:56:44 2003 ++++ ld/emulparams/msp430xW423.sh Mon Aug 11 17:56:07 2003 +@@ -0,0 +1,14 @@ ++ARCH=msp:42 ++MACHINE= ++SCRIPT_NAME=elf32msp430 ++OUTPUT_FORMAT="elf32-msp430" ++MAXPAGESIZE=1 ++EMBEDDED=yes ++TEMPLATE_NAME=generic ++ ++ROM_START=0xe000 ++ROM_SIZE=0x1fe0 ++RAM_START=0x0200 ++RAM_SIZE=256 ++ ++STACK=0x300 diff --git a/devel/msp430-binutils/files/patch-ld::emulparams::msp430xW425.sh b/devel/msp430-binutils/files/patch-ld::emulparams::msp430xW425.sh new file mode 100644 index 000000000000..9d0447607b2c --- /dev/null +++ b/devel/msp430-binutils/files/patch-ld::emulparams::msp430xW425.sh @@ -0,0 +1,17 @@ +--- /dev/null Mon Aug 11 17:56:44 2003 ++++ ld/emulparams/msp430xW425.sh Mon Aug 11 17:56:24 2003 +@@ -0,0 +1,14 @@ ++ARCH=msp:42 ++MACHINE= ++SCRIPT_NAME=elf32msp430 ++OUTPUT_FORMAT="elf32-msp430" ++MAXPAGESIZE=1 ++EMBEDDED=yes ++TEMPLATE_NAME=generic ++ ++ROM_START=0xc000 ++ROM_SIZE=0x3fe0 ++RAM_START=0x0200 ++RAM_SIZE=512 ++ ++STACK=0x400 diff --git a/devel/msp430-binutils/files/patch-ld::emulparams::msp430xW427.sh b/devel/msp430-binutils/files/patch-ld::emulparams::msp430xW427.sh new file mode 100644 index 000000000000..4c3589439769 --- /dev/null +++ b/devel/msp430-binutils/files/patch-ld::emulparams::msp430xW427.sh @@ -0,0 +1,17 @@ +--- /dev/null Mon Aug 11 17:56:44 2003 ++++ ld/emulparams/msp430xW427.sh Mon Aug 11 17:56:33 2003 +@@ -0,0 +1,14 @@ ++ARCH=msp:42 ++MACHINE= ++SCRIPT_NAME=elf32msp430 ++OUTPUT_FORMAT="elf32-msp430" ++MAXPAGESIZE=1 ++EMBEDDED=yes ++TEMPLATE_NAME=generic ++ ++ROM_START=0x8000 ++ROM_SIZE=0x7fe0 ++RAM_START=0x0200 ++RAM_SIZE=1K ++ ++STACK=0x600 diff --git a/devel/msp430-binutils/files/patch-ld::ld.1 b/devel/msp430-binutils/files/patch-ld::ld.1 new file mode 100644 index 000000000000..3130a9b43099 --- /dev/null +++ b/devel/msp430-binutils/files/patch-ld::ld.1 @@ -0,0 +1,15 @@ +--- ld/ld.1 2003-06-12 22:33:10.000000000 +0800 ++++ ld/ld.1 2003-08-06 01:51:10.000000000 +0800 +@@ -126,11 +126,11 @@ + .\} + .rm #[ #] #H #V #F C + .\" ======================================================================== + .\" + .IX Title "LD 1" +-.TH LD 1 "2003-06-12" "binutils-2.14" "GNU Development Tools" ++.TH LD 1 "2003-06-14" "binutils-2.14" "GNU Development Tools" + .SH "NAME" + ld \- Using LD, the GNU linker + .SH "SYNOPSIS" + .IX Header "SYNOPSIS" + ld [\fBoptions\fR] \fIobjfile\fR ... diff --git a/devel/msp430-binutils/pkg-plist b/devel/msp430-binutils/pkg-plist index 0a8f840e3d83..9df1201666ac 100644 --- a/devel/msp430-binutils/pkg-plist +++ b/devel/msp430-binutils/pkg-plist @@ -1,4 +1,4 @@ -@comment $FreeBSD: /tmp/pcvs/ports/devel/msp430-binutils/pkg-plist,v 1.3 2003-06-25 11:16:23 lev Exp $ +@comment $FreeBSD: /tmp/pcvs/ports/devel/msp430-binutils/pkg-plist,v 1.4 2003-08-12 08:49:48 lev Exp $ %%BINUTILS_TARG%%/bin/addr2line %%BINUTILS_TARG%%/bin/ar %%BINUTILS_TARG%%/bin/as @@ -187,6 +187,36 @@ %%BINUTILS_TARG%%/lib/ldscripts/msp430x413.xn %%BINUTILS_TARG%%/lib/ldscripts/msp430x413.xr %%BINUTILS_TARG%%/lib/ldscripts/msp430x413.xu +%%BINUTILS_TARG%%/lib/ldscripts/msp430xE423.x +%%BINUTILS_TARG%%/lib/ldscripts/msp430xE423.xbn +%%BINUTILS_TARG%%/lib/ldscripts/msp430xE423.xn +%%BINUTILS_TARG%%/lib/ldscripts/msp430xE423.xr +%%BINUTILS_TARG%%/lib/ldscripts/msp430xE423.xu +%%BINUTILS_TARG%%/lib/ldscripts/msp430xE425.x +%%BINUTILS_TARG%%/lib/ldscripts/msp430xE425.xbn +%%BINUTILS_TARG%%/lib/ldscripts/msp430xE425.xn +%%BINUTILS_TARG%%/lib/ldscripts/msp430xE425.xr +%%BINUTILS_TARG%%/lib/ldscripts/msp430xE425.xu +%%BINUTILS_TARG%%/lib/ldscripts/msp430xE427.x +%%BINUTILS_TARG%%/lib/ldscripts/msp430xE427.xbn +%%BINUTILS_TARG%%/lib/ldscripts/msp430xE427.xn +%%BINUTILS_TARG%%/lib/ldscripts/msp430xE427.xr +%%BINUTILS_TARG%%/lib/ldscripts/msp430xE427.xu +%%BINUTILS_TARG%%/lib/ldscripts/msp430xW423.x +%%BINUTILS_TARG%%/lib/ldscripts/msp430xW423.xbn +%%BINUTILS_TARG%%/lib/ldscripts/msp430xW423.xn +%%BINUTILS_TARG%%/lib/ldscripts/msp430xW423.xr +%%BINUTILS_TARG%%/lib/ldscripts/msp430xW423.xu +%%BINUTILS_TARG%%/lib/ldscripts/msp430xW425.x +%%BINUTILS_TARG%%/lib/ldscripts/msp430xW425.xbn +%%BINUTILS_TARG%%/lib/ldscripts/msp430xW425.xn +%%BINUTILS_TARG%%/lib/ldscripts/msp430xW425.xr +%%BINUTILS_TARG%%/lib/ldscripts/msp430xW425.xu +%%BINUTILS_TARG%%/lib/ldscripts/msp430xW427.x +%%BINUTILS_TARG%%/lib/ldscripts/msp430xW427.xbn +%%BINUTILS_TARG%%/lib/ldscripts/msp430xW427.xn +%%BINUTILS_TARG%%/lib/ldscripts/msp430xW427.xr +%%BINUTILS_TARG%%/lib/ldscripts/msp430xW427.xu %%BINUTILS_TARG%%/lib/ldscripts/msp430x435.x %%BINUTILS_TARG%%/lib/ldscripts/msp430x435.xbn %%BINUTILS_TARG%%/lib/ldscripts/msp430x435.xn |