source:
rtems/contrib/crossrpms/patches/gcc-core-4.1.2-rtems4.8-20070613.diff
@
3dd61288
Last change on this file since 3dd61288 was c0064d39, checked in by Ralf Corsepius <ralf.corsepius@…>, on 06/13/07 at 15:40:32 | |
---|---|
|
|
File size: 4.7 KB |
-
gcc/config/arm/rtems-elf.h
diff -uNr gcc-4.1.2.orig/gcc/config/arm/rtems-elf.h gcc-4.1.2/gcc/config/arm/rtems-elf.h
old new 27 27 #define TARGET_OS_CPP_BUILTINS() \ 28 28 do { \ 29 29 builtin_define ("__rtems__"); \ 30 builtin_define ("__USE_INIT_FINI__"); \ 30 31 builtin_assert ("system=rtems"); \ 31 32 } while (0) 32 33 -
gcc/config/c4x/rtems.h
diff -uNr gcc-4.1.2.orig/gcc/config/c4x/rtems.h gcc-4.1.2/gcc/config/c4x/rtems.h
old new 24 24 #define TARGET_OS_CPP_BUILTINS() \ 25 25 do { \ 26 26 builtin_define ("__rtems__"); \ 27 builtin_define ("__USE_INIT_FINI__"); \28 27 builtin_assert ("system=rtems"); \ 29 28 } while (0) -
gcc/config/mips/elf.h
diff -uNr gcc-4.1.2.orig/gcc/config/mips/elf.h gcc-4.1.2/gcc/config/mips/elf.h
old new 48 48 49 49 #undef ENDFILE_SPEC 50 50 #define ENDFILE_SPEC "crtend%O%s crtn%O%s" 51 52 #define NO_IMPLICIT_EXTERN_C 1 -
gcc/config/mips/mips.h
diff -uNr gcc-4.1.2.orig/gcc/config/mips/mips.h gcc-4.1.2/gcc/config/mips/mips.h
old new 450 450 #endif 451 451 #endif /* IN_LIBGCC2 */ 452 452 453 #define TARGET_LIBGCC_SDATA_SECTION ".sdata" 454 453 455 #ifndef MULTILIB_ENDIAN_DEFAULT 454 456 #if TARGET_ENDIAN_DEFAULT == 0 455 457 #define MULTILIB_ENDIAN_DEFAULT "EL" … … 2712 2714 /* Define the strings to put out for each section in the object file. */ 2713 2715 #define TEXT_SECTION_ASM_OP "\t.text" /* instructions */ 2714 2716 #define DATA_SECTION_ASM_OP "\t.data" /* large data */ 2715 #define SDATA_SECTION_ASM_OP "\t.sdata" /* small data */2716 2717 2717 2718 #undef READONLY_DATA_SECTION_ASM_OP 2718 2719 #define READONLY_DATA_SECTION_ASM_OP "\t.rdata" /* read-only data */ -
gcc/config/sparc/sparc.c
diff -uNr gcc-4.1.2.orig/gcc/config/sparc/sparc.c gcc-4.1.2/gcc/config/sparc/sparc.c
old new 675 675 error ("-mcmodel= is not supported on 32 bit systems"); 676 676 } 677 677 678 fpu = TARGET_FPU; /* save current -mfpu status */678 fpu = target_flags & MASK_FPU; /* save current -mfpu status */ 679 679 680 680 /* Set the default CPU. */ 681 681 for (def = &cpu_default[0]; def->name; ++def) -
gcc/config.gcc
diff -uNr gcc-4.1.2.orig/gcc/config.gcc gcc-4.1.2/gcc/config.gcc
old new 761 761 tmake_file=bfin/t-bfin-elf 762 762 use_collect2=no 763 763 ;; 764 bfin*-rtems*) 765 tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h bfin/rtems.h rtems.h" 766 tmake_file=bfin/t-bfin-elf 767 use_collect2=no 768 ;; 764 769 bfin*-*) 765 770 tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h" 766 771 tmake_file=bfin/t-bfin … … 1560 1565 tm_defines="MIPS_ISA_DEFAULT=3 MIPS_ABI_DEFAULT=ABI_O64" 1561 1566 use_fixproto=yes 1562 1567 ;; 1563 mips *-*-rtems*)1568 mips-*-rtems*) 1564 1569 tm_file="elfos.h ${tm_file} mips/elf.h mips/rtems.h rtems.h" 1565 1570 tmake_file="mips/t-elf t-rtems mips/t-rtems" 1566 1571 ;; -
gcc/crtstuff.c
diff -uNr gcc-4.1.2.orig/gcc/crtstuff.c gcc-4.1.2/gcc/crtstuff.c
old new 225 225 in one DSO or the main program is not used in another object. The 226 226 dynamic linker takes care of this. */ 227 227 228 #ifdef TARGET_LIBGCC_SDATA_SECTION 229 extern void *__dso_handle __attribute__ ((__section__ (TARGET_LIBGCC_SDATA_SECTION))); 230 #endif 228 231 #ifdef HAVE_GAS_HIDDEN 229 232 extern void *__dso_handle __attribute__ ((__visibility__ ("hidden"))); 230 233 #endif -
Makefile.in
diff -uNr gcc-4.1.2.orig/Makefile.in gcc-4.1.2/Makefile.in
old new 329 329 # CFLAGS will be just -g. We want to ensure that TARGET libraries 330 330 # (which we know are built with gcc) are built with optimizations so 331 331 # prepend -O2 when setting CFLAGS_FOR_TARGET. 332 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)332 CFLAGS_FOR_TARGET = $(strip -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)) 333 333 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@ 334 CXXFLAGS_FOR_TARGET = $( CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)334 CXXFLAGS_FOR_TARGET = $(strip $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)) 335 335 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET) 336 336 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates 337 337 LDFLAGS_FOR_TARGET =
Note: See TracBrowser
for help on using the repository browser.