diff options
author | Joerg Wunsch <joerg@FreeBSD.org> | 2005-06-30 22:19:42 +0000 |
---|---|---|
committer | Joerg Wunsch <joerg@FreeBSD.org> | 2005-06-30 22:19:42 +0000 |
commit | 3d548a99a88241a78fa3837c62ac18b4534ead1d (patch) | |
tree | d20e2052f2e1433dde6ba45253179e96984a29e4 /devel/avr-binutils | |
parent | 7630ae2158a5804d637825d63d773bed13fb27a0 (diff) | |
download | ports-3d548a99a88241a78fa3837c62ac18b4534ead1d.tar.gz ports-3d548a99a88241a78fa3837c62ac18b4534ead1d.zip |
Notes
Diffstat (limited to 'devel/avr-binutils')
-rw-r--r-- | devel/avr-binutils/Makefile | 3 | ||||
-rw-r--r-- | devel/avr-binutils/distinfo | 4 | ||||
-rw-r--r-- | devel/avr-binutils/files/patch-aa | 46 | ||||
-rw-r--r-- | devel/avr-binutils/files/patch-coff-avr | 230 | ||||
-rw-r--r-- | devel/avr-binutils/files/patch-mega08-tinyx13-can128 | 97 | ||||
-rw-r--r-- | devel/avr-binutils/files/patch-mega325x-mega645x | 19 | ||||
-rw-r--r-- | devel/avr-binutils/files/patch-megaX1280 | 12 | ||||
-rw-r--r-- | devel/avr-binutils/files/patch-no-lma-eeprom | 15 |
8 files changed, 149 insertions, 277 deletions
diff --git a/devel/avr-binutils/Makefile b/devel/avr-binutils/Makefile index 6a0f1f9c9848..afadd322d6b2 100644 --- a/devel/avr-binutils/Makefile +++ b/devel/avr-binutils/Makefile @@ -6,8 +6,7 @@ # PORTNAME= binutils -PORTVERSION= 2.15 -PORTREVISION= 4 +PORTVERSION= 2.16 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEWARE} MASTER_SITE_SUBDIR= binutils/releases diff --git a/devel/avr-binutils/distinfo b/devel/avr-binutils/distinfo index c0456547f495..dd0d353d6d15 100644 --- a/devel/avr-binutils/distinfo +++ b/devel/avr-binutils/distinfo @@ -1,2 +1,2 @@ -MD5 (binutils-2.15.tar.bz2) = 624e6b74983ac6b2960edaf2d522ca58 -SIZE (binutils-2.15.tar.bz2) = 11515075 +MD5 (binutils-2.16.tar.bz2) = bcb9fabaf0eaf91bd38c4ee148658df8 +SIZE (binutils-2.16.tar.bz2) = 12514443 diff --git a/devel/avr-binutils/files/patch-aa b/devel/avr-binutils/files/patch-aa index dec1d7957ba5..05a50523a71e 100644 --- a/devel/avr-binutils/files/patch-aa +++ b/devel/avr-binutils/files/patch-aa @@ -1,6 +1,6 @@ ---- libiberty/Makefile.in.orig Mon Mar 4 23:01:26 2002 -+++ libiberty/Makefile.in Tue Jun 4 15:57:42 2002 -@@ -253,7 +253,8 @@ +--- libiberty/Makefile.in.orig Tue Mar 8 00:20:07 2005 ++++ libiberty/Makefile.in Thu Jun 30 22:37:45 2005 +@@ -270,7 +270,8 @@ @MAINT@ echo stamp > stamp-functions INSTALL_DEST = @INSTALL_DEST@ @@ -9,34 +9,34 @@ +install: install_to_libdir: all - $(INSTALL_DATA) $(TARGETLIB) $(libdir)$(MULTISUBDIR)/$(TARGETLIB)n ---- bfd/Makefile.in.orig Fri May 31 04:59:46 2002 -+++ bfd/Makefile.in Tue Jun 4 15:58:06 2002 -@@ -1047,7 +1047,8 @@ - - install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am + ${mkinstalldirs} $(DESTDIR)$(libdir)$(MULTISUBDIR) +--- bfd/Makefile.in.orig Mon May 2 21:45:46 2005 ++++ bfd/Makefile.in Thu Jun 30 22:39:28 2005 +@@ -1137,7 +1137,8 @@ + for dir in "$(DESTDIR)$(bfdlibdir)"; do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ + done -install: install-recursive +#install: install-recursive +install: - uninstall-am: uninstall-bfdlibLTLIBRARIES + install-exec: install-exec-recursive + install-data: install-data-recursive uninstall: uninstall-recursive - all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) config.h ---- opcodes/Makefile.in.orig Tue Jun 4 15:59:05 2002 -+++ opcodes/Makefile.in Tue Jun 4 15:58:47 2002 -@@ -702,7 +702,8 @@ - - install-am: all-am - @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am +--- opcodes/Makefile.in.orig Mon Feb 21 12:48:33 2005 ++++ opcodes/Makefile.in Thu Jun 30 22:39:18 2005 +@@ -781,7 +781,8 @@ + for dir in "$(DESTDIR)$(bfdlibdir)"; do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ + done -install: install-recursive +#install: install-recursive +install: - uninstall-am: uninstall-bfdlibLTLIBRARIES + install-exec: install-exec-recursive + install-data: install-data-recursive uninstall: uninstall-recursive - all-am: Makefile $(LIBRARIES) $(LTLIBRARIES) config.h ---- etc/Makefile.in.orig Sat Jan 26 22:35:45 2002 -+++ etc/Makefile.in Tue Jun 4 16:50:05 2002 -@@ -52,7 +52,8 @@ +--- etc/Makefile.in.orig Thu Jan 2 21:51:02 2003 ++++ etc/Makefile.in Thu Jun 30 22:37:45 2005 +@@ -54,7 +54,8 @@ all: # We want install to imply install-info as per GNU standards. diff --git a/devel/avr-binutils/files/patch-coff-avr b/devel/avr-binutils/files/patch-coff-avr index 37ff6693c54c..25994d219069 100644 --- a/devel/avr-binutils/files/patch-coff-avr +++ b/devel/avr-binutils/files/patch-coff-avr @@ -1,6 +1,6 @@ ---- ./binutils/doc/objcopy.1.orig Fri Apr 9 21:32:16 2004 -+++ ./binutils/doc/objcopy.1 Wed Jun 16 22:50:00 2004 -@@ -185,6 +185,8 @@ +--- ./binutils/doc/objcopy.1.orig Wed Apr 20 20:49:51 2005 ++++ ./binutils/doc/objcopy.1 Thu Jun 30 22:41:15 2005 +@@ -187,6 +187,8 @@ [\fB\-\-readonly\-text\fR] [\fB\-\-pure\fR] [\fB\-\-impure\fR] @@ -9,7 +9,7 @@ [\fB\-v\fR|\fB\-\-verbose\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fB\-\-help\fR] [\fB\-\-info\fR] -@@ -711,6 +713,23 @@ +@@ -723,6 +725,23 @@ full executable. It does not have to be a file created by the \&\fB\-\-only\-keep\-debug\fR switch. .RE @@ -33,8 +33,8 @@ .IP "\fB\-V\fR" 4 .IX Item "-V" .PD 0 ---- ./binutils/Makefile.am.orig Fri Nov 28 05:58:41 2003 -+++ ./binutils/Makefile.am Wed Jun 16 22:41:11 2004 +--- ./binutils/Makefile.am.orig Tue Feb 22 13:57:26 2005 ++++ ./binutils/Makefile.am Thu Jun 30 22:41:15 2005 @@ -95,14 +95,14 @@ rdcoff.c rddbg.c readelf.c rename.c \ resbin.c rescoff.c resrc.c resres.c \ @@ -52,9 +52,9 @@ # Code shared by all the binutils. BULIBS = bucomm.c version.c filemode.c ---- ./binutils/Makefile.in.orig Fri Nov 28 05:58:41 2003 -+++ ./binutils/Makefile.in Wed Jun 16 22:41:11 2004 -@@ -207,7 +207,7 @@ +--- ./binutils/Makefile.in.orig Tue Feb 22 13:57:27 2005 ++++ ./binutils/Makefile.in Thu Jun 30 22:41:15 2005 +@@ -218,7 +218,7 @@ rdcoff.c rddbg.c readelf.c rename.c \ resbin.c rescoff.c resrc.c resres.c \ size.c srconv.c stabs.c strings.c sysdump.c version.c \ @@ -63,7 +63,7 @@ GENERATED_CFILES = \ -@@ -216,7 +216,7 @@ +@@ -227,7 +227,7 @@ DEBUG_SRCS = rddbg.c debug.c stabs.c ieee.c rdcoff.c @@ -72,7 +72,7 @@ # Code shared by all the binutils. BULIBS = bucomm.c version.c filemode.c -@@ -396,7 +396,7 @@ +@@ -407,7 +407,7 @@ ranlib_LDFLAGS = objcopy_OBJECTS = objcopy.$(OBJEXT) not-strip.$(OBJEXT) \ rename.$(OBJEXT) rddbg.$(OBJEXT) debug.$(OBJEXT) stabs.$(OBJEXT) \ @@ -81,7 +81,7 @@ version.$(OBJEXT) filemode.$(OBJEXT) objcopy_LDADD = $(LDADD) objcopy_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a -@@ -417,7 +417,7 @@ +@@ -428,7 +428,7 @@ nm_new_LDFLAGS = strip_new_OBJECTS = objcopy.$(OBJEXT) is-strip.$(OBJEXT) \ rename.$(OBJEXT) rddbg.$(OBJEXT) debug.$(OBJEXT) stabs.$(OBJEXT) \ @@ -91,7 +91,7 @@ strip_new_LDADD = $(LDADD) strip_new_DEPENDENCIES = ../bfd/libbfd.la ../libiberty/libiberty.a --- ./binutils/bucomm.c.orig Fri Nov 7 13:19:34 2003 -+++ ./binutils/bucomm.c Wed Jun 16 22:41:11 2004 ++++ ./binutils/bucomm.c Thu Jun 30 22:41:15 2005 @@ -451,6 +451,32 @@ return ret; } @@ -125,8 +125,8 @@ /* Returns the size of the named file. If the file does not exist, or if it is not a real file, then a suitable non-fatal error message is printed and zero is returned. */ ---- ./binutils/bucomm.h.orig Fri Nov 7 13:19:34 2003 -+++ ./binutils/bucomm.h Wed Jun 16 22:41:11 2004 +--- ./binutils/bucomm.h.orig Thu Mar 3 12:46:12 2005 ++++ ./binutils/bucomm.h Thu Jun 30 22:41:15 2005 @@ -176,6 +176,8 @@ off_t get_file_size (const char *); @@ -137,7 +137,7 @@ /* filemode.c */ --- ./binutils/budbg.h.orig Sun Sep 14 14:20:16 2003 -+++ ./binutils/budbg.h Wed Jun 16 22:44:07 2004 ++++ ./binutils/budbg.h Thu Jun 30 22:41:15 2005 @@ -51,8 +51,11 @@ extern bfd_boolean write_ieee_debugging_info (bfd *, void *); @@ -151,9 +151,9 @@ + (bfd *abfd, void *, long *symcountp, asymbol ***); #endif ---- ./binutils/debug.c.orig Mon Oct 27 14:20:32 2003 -+++ ./binutils/debug.c Wed Jun 16 22:53:52 2004 -@@ -552,6 +552,19 @@ +--- ./binutils/debug.c.orig Thu Mar 3 12:46:12 2005 ++++ ./binutils/debug.c Thu Jun 30 22:41:15 2005 +@@ -553,6 +553,19 @@ struct debug_type *t; }; @@ -173,7 +173,7 @@ /* Local functions. */ static void debug_error (const char *); -@@ -588,6 +601,11 @@ +@@ -589,6 +602,11 @@ (struct debug_handle *, struct debug_type *, struct debug_type *); static bfd_boolean debug_class_type_samep (struct debug_handle *, struct debug_type *, struct debug_type *); @@ -185,7 +185,7 @@ /* Issue an error message. */ -@@ -680,6 +698,8 @@ +@@ -681,6 +699,8 @@ if (name == NULL) name = ""; @@ -194,7 +194,7 @@ nfile = (struct debug_file *) xmalloc (sizeof *nfile); memset (nfile, 0, sizeof *nfile); -@@ -720,6 +740,8 @@ +@@ -721,6 +741,8 @@ if (name == NULL) name = ""; @@ -203,7 +203,7 @@ if (info->current_unit == NULL) { -@@ -3369,4 +3391,70 @@ +@@ -3370,4 +3392,70 @@ } return TRUE; @@ -275,7 +275,7 @@ + return oname; } --- ./binutils/debug.h.orig Mon Oct 27 14:20:32 2003 -+++ ./binutils/debug.h Wed Jun 16 22:41:12 2004 ++++ ./binutils/debug.h Thu Jun 30 22:41:15 2005 @@ -440,6 +440,12 @@ extern bfd_boolean debug_start_source (void *, const char *); @@ -289,9 +289,9 @@ /* Record a function definition. This implicitly starts a function block. The debug_type argument is the type of the return value. The bfd_boolean indicates whether the function is globally visible. ---- ./binutils/objcopy.c.orig Mon May 17 21:35:51 2004 -+++ ./binutils/objcopy.c Wed Jun 16 22:52:52 2004 -@@ -246,7 +246,9 @@ +--- ./binutils/objcopy.c.orig Thu Mar 3 12:46:12 2005 ++++ ./binutils/objcopy.c Thu Jun 30 22:44:07 2005 +@@ -249,7 +249,9 @@ OPTION_READONLY_TEXT, OPTION_WRITABLE_TEXT, OPTION_PURE, @@ -302,7 +302,7 @@ }; /* Options to handle if running as "strip". */ -@@ -289,10 +291,12 @@ +@@ -292,10 +294,12 @@ {"adjust-section-vma", required_argument, 0, OPTION_CHANGE_SECTION_ADDRESS}, {"adjust-warnings", no_argument, 0, OPTION_CHANGE_WARNINGS}, {"alt-machine-code", required_argument, 0, OPTION_ALT_MACH_CODE}, @@ -315,7 +315,7 @@ {"change-section-address", required_argument, 0, OPTION_CHANGE_SECTION_ADDRESS}, {"change-section-lma", required_argument, 0, OPTION_CHANGE_SECTION_LMA}, {"change-section-vma", required_argument, 0, OPTION_CHANGE_SECTION_VMA}, -@@ -456,6 +460,8 @@ +@@ -468,6 +472,8 @@ --prefix-alloc-sections <prefix>\n\ Add <prefix> to start of every allocatable\n\ section name\n\ @@ -324,7 +324,7 @@ -v --verbose List all object files modified\n\ -V --version Display this program's version number\n\ -h --help Display this output\n\ -@@ -792,6 +798,8 @@ +@@ -804,6 +810,8 @@ long src_count = 0, dst_count = 0; int relocatable = (abfd->flags & (HAS_RELOC | EXEC_P | DYNAMIC)) == HAS_RELOC; @@ -333,7 +333,7 @@ for (; src_count < symcount; src_count++) { -@@ -887,9 +895,10 @@ +@@ -899,9 +907,10 @@ || bfd_is_com_section (bfd_get_section (sym))) keep = strip_symbols != STRIP_UNNEEDED; else if ((flags & BSF_DEBUGGING) != 0) /* Debugging symbol. */ @@ -341,13 +341,13 @@ - && strip_symbols != STRIP_UNNEEDED - && ! convert_debugging); + keep = need_for_debugging -+ || (strip_symbols != STRIP_DEBUG ++ || (strip_symbols != STRIP_DEBUG + && strip_symbols != STRIP_UNNEEDED + && ! convert_debugging); - else if (bfd_get_section (sym)->comdat) + else if (bfd_coff_get_comdat_section (abfd, bfd_get_section (sym))) /* COMDAT sections store special information in local symbols, so we cannot risk stripping any of them. */ -@@ -2202,6 +2211,10 @@ +@@ -2243,6 +2252,10 @@ return write_ieee_debugging_info (obfd, dhandle); if (bfd_get_flavour (obfd) == bfd_target_coff_flavour @@ -358,7 +358,7 @@ || bfd_get_flavour (obfd) == bfd_target_elf_flavour) { bfd_byte *syms, *strings; -@@ -2864,6 +2877,30 @@ +@@ -2913,6 +2926,30 @@ case OPTION_PREFIX_ALLOC_SECTIONS: prefix_alloc_sections_string = optarg; @@ -389,8 +389,8 @@ break; case OPTION_READONLY_TEXT: ---- ./binutils/rdcoff.c.orig Sun Sep 14 14:20:16 2003 -+++ ./binutils/rdcoff.c Wed Jun 16 22:53:36 2004 +--- ./binutils/rdcoff.c.orig Thu Mar 3 12:46:12 2005 ++++ ./binutils/rdcoff.c Thu Jun 30 22:41:15 2005 @@ -80,6 +80,9 @@ struct coff_slots *slots; /* Basic types. */ @@ -534,8 +534,8 @@ if (ISFCN (syment.n_type)) { fnname = name; ---- ./binutils/wrcoff.c.orig Wed Jun 16 22:41:12 2004 -+++ ./binutils/wrcoff.c Wed Jun 16 22:41:12 2004 +--- ./binutils/wrcoff.c.orig Thu Jun 30 22:41:15 2005 ++++ ./binutils/wrcoff.c Thu Jun 30 22:41:15 2005 @@ -0,0 +1,3406 @@ +/* wrcoff.c -- Generate (AVR) COFF debugging information + Copyright 2003 Free Software Foundation, Inc. @@ -2279,7 +2279,7 @@ + csymp = info.secsyms[i]; + + aux = &((csymp->native + 1)->u.auxent); -+ aux->x_scn.x_scnlen = csymp->symbol.section->output_section->_raw_size; ++ aux->x_scn.x_scnlen = csymp->symbol.section->output_section->rawsize; + aux->x_scn.x_nreloc = csymp->symbol.section->reloc_count; + if (csymp->symbol.section == info.textsect) + aux->x_scn.x_nlinno = info.totlnos; @@ -3943,9 +3943,9 @@ + + return TRUE; +} ---- ./bfd/Makefile.am.orig Mon May 17 21:35:56 2004 -+++ ./bfd/Makefile.am Wed Jun 16 22:41:11 2004 -@@ -179,6 +179,8 @@ +--- ./bfd/Makefile.am.orig Mon May 2 21:45:42 2005 ++++ ./bfd/Makefile.am Thu Jun 30 23:23:09 2005 +@@ -188,6 +188,8 @@ coff-apollo.lo \ coff-arm.lo \ coff-aux.lo \ @@ -3954,7 +3954,7 @@ coff-h8300.lo \ coff-h8500.lo \ coff-i386.lo \ -@@ -344,6 +346,8 @@ +@@ -357,6 +359,8 @@ coff-apollo.c \ coff-arm.c \ coff-aux.c \ @@ -3963,7 +3963,20 @@ coff-h8300.c \ coff-h8500.c \ coff-i386.c \ -@@ -1023,6 +1027,12 @@ +@@ -882,10 +886,10 @@ + bfdver.h: $(srcdir)/version.h $(srcdir)/Makefile.in + @echo "creating $@" + @bfd_version=`echo "$(VERSION)" | sed -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\..*\(..\)\..*\(..\)\..*\(..\)$$/\1\2\3\4\5/'` ;\ +- bfd_version_string="\"$(VERSION)\"" ;\ ++ bfd_version_string="\"$(VERSION) + coff-avr-patch (20050630)\"" ;\ + if test "x$(RELEASE)" = x ; then \ + bfd_version_date=`sed -n -e 's/.*DATE //p' < $(srcdir)/version.h` ;\ +- bfd_version_string="\"$(VERSION) $${bfd_version_date}\"" ;\ ++ bfd_version_string="\"$(VERSION) $${bfd_version_date} + coff-avr-patch (20050630)\"" ;\ + fi ;\ + sed -e "s/@bfd_version@/$$bfd_version/" -e "s/@bfd_version_string@/$$bfd_version_string/" < $(srcdir)/version.h > $@ + +@@ -1055,6 +1059,12 @@ $(INCDIR)/coff/internal.h $(INCDIR)/coff/m68k.h $(INCDIR)/coff/external.h \ coff-m68k.c libcoff.h $(INCDIR)/bfdlink.h coffcode.h \ coffswap.h @@ -3976,9 +3989,9 @@ coff-h8300.lo: coff-h8300.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \ genlink.h $(INCDIR)/coff/h8300.h $(INCDIR)/coff/external.h \ $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/libiberty.h \ ---- ./bfd/Makefile.in.orig Wed Jun 16 22:41:11 2004 -+++ ./bfd/Makefile.in Wed Jun 16 22:41:11 2004 -@@ -309,6 +309,8 @@ +--- ./bfd/Makefile.in.orig Thu Jun 30 22:41:15 2005 ++++ ./bfd/Makefile.in Thu Jun 30 23:23:26 2005 +@@ -427,6 +427,8 @@ coff-apollo.lo \ coff-arm.lo \ coff-aux.lo \ @@ -3987,7 +4000,7 @@ coff-h8300.lo \ coff-h8500.lo \ coff-i386.lo \ -@@ -475,6 +477,8 @@ +@@ -596,6 +598,8 @@ coff-apollo.c \ coff-arm.c \ coff-aux.c \ @@ -3996,7 +4009,20 @@ coff-h8300.c \ coff-h8500.c \ coff-i386.c \ -@@ -1561,6 +1565,12 @@ +@@ -1451,10 +1455,10 @@ + bfdver.h: $(srcdir)/version.h $(srcdir)/Makefile.in + @echo "creating $@" + @bfd_version=`echo "$(VERSION)" | sed -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\..*\(..\)\..*\(..\)\..*\(..\)$$/\1\2\3\4\5/'` ;\ +- bfd_version_string="\"$(VERSION)\"" ;\ ++ bfd_version_string="\"$(VERSION) + coff-avr-patch (20050630)\"" ;\ + if test "x$(RELEASE)" = x ; then \ + bfd_version_date=`sed -n -e 's/.*DATE //p' < $(srcdir)/version.h` ;\ +- bfd_version_string="\"$(VERSION) $${bfd_version_date}\"" ;\ ++ bfd_version_string="\"$(VERSION) $${bfd_version_date} + coff-avr-patch (20050630)\"" ;\ + fi ;\ + sed -e "s/@bfd_version@/$$bfd_version/" -e "s/@bfd_version_string@/$$bfd_version_string/" < $(srcdir)/version.h > $@ + +@@ -1624,6 +1628,12 @@ $(INCDIR)/coff/internal.h $(INCDIR)/coff/m68k.h $(INCDIR)/coff/external.h \ coff-m68k.c libcoff.h $(INCDIR)/bfdlink.h coffcode.h \ coffswap.h @@ -4009,8 +4035,8 @@ coff-h8300.lo: coff-h8300.c $(INCDIR)/filenames.h $(INCDIR)/bfdlink.h \ genlink.h $(INCDIR)/coff/h8300.h $(INCDIR)/coff/external.h \ $(INCDIR)/coff/internal.h libcoff.h $(INCDIR)/libiberty.h \ ---- ./bfd/coff-avr.c.orig Wed Jun 16 22:41:11 2004 -+++ ./bfd/coff-avr.c Wed Jun 16 22:41:11 2004 +--- ./bfd/coff-avr.c.orig Thu Jun 30 22:41:15 2005 ++++ ./bfd/coff-avr.c Thu Jun 30 22:41:15 2005 @@ -0,0 +1,609 @@ +/* BFD back-end for Atmel AVR COFF files. + Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1999, 2000, 2001, 2003 @@ -4621,8 +4647,8 @@ + + COFF_SWAP_TABLE +}; ---- ./bfd/coff-ext-avr.c.orig Wed Jun 16 22:41:11 2004 -+++ ./bfd/coff-ext-avr.c Wed Jun 16 22:41:11 2004 +--- ./bfd/coff-ext-avr.c.orig Thu Jun 30 22:41:15 2005 ++++ ./bfd/coff-ext-avr.c Thu Jun 30 22:41:15 2005 @@ -0,0 +1,424 @@ +/* BFD back-end for Atmel AVR "extended" COFF files. + Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1999, 2000, 2001, 2003 @@ -5048,14 +5074,14 @@ + + COFF_SWAP_TABLE +}; ---- ./bfd/coffcode.h.orig Fri Dec 19 11:01:59 2003 -+++ ./bfd/coffcode.h Wed Jun 16 22:41:11 2004 +--- ./bfd/coffcode.h.orig Thu Feb 24 21:16:55 2005 ++++ ./bfd/coffcode.h Thu Jun 30 22:41:15 2005 @@ -1,3 +1,4 @@ + /* Support for the generic parts of most COFF variants, for BFD. Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, - 2000, 2001, 2002, 2003 -@@ -1787,6 +1788,17 @@ + 2000, 2001, 2002, 2003, 2004, 2005 +@@ -1802,6 +1803,17 @@ coff->relocbase = 0; coff->local_toc_sym_map = 0; @@ -5073,7 +5099,7 @@ /* make_abs_section(abfd);*/ return TRUE; -@@ -1812,17 +1824,6 @@ +@@ -1827,17 +1839,6 @@ coff->sym_filepos = internal_f->f_symptr; @@ -5091,7 +5117,7 @@ coff->timestamp = internal_f->f_timdat; obj_raw_syment_count (abfd) = -@@ -1951,6 +1952,11 @@ +@@ -1966,6 +1967,11 @@ } break; #endif @@ -5103,7 +5129,7 @@ #ifdef MC68MAGIC case MC68MAGIC: case M68MAGIC: -@@ -2736,6 +2742,12 @@ +@@ -2769,6 +2775,12 @@ } return TRUE; #endif @@ -5116,7 +5142,7 @@ #ifdef PPCMAGIC case bfd_arch_powerpc: *magicp = PPCMAGIC; -@@ -3637,6 +3649,11 @@ +@@ -3606,6 +3618,11 @@ section.s_page = coff_get_section_load_page (current); #endif @@ -5128,7 +5154,7 @@ #ifdef COFF_WITH_PE section.s_paddr = 0; #endif -@@ -3989,6 +4006,17 @@ +@@ -3960,6 +3977,17 @@ internal_a.magic = ZMAGIC; #endif @@ -5146,7 +5172,7 @@ #if defined(PPC_PE) #define __A_MAGIC_SET__ internal_a.magic = IMAGE_NT_OPTIONAL_HDR_MAGIC; -@@ -4049,8 +4077,16 @@ +@@ -4025,8 +4053,16 @@ #endif } @@ -5163,7 +5189,7 @@ /* Now should write relocs, strings, syms. */ obj_sym_filepos (abfd) = sym_base; -@@ -4239,22 +4275,29 @@ +@@ -4212,22 +4248,29 @@ char * buff; bfd_size_type amount = bfd_coff_aoutsz (abfd); @@ -5203,7 +5229,7 @@ } #ifdef RS6000COFF_C else -@@ -4580,6 +4623,10 @@ +@@ -4520,6 +4563,10 @@ /* In PE, 0x69 (105) denotes a weak external symbol. */ case C_NT_WEAK: #endif @@ -5214,7 +5240,7 @@ switch (coff_classify_symbol (abfd, &src->u.syment)) { case COFF_SYMBOL_GLOBAL: -@@ -4810,7 +4857,9 @@ +@@ -4750,7 +4797,9 @@ && src->u.syment.n_scnum == 0) break; /* Fall through. */ @@ -5224,8 +5250,8 @@ case C_ULABEL: /* Undefined label. */ case C_USTATIC: /* Undefined static. */ #ifndef COFF_WITH_PE ---- ./bfd/coffgen.c.orig Tue Nov 4 12:30:54 2003 -+++ ./bfd/coffgen.c Wed Jun 16 22:41:11 2004 +--- ./bfd/coffgen.c.orig Mon Feb 21 12:21:29 2005 ++++ ./bfd/coffgen.c Thu Jun 30 22:41:15 2005 @@ -727,6 +727,20 @@ if (last_file != (struct internal_syment *) NULL) last_file->n_value = native_index; @@ -5268,7 +5294,7 @@ else { auxent->x_file.x_n.x_offset = *string_size_p + STRING_SIZE_SIZE; -@@ -1304,7 +1332,11 @@ +@@ -1285,7 +1313,11 @@ if (bfd_bwrite (".file", (bfd_size_type) 6, abfd) != 6) return FALSE; } @@ -5281,16 +5307,7 @@ } else maxlen = bfd_coff_force_symnames_in_strings (abfd) ? 0 : SYMNMLEN; -@@ -1440,7 +1472,7 @@ - { - coff_symbol_type sym; - /* @@FIXME This shouldn't use a fixed size!! */ -- combined_entry_type e[10]; -+ combined_entry_type e[NAUXENTS + 1]; - }; - struct foo *f; - -@@ -1806,15 +1838,26 @@ +@@ -1733,15 +1765,26 @@ { /* Ordinary short filename, put into memory anyway. The Microsoft PE tools sometimes store a filename in @@ -5324,7 +5341,7 @@ } else { -@@ -1924,9 +1967,9 @@ +@@ -1851,9 +1894,9 @@ coff_symbol_type *new = (coff_symbol_type *) bfd_alloc (abfd, amt); if (new == NULL) return (NULL); @@ -5338,7 +5355,7 @@ if (!new->native) return (NULL); --- ./bfd/coffswap.h.orig Wed Aug 28 12:38:44 2002 -+++ ./bfd/coffswap.h Wed Jun 16 22:41:11 2004 ++++ ./bfd/coffswap.h Thu Jun 30 22:41:15 2005 @@ -454,9 +454,13 @@ #else if (numaux > 1) @@ -5353,9 +5370,9 @@ } else memcpy (in->x_file.x_fname, ext->x_file.x_fname, FILNMLEN); ---- ./bfd/config.bfd.orig Mon May 17 21:35:56 2004 -+++ ./bfd/config.bfd Wed Jun 16 22:41:11 2004 -@@ -290,6 +290,7 @@ +--- ./bfd/config.bfd.orig Mon Jan 31 18:18:47 2005 ++++ ./bfd/config.bfd Thu Jun 30 22:41:15 2005 +@@ -305,6 +305,7 @@ avr-*-*) targ_defvec=bfd_elf32_avr_vec @@ -5363,22 +5380,9 @@ ;; c30-*-*aout* | tic30-*-*aout*) ---- ./bfd/configure.orig Mon May 17 21:35:57 2004 -+++ ./bfd/configure Wed Jun 16 22:41:11 2004 -@@ -1006,10 +1006,10 @@ - - bfd_version=`echo "${VERSION}" | sed -e 's/\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\)\.*\([^\.]*\).*/\1.00\2.00\3.00\4.00\5/' -e 's/\([^\.]*\)\..*\(..\)\..*\(..\)\..*\(..\)\..*\(..\)$/\1\2\3\4\5/'` - --bfd_version_string="\"${VERSION}\"" -+bfd_version_string="\"${VERSION} + coff-avr-patch (20030831)\"" - if test x${is_release} = x; then - bfd_version_date=`sed -n -e 's/.*DATE //p' < ${srcdir}/version.h` -- bfd_version_string="\"${VERSION} ${bfd_version_date}\"" -+ bfd_version_string="\"${VERSION} ${bfd_version_date} + coff-avr-patch (20030831)\"" - fi - - -@@ -6274,6 +6274,8 @@ +--- ./bfd/configure.orig Mon May 2 21:43:54 2005 ++++ ./bfd/configure Thu Jun 30 22:41:15 2005 +@@ -11526,6 +11526,8 @@ armpe_little_vec) tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;; armpei_big_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;; armpei_little_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;; @@ -5387,9 +5391,9 @@ b_out_vec_big_host) tb="$tb bout.lo aout32.lo" ;; b_out_vec_little_host) tb="$tb bout.lo aout32.lo" ;; bfd_efi_app_ia32_vec) tb="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;; ---- ./bfd/configure.in.orig Mon May 17 21:35:57 2004 -+++ ./bfd/configure.in Wed Jun 16 22:41:11 2004 -@@ -583,6 +583,8 @@ +--- ./bfd/configure.in.orig Mon May 2 21:43:51 2005 ++++ ./bfd/configure.in Thu Jun 30 22:41:15 2005 +@@ -573,6 +573,8 @@ armpe_little_vec) tb="$tb pe-arm.lo peigen.lo cofflink.lo " ;; armpei_big_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;; armpei_little_vec) tb="$tb pei-arm.lo peigen.lo cofflink.lo " ;; @@ -5398,9 +5402,9 @@ b_out_vec_big_host) tb="$tb bout.lo aout32.lo" ;; b_out_vec_little_host) tb="$tb bout.lo aout32.lo" ;; bfd_efi_app_ia32_vec) tb="$tb efi-app-ia32.lo peigen.lo cofflink.lo" ;; ---- ./bfd/targets.c.orig Mon May 17 21:36:04 2004 -+++ ./bfd/targets.c Wed Jun 16 22:41:11 2004 -@@ -507,6 +507,8 @@ +--- ./bfd/targets.c.orig Tue Mar 1 02:56:27 2005 ++++ ./bfd/targets.c Thu Jun 30 22:41:15 2005 +@@ -535,6 +535,8 @@ extern const bfd_target armpe_little_vec; extern const bfd_target armpei_big_vec; extern const bfd_target armpei_little_vec; @@ -5409,7 +5413,7 @@ extern const bfd_target b_out_vec_big_host; extern const bfd_target b_out_vec_little_host; extern const bfd_target bfd_efi_app_ia32_vec; -@@ -791,6 +793,8 @@ +@@ -827,6 +829,8 @@ &armpe_little_vec, &armpei_big_vec, &armpei_little_vec, @@ -5418,8 +5422,8 @@ &b_out_vec_big_host, &b_out_vec_little_host, &bfd_efi_app_ia32_vec, ---- ./include/coff/avr.h.orig Wed Jun 16 22:41:12 2004 -+++ ./include/coff/avr.h Wed Jun 16 22:41:12 2004 +--- ./include/coff/avr.h.orig Thu Jun 30 22:41:15 2005 ++++ ./include/coff/avr.h Thu Jun 30 22:41:15 2005 @@ -0,0 +1,110 @@ +/* coff information for Atmel AVR. + @@ -5531,9 +5535,9 @@ + +#define RELOC struct external_reloc +#define RELSZ 10 ---- ./include/coff/internal.h.orig Tue Dec 2 11:49:14 2003 -+++ ./include/coff/internal.h Wed Jun 16 22:41:12 2004 -@@ -591,6 +591,8 @@ +--- ./include/coff/internal.h.orig Thu Mar 3 12:58:05 2005 ++++ ./include/coff/internal.h Thu Jun 30 22:41:15 2005 +@@ -592,6 +592,8 @@ }; diff --git a/devel/avr-binutils/files/patch-mega08-tinyx13-can128 b/devel/avr-binutils/files/patch-mega08-tinyx13-can128 deleted file mode 100644 index cdf59088ee7f..000000000000 --- a/devel/avr-binutils/files/patch-mega08-tinyx13-can128 +++ /dev/null @@ -1,97 +0,0 @@ -2004-04-02 Theodore A. Roth <troth@openavr.org> - - * gas/config/tc-avr.c: - * include/opcode/avr.h: - Add support for atmega48, atmega88, atmega168, attiny13, attiny2313 and - at90can128. - -Index: gas/config/tc-avr.c -=================================================================== -RCS file: /cvs/src/src/gas/config/tc-avr.c,v -retrieving revision 1.20 -diff -u -p -p -r1.20 tc-avr.c ---- gas/config/tc-avr.c 30 Nov 2002 08:39:43 -0000 1.20 -+++ gas/config/tc-avr.c 3 Apr 2004 00:03:09 -0000 -@@ -90,20 +90,26 @@ static struct mcu_type_s mcu_types[] = - {"at43usb320",AVR_ISA_M103, bfd_mach_avr3}, - {"at43usb355",AVR_ISA_M603, bfd_mach_avr3}, - {"at76c711", AVR_ISA_M603, bfd_mach_avr3}, -+ {"atmega48", AVR_ISA_M8, bfd_mach_avr4}, - {"atmega8", AVR_ISA_M8, bfd_mach_avr4}, - {"atmega83", AVR_ISA_M8, bfd_mach_avr4}, /* XXX -> m8535 */ - {"atmega85", AVR_ISA_M8, bfd_mach_avr4}, /* XXX -> m8 */ -+ {"atmega88", AVR_ISA_M8, bfd_mach_avr4}, - {"atmega8515",AVR_ISA_M8, bfd_mach_avr4}, - {"atmega8535",AVR_ISA_M8, bfd_mach_avr4}, -+ {"attiny13", AVR_ISA_TINY2, bfd_mach_avr2}, -+ {"attiny2313",AVR_ISA_TINY2, bfd_mach_avr2}, - {"atmega16", AVR_ISA_M323, bfd_mach_avr5}, - {"atmega161", AVR_ISA_M161, bfd_mach_avr5}, - {"atmega162", AVR_ISA_M323, bfd_mach_avr5}, - {"atmega163", AVR_ISA_M161, bfd_mach_avr5}, -+ {"atmega168", AVR_ISA_M323, bfd_mach_avr5}, - {"atmega169", AVR_ISA_M323, bfd_mach_avr5}, - {"atmega32", AVR_ISA_M323, bfd_mach_avr5}, - {"atmega323", AVR_ISA_M323, bfd_mach_avr5}, - {"atmega64", AVR_ISA_M323, bfd_mach_avr5}, - {"atmega128", AVR_ISA_M128, bfd_mach_avr5}, -+ {"at90can128",AVR_ISA_M128, bfd_mach_avr5}, - {"at94k", AVR_ISA_94K, bfd_mach_avr5}, - {NULL, 0, 0} - }; -@@ -531,7 +537,8 @@ avr_operands (opcode, line) - /* Warn if the previous opcode was cpse/sbic/sbis/sbrc/sbrs - (AVR core bug, fixed in the newer devices). */ - -- if (!(avr_opt.no_skip_bug || (avr_mcu->isa & AVR_ISA_MUL)) -+ if (!(avr_opt.no_skip_bug || -+ (avr_mcu->isa & (AVR_ISA_MUL | AVR_ISA_MOVW))) - && AVR_SKIP_P (prev)) - as_warn (_("skipping two-word instruction")); - -Index: include/opcode/avr.h -=================================================================== -RCS file: /cvs/src/src/include/opcode/avr.h,v -retrieving revision 1.5 -diff -u -p -p -r1.5 avr.h ---- include/opcode/avr.h 10 Nov 2001 09:40:53 -0000 1.5 -+++ include/opcode/avr.h 3 Apr 2004 00:03:14 -0000 -@@ -23,20 +23,25 @@ - #define AVR_ISA_SRAM 0x0008 /* device has SRAM (LD, ST, PUSH, POP, ...) */ - #define AVR_ISA_MEGA 0x0020 /* device has >8K program memory (JMP and CALL - supported, no 8K wrap on RJMP and RCALL) */ --#define AVR_ISA_MUL 0x0040 /* device has new core (MUL, MOVW, ...) */ -+#define AVR_ISA_MUL 0x0040 /* device has new core (MUL, FMUL, ...) */ - #define AVR_ISA_ELPM 0x0080 /* device has >64K program memory (ELPM) */ - #define AVR_ISA_ELPMX 0x0100 /* device has ELPM Rd,Z[+] */ - #define AVR_ISA_SPM 0x0200 /* device can program itself */ - #define AVR_ISA_BRK 0x0400 /* device has BREAK (on-chip debug) */ - #define AVR_ISA_EIND 0x0800 /* device has >128K program memory (none yet) */ -+#define AVR_ISA_MOVW 0x1000 /* device has MOVW */ - - #define AVR_ISA_TINY1 (AVR_ISA_1200 | AVR_ISA_LPM) - #define AVR_ISA_2xxx (AVR_ISA_TINY1 | AVR_ISA_SRAM) --#define AVR_ISA_M8 (AVR_ISA_2xxx | AVR_ISA_MUL | AVR_ISA_LPMX | AVR_ISA_SPM) -+#define AVR_ISA_TINY2 (AVR_ISA_2xxx | AVR_ISA_MOVW | AVR_ISA_LPMX | \ -+ AVR_ISA_SPM | AVR_ISA_BRK) -+#define AVR_ISA_M8 (AVR_ISA_2xxx | AVR_ISA_MUL | AVR_ISA_MOVW | \ -+ AVR_ISA_LPMX | AVR_ISA_SPM) - #define AVR_ISA_M603 (AVR_ISA_2xxx | AVR_ISA_MEGA) - #define AVR_ISA_M103 (AVR_ISA_M603 | AVR_ISA_ELPM) --#define AVR_ISA_M161 (AVR_ISA_M603 | AVR_ISA_MUL | AVR_ISA_LPMX | AVR_ISA_SPM) --#define AVR_ISA_94K (AVR_ISA_M603 | AVR_ISA_MUL | AVR_ISA_LPMX) -+#define AVR_ISA_M161 (AVR_ISA_M603 | AVR_ISA_MUL | AVR_ISA_MOVW | \ -+ AVR_ISA_LPMX | AVR_ISA_SPM) -+#define AVR_ISA_94K (AVR_ISA_M603 | AVR_ISA_MUL | AVR_ISA_MOVW | AVR_ISA_LPMX) - #define AVR_ISA_M323 (AVR_ISA_M161 | AVR_ISA_BRK) - #define AVR_ISA_M128 (AVR_ISA_M323 | AVR_ISA_ELPM | AVR_ISA_ELPMX) - -@@ -236,7 +241,7 @@ AVR_INSN (ror, "r", "1001010rrrrr0111 - AVR_INSN (swap, "r", "1001010rrrrr0010", 1, AVR_ISA_1200, 0x9402) - - /* Known to be decoded as `nop' by the old core. */ --AVR_INSN (movw, "v,v", "00000001ddddrrrr", 1, AVR_ISA_MUL, 0x0100) -+AVR_INSN (movw, "v,v", "00000001ddddrrrr", 1, AVR_ISA_MOVW, 0x0100) - AVR_INSN (muls, "d,d", "00000010ddddrrrr", 1, AVR_ISA_MUL, 0x0200) - AVR_INSN (mulsu,"a,a", "000000110ddd0rrr", 1, AVR_ISA_MUL, 0x0300) - AVR_INSN (fmul, "a,a", "000000110ddd1rrr", 1, AVR_ISA_MUL, 0x0308) diff --git a/devel/avr-binutils/files/patch-mega325x-mega645x b/devel/avr-binutils/files/patch-mega325x-mega645x deleted file mode 100644 index a911d090f52e..000000000000 --- a/devel/avr-binutils/files/patch-mega325x-mega645x +++ /dev/null @@ -1,19 +0,0 @@ -2005-03-04 Eric B. Weddington <ericw@evcohs.com> - - * gas/config/tc-avr.c: - Add support for atmega325, atmega3250, atmega645, atmega6450. - ---- gas/config/tc-avr.c.old 2005-03-04 09:52:14.321375000 -0700 -+++ gas/config/tc-avr.c 2005-03-04 09:25:06.805750000 -0700 -@@ -107,7 +107,11 @@ - {"atmega169", AVR_ISA_M323, bfd_mach_avr5}, - {"atmega32", AVR_ISA_M323, bfd_mach_avr5}, - {"atmega323", AVR_ISA_M323, bfd_mach_avr5}, -+ {"atmega325", AVR_ISA_M323, bfd_mach_avr5}, -+ {"atmega3250",AVR_ISA_M323, bfd_mach_avr5}, - {"atmega64", AVR_ISA_M323, bfd_mach_avr5}, -+ {"atmega645", AVR_ISA_M323, bfd_mach_avr5}, -+ {"atmega6450",AVR_ISA_M323, bfd_mach_avr5}, - {"atmega128", AVR_ISA_M128, bfd_mach_avr5}, - {"at90can128",AVR_ISA_M128, bfd_mach_avr5}, - {"at94k", AVR_ISA_94K, bfd_mach_avr5}, diff --git a/devel/avr-binutils/files/patch-megaX1280 b/devel/avr-binutils/files/patch-megaX1280 index 04f6302e6939..ce604a975922 100644 --- a/devel/avr-binutils/files/patch-megaX1280 +++ b/devel/avr-binutils/files/patch-megaX1280 @@ -1,10 +1,10 @@ ---- gas/config/tc-avr.c.orig Thu Mar 31 22:16:07 2005 -+++ gas/config/tc-avr.c Thu Mar 31 22:20:39 2005 +--- gas/config/tc-avr.c.orig Wed Feb 23 13:28:04 2005 ++++ gas/config/tc-avr.c Thu Jun 30 23:39:09 2005 @@ -113,6 +113,7 @@ - {"atmega645", AVR_ISA_M323, bfd_mach_avr5}, - {"atmega6450",AVR_ISA_M323, bfd_mach_avr5}, + {"atmega3250",AVR_ISA_M323, bfd_mach_avr5}, + {"atmega64", AVR_ISA_M323, bfd_mach_avr5}, {"atmega128", AVR_ISA_M128, bfd_mach_avr5}, + {"atmega1280",AVR_ISA_M128, bfd_mach_avr5}, + {"atmega645", AVR_ISA_M323, bfd_mach_avr5}, + {"atmega6450",AVR_ISA_M323, bfd_mach_avr5}, {"at90can128",AVR_ISA_M128, bfd_mach_avr5}, - {"at94k", AVR_ISA_94K, bfd_mach_avr5}, - {NULL, 0, 0} diff --git a/devel/avr-binutils/files/patch-no-lma-eeprom b/devel/avr-binutils/files/patch-no-lma-eeprom deleted file mode 100644 index f4e8591d325e..000000000000 --- a/devel/avr-binutils/files/patch-no-lma-eeprom +++ /dev/null @@ -1,15 +0,0 @@ -=================================================================== -RCS file: /cvs/src/src/ld/scripttempl/avr.sc,v -retrieving revision 1.2 -retrieving revision 1.3 -diff -u -r1.2 -r1.3 ---- ld/scripttempl/avr.sc 2002/06/01 23:28:59 1.2 -+++ ld/scripttempl/avr.sc 2004/05/08 21:52:56 1.3 -@@ -145,7 +145,6 @@ - } ${RELOCATING+ > data} - - .eeprom ${RELOCATING-0}: -- ${RELOCATING+AT (ADDR (.text) + SIZEOF (.text) + SIZEOF (.data))} - { - *(.eeprom*) - ${RELOCATING+ __eeprom_end = . ; } |