Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Commit [e7a023] avr-ada-1.2.0 Maximize Restore History

clean-up for R1.2

Rolf Rolf 2012-08-01

removed patches/binutils/2.19
removed patches/gcc/4.7.0/24-gcc-4.7-ada-gnattools.patch
removed patches/gcc/4.7.0/73-gcc-4.7-ada-gnat1_print_path.patch
changed Makefile
changed avr
changed avr/Makefile
changed avr/avr_lib
changed avr/avr_lib/avr-threads.ads
changed configure
changed patches
changed patches/binutils
changed patches/gcc
copied patches/gcc/4.7.0 -> patches/gcc/4.7.1
copied patches/gcc/4.7.0/71-gcc-4.7-ada-freestanding.patch -> patches/gcc/4.7.1/71-gcc-4.7-ada-freestanding.patch
copied patches/gcc/4.7.0/72-gcc-4.7-ada-timebase.patch -> patches/gcc/4.7.1/72-gcc-4.7-ada-timebase.patch
copied patches/binutils/2.19/10-binutils-2.19-sprintf-format.patch -> patches/gcc/4.7.1/73-gcc-4.7-ada-gnat1_print_path.patch
copied patches/binutils/2.19/50-binutils-2.19-xmega-autoconf.patch -> patches/gcc/4.7.1/23-gcc-4.7-ada-Makefile.patch
copied patches/gcc/4.7.0/23-gcc-4.7-ada-Makefile.patch -> patches/gcc/4.7.1/24-gcc-4.7-ada-gnattools.patch
patches/binutils/2.19
File was removed.
Makefile Diff Switch to side-by-side view
Loading...
avr
Directory.
avr/Makefile Diff Switch to side-by-side view
Loading...
avr/avr_lib
Directory.
avr/avr_lib/avr-threads.ads Diff Switch to side-by-side view
Loading...
configure Diff Switch to side-by-side view
Loading...
patches
Directory.
patches/binutils
Directory.
patches/gcc
Directory.
patches/gcc/4.7.0 to patches/gcc/4.7.1
File was copied or renamed.
patches/binutils/2.19/10-binutils-2.19-sprintf-format.patch to patches/gcc/4.7.1/73-gcc-4.7-ada-gnat1_print_path.patch
--- a/patches/binutils/2.19/10-binutils-2.19-sprintf-format.patch
+++ b/patches/gcc/4.7.1/73-gcc-4.7-ada-gnat1_print_path.patch
@@ -1,51 +1,45 @@
-This is an upstream patch.
-
-===================================================================
-RCS file: /cvs/src/src/opcodes/avr-dis.c,v
-retrieving revision 1.21
-retrieving revision 1.22
-diff -u -r1.21 -r1.22
---- opcodes/avr-dis.c	2007/07/05 09:49:00	1.21
-+++ opcodes/avr-dis.c	2008/11/06 12:03:24	1.22
-@@ -1,5 +1,5 @@
- /* Disassemble AVR instructions.
--   Copyright 1999, 2000, 2002, 2004, 2005, 2006, 2007
-+   Copyright 1999, 2000, 2002, 2004, 2005, 2006, 2007, 2008
-    Free Software Foundation, Inc.
+--- gcc/ada/gnat1drv.adb.orig	2011-12-21 14:34:12.000000000 +0100
++++ gcc/ada/gnat1drv.adb	2012-01-22 12:42:07.015625000 +0100
+@@ -777,6 +777,42 @@
+          Write_Str ("Copyright 1992-" & Current_Year
+                     & ", Free Software Foundation, Inc.");
+          Write_Eol;
++         Write_Eol;
++         Write_Str ("Source Search Path:");
++         Write_Eol;
++
++         for J in 1 .. Nb_Dir_In_Src_Search_Path loop
++            Write_Str ("   ");
++
++            if Dir_In_Src_Search_Path (J)'Length = 0 then
++               Write_Str ("<Current_Directory>");
++            else
++               Write_Str (To_Host_Dir_Spec
++                          (Dir_In_Src_Search_Path (J).all, True).all);
++            end if;
++
++            Write_Eol;
++         end loop;
++
++         Write_Eol;
++         Write_Eol;
++         Write_Str ("Object Search Path:");
++         Write_Eol;
++
++         for J in 1 .. Nb_Dir_In_Obj_Search_Path loop
++            Write_Str ("   ");
++
++            if Dir_In_Obj_Search_Path (J)'Length = 0 then
++               Write_Str ("<Current_Directory>");
++            else
++               Write_Str (To_Host_Dir_Spec
++                          (Dir_In_Obj_Search_Path (J).all, True).all);
++            end if;
++
++            Write_Eol;
++         end loop;
++
++         Write_Eol;
+       end if;
  
-    Contributed by Denis Chertykov <denisc@overta.ru>
-@@ -109,7 +109,7 @@
- 	    case 0x100e: xyz = "-X"; break;
- 	    default: xyz = "??"; ok = 0;
- 	  }
--	sprintf (buf, xyz);
-+	strcpy (buf, xyz);
- 
- 	if (AVR_UNDEF_P (insn))
- 	  sprintf (comment, _("undefined"));
-@@ -149,7 +149,7 @@
- 	 value of the address only once, but this would mean recoding
- 	 objdump_print_address() which would affect many targets.  */
-       sprintf (buf, "%#lx", (unsigned long) *sym_addr);      
--      sprintf (comment, comment_start);
-+      strcpy (comment, comment_start);
-       break;
-       
-     case 'L':
-@@ -158,7 +158,7 @@
- 	sprintf (buf, ".%+-8d", rel_addr);
-         *sym = 1;
-         *sym_addr = pc + 2 + rel_addr;
--	sprintf (comment, comment_start);
-+	strcpy (comment, comment_start);
-       }
-       break;
- 
-@@ -169,7 +169,7 @@
- 	sprintf (buf, ".%+-8d", rel_addr);
-         *sym = 1;
-         *sym_addr = pc + 2 + rel_addr;
--	sprintf (comment, comment_start);
-+	strcpy (comment, comment_start);
-       }
-       break;
+       --  Check we do not have more than one source file, this happens only in
patches/binutils/2.19/50-binutils-2.19-xmega-autoconf.patch to patches/gcc/4.7.1/23-gcc-4.7-ada-Makefile.patch
--- a/patches/binutils/2.19/50-binutils-2.19-xmega-autoconf.patch
+++ b/patches/gcc/4.7.1/23-gcc-4.7-ada-Makefile.patch
@@ -1,19 +1,13 @@
-Effects of running autoconf with the former xmega patch applied.
---------------------------------------------------------------------------------
---- bfd/bfd-in2.h~	2009-02-12 14:43:18.121961804 +0100
-+++ bfd/bfd-in2.h	2009-02-12 14:42:11.094632022 +0100
-@@ -1979,6 +1979,13 @@
- #define bfd_mach_avr5          5
- #define bfd_mach_avr51         51
- #define bfd_mach_avr6          6
-+#define bfd_mach_avrxmega1 101
-+#define bfd_mach_avrxmega2 102
-+#define bfd_mach_avrxmega3 103
-+#define bfd_mach_avrxmega4 104
-+#define bfd_mach_avrxmega5 105
-+#define bfd_mach_avrxmega6 106
-+#define bfd_mach_avrxmega7 107
-   bfd_arch_bfin,        /* ADI Blackfin */
- #define bfd_mach_bfin          1
-   bfd_arch_cr16,       /* National Semiconductor CompactRISC (ie CR16). */
-
+--- configure.orig	2012-01-05 03:25:04.000000000 +0100
++++ configure	2012-01-22 12:37:59.718750000 +0100
+@@ -2981,10 +2981,6 @@
+   ENABLE_LIBADA=yes
+ fi
+ 
+-if test "${ENABLE_LIBADA}" != "yes" ; then
+-  noconfigdirs="$noconfigdirs gnattools"
+-fi
+-
+ # Check whether --enable-libssp was given.
+ if test "${enable_libssp+set}" = set; then :
+   enableval=$enable_libssp; ENABLE_LIBSSP=$enableval
patches/gcc/4.7.0/23-gcc-4.7-ada-Makefile.patch to patches/gcc/4.7.1/24-gcc-4.7-ada-gnattools.patch
--- a/patches/gcc/4.7.1/23-gcc-4.7-ada-Makefile.patch
+++ b/patches/gcc/4.7.1/24-gcc-4.7-ada-gnattools.patch
@@ -1,13 +1,13 @@
---- configure.orig	2012-01-05 03:25:04.000000000 +0100
-+++ configure	2012-01-22 12:37:59.718750000 +0100
-@@ -2981,10 +2981,6 @@
-   ENABLE_LIBADA=yes
- fi
+--- gnattools/Makefile.in~	2011-10-12 22:41:57 +0000
++++ gnattools/Makefile.in	2012-04-30 14:02:28 +0000
+@@ -119,7 +119,9 @@
  
--if test "${ENABLE_LIBADA}" != "yes" ; then
--  noconfigdirs="$noconfigdirs gnattools"
--fi
--
- # Check whether --enable-libssp was given.
- if test "${enable_libssp+set}" = set; then :
-   enableval=$enable_libssp; ENABLE_LIBSSP=$enableval
+ # File associations set by configure
+ EXTRA_GNATTOOLS = @EXTRA_GNATTOOLS@
+-TOOLS_TARGET_PAIRS = @TOOLS_TARGET_PAIRS@
++TOOLS_TARGET_PAIRS = \
++   mlib-tgt-specific.adb<mlib-tgt-specific-xi.adb \
++   indepsw.adb<indepsw-gnu.adb
+ 
+ # Makefile targets
+ # ----------------