gcc/libgcc_post_upgrade.c

455 lines
16 KiB
C
Raw Normal View History

auto-import changelog data from gcc-3.3.2-1.src.rpm Thu Oct 23 2003 Jakub Jelinek <jakub@redhat.com> 3.3.2-1 - update from gcc-3_3-branch - 3.3.2 release - PRs debug/12500, c/11885, bootstrap/9330, target/11087, target/11949, optimization/12544, optimization/12510, bootstrap/12490, optimization/12215, optimization/11637, c/12446, 11883, optimization/12180, 12292, 12072, optimization/11753, c++/12369, c++/7939, c++/11878, c++/11063, c++/10147, c++/12337, c++/12344, c++/12236, c++/8656, c++/11409, c++/12486, libstdc++/10081, libstdc++/11740, libstdc++/12451 - fix java signal handling (Ulrich Weigand) Thu Oct 02 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-6 - update from gcc-3_3-branch - PRs optimization/12340, bootstrap/12358, target/9786, target/12301, target/12166, target/11184, optimization/11646, c++/11991, c++/12266, libstdc++/12296, libstdc++/11400, libstdc++/11065 - fix invalid C++ tree sharing bug (Mark Mitchell, #105784) Tue Sep 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-5 - update from gcc-3_3-branch - PRs fortran/11522, target/11965, target/12224, target/11689, c++/11852, optimization/11662, target/12070, opt/12082, c/9862, target/8869, c/10962, c++/3907, c++/11595, c++/11786, c++/5296, c++/12181, c++/11867, c++/12163, c++/12146, libstdc++/12189 - fix cpp -lang-asm bug (Alexandre Oliva) - add __attribute__((warn_unused_result)) support - use --start-group -lgcc -lgcc_eh -lc --end-group when doing static linking Sun Sep 07 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-4 - split insns right before regstack on IA-32 at -O1 (#102493) Fri Sep 05 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-3 - update from gcc-3_3-branch - PRs 10988, target/11805, c/11207, c++/12114, c++/11928, c++/5293 - export _Unwind_GetBSP@@GCC_3.3.2 from libgcc_s.so on IA-64 - fix linux kernel miscompilation with __builtin_expect (#102747) Sat Aug 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-2 - update from gcc-3_3-branch - PRs optimization/11319, target/10021 - SPARC TLS support - fix libgcc_post_upgrade on sparc64 - fix a bug in finish_struct Tue Aug 12 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-1 - update from gcc-3_3-branch - gcc 3.3.1 release - PRs target/11693, c++/11712, target/9877, target/8336, c/11370, 11709, preprocessor/11534, 10510, 11313, target/10681, c++/11713, libstdc++/11784, - fix IA-64 __builtin_return_address (Richard Henderson, #99220, PR target/11535) - speed up get_identifier with string literal argument (Roger Sayle) - fix cross-jumping on s390 (#91185) Thu Jul 31 2003 Jakub Jelinek <jakub@redhat.com> 3.3-17 - fix an amd64 TLS pic bug - remove libgcc's %postun Tue Jul 29 2003 Jakub Jelinek <jakub@redhat.com> 3.3-16 - update from gcc-3_3-branch - PR c++/10796 - don't destroy argument to fold/convert/extract_muldiv (#98550) - add -Wdeclaration-after-statement (Hans-Peter Nilsson) - statically link /usr/sbin/libgcc_post_upgrade - BuildRequire bison and flex (#98920) - fix merge bug in store_by_pieces - kill some warnings Fri Jul 25 2003 Jakub Jelinek <jakub@redhat.com> 3.3-15 - update from gcc-3_3-branch - PRs 8878, target/11607, target/11516, optimization/10679, optimization/11599, optimization/11536, debug/11279, optimization/4490, target/11556, optimization/11083, optimization/11557, bootstrap/11043, other/11466, target/10907, target/11087, c++/11513, c++/11645, c++/11282, c++/11546, libstdc++/11528 - add /usr/sbin/libgcc_post_upgrade, use it in libgcc's %post - turn off autorequires for libgcc Wed Jul 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3-14 - update from gcc-3_3-branch - PRs debug/11473, optimization/11320, debug/11098, optimization/11440, optimization/11059, optimization/10877, c++/1607, c++/9738, c++/5287, c++/7910, c++/11021, optimization/9745, bootstrap/10758, c++/10032, target/11453, target/10021, c++/7053, c++/11154, c++/11503, c++/8164, c++/10558, c++/10032, c++/10527, c++/10849, c++/11236, libgcj/10886, libgcj/10838 - export __gcc_personality_{v,sj}0 from libgcc_s - fix ppc64 unwinding through signal frames - don't access memory below 288 bytes under $r1 on ppc64 in libgcc_eh.a - fix string-opt-8.c testcase after strcmp/strncmp fix on s390 - fix ppc32 MD_FALLBACK_FRAME_STATE_FOR - fix builtin strcmp and strncmp miscompilation on s390{,x} - fix IA-64 bootstrap failure caused during schedule_ebbs Wed Jul 09 2003 Jakub Jelinek <jakub@redhat.com> 3.3-13 - update from gcc-3_3-branch - fix amd64 -fpic with volatile variable (#98518, c/11420) - fix strength reduction causing miscompilation of pwlib on s390x - PRs 10900, optimization/11368, optimization/11198, optimization/11304, target/10700, optimization/11381, 2873, target/11014, optimization/11054, bootstrap/3163, other/11280, target/11084, target/11260, c++/11345, c++/11431, c++/6949, c++/11137, c++/11149, c++/9559, c++/11106, c++/10468, c++/10796, c++/11332, c++/10990, c++/10931, c++/5754 - move cc1 to cpp package, so that cpp can work even when gcc and devel packages aren't installed - Intel Prescott support (H.J.Lu) - optimize builtin sprintf (Roger Sayle) Tue Jun 24 2003 Jakub Jelinek <jakub@redhat.com> 3.3-12 - update from gcc-3_3-branch - new libstdc++ abilist files - update check-abi logic in the spec file Mon Jun 23 2003 Jakub Jelinek <jakub@redhat.com> 3.3-11 - update from gcc-3_3-branch - PRs c++/9393, c++/10888, driver/9362, preprocessor/11022, c++/10784, c++/10864, c++/10915, c++/10845, c++/10939, c++/9649, c++/11041, c++/11228, bootstrap/11272 - fix GC problems introduced in c++/11105 fix - fix a bug in builtin strcpy evaluation - optimize more cases of builtin strlen, str*cmp, strcpy, strncpy, fputs Mon Jun 23 2003 Jakub Jelinek <jakub@redhat.com> 3.3-10 - fix cc1plus segfault when a mangling hashtable was expanded for the first time (introduced in c++/11105 fix) Sun Jun 22 2003 Jakub Jelinek <jakub@redhat.com> 3.3-9 - fix -fpic virtual thunks on amd64 - fix g++.dg/init/new6.C regression introduced in 3.3-8 Sat Jun 21 2003 Jakub Jelinek <jakub@redhat.com> 3.3-8 - update from gcc-3_3-branch - PRs c++/10929, c++/10712, c++/11105 - _Unwind_GetCFA and _Unwind_FindEnclosingFunction implemented in ia64 libgcc_s.so - ppc32 libffi fixes (Franz Sirl) - don't warn about #pragma once if -Wno-deprecated (Jason Merrill, #97723) - fix s390 thunks, call a local alias of method instead of the exported symbols in thunks if assembler supports .set - fix a bug in gcc driver hack for ICE analysis which caused some reproduceable bugs printed as non-reproduceable Mon Jun 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3-7 - update from gcc-3_3-branch - PRs target/8787, inline-asm/4823, target/7594, middle-end/10475, optimization/10955, target/10142, middle-end/10557, target/11183, optimization/10842, c++/10635, debug/9864 - use la instead of ar on s390 to initialize got register - change asm name of some further implicitely generated builtins when using __asm on the builtin function Wed Jun 11 2003 Jakub Jelinek <jakub@redhat.com> 3.3-6 - update from gcc-3_3-branch - PRs inline-asm/10890, target/11052, target/10331, target/11096, target/10663, c++/10968, 8861, c++/11039, c++/10940, libstdc++/11095 - define __EXCEPTIONS in C if -fexceptions - fix warning about frontend unsupported switches (#97165) - fix filename printed in -Winline called from here warning - don't build -msoft-float multilibs on ppc* even in -m32 - install unwind.h Thu Jun 05 2003 Jakub Jelinek <jakub@redhat.com> 3.3-5 - update from gcc-3_3-branch - PRs optimization/11018, optimization/10876, target/10673 - __attribute__((cleanup)) (Richard Henderson) - add a gcc driver hack to check reproduceability of ICEs and create preproccessed testcase if they are reproduceable - make sure libgcc.a objects have non-exec .note.GNU-stack - fix ppc64 build Wed Jun 04 2003 Jakub Jelinek <jakub@redhat.com> 3.3-4 - mark object files with .note.GNU-stack notes whether they need or don't need executable stack Tue Jun 03 2003 Jakub Jelinek <jakub@redhat.com> 3.3-3 - update from gcc-3_3-branch - PRs target/11044, 10871, bootstrap/10805, c/10355, ada/6399, c++/10956, c++/10849, c++/10682, libstdc++/9815, libstdc++/11062, libstdc++/10689 - position independent executable support (-pie/-fpie/-fPIE) - better optimize builtin mempcpy and stpcpy Tue May 20 2003 Jakub Jelinek <jakub@redhat.com> 3.3-2 - update from gcc-3_3-branch - name lookup improvements - PRs c++/10661, c++/5388 - ppc TLS, bi-arch plus 2 other patches Sat May 17 2003 Jakub Jelinek <jakub@redhat.com> 3.3-1 - new rpm
2004-09-09 05:36:47 +00:00
#ifdef __sparc__
register void *__thread_self __asm ("g7");
#endif
#include <unistd.h>
#include <fcntl.h>
2005-05-12 13:26:05 +00:00
#include <syscall.h>
auto-import changelog data from gcc-3.3.2-1.src.rpm Thu Oct 23 2003 Jakub Jelinek <jakub@redhat.com> 3.3.2-1 - update from gcc-3_3-branch - 3.3.2 release - PRs debug/12500, c/11885, bootstrap/9330, target/11087, target/11949, optimization/12544, optimization/12510, bootstrap/12490, optimization/12215, optimization/11637, c/12446, 11883, optimization/12180, 12292, 12072, optimization/11753, c++/12369, c++/7939, c++/11878, c++/11063, c++/10147, c++/12337, c++/12344, c++/12236, c++/8656, c++/11409, c++/12486, libstdc++/10081, libstdc++/11740, libstdc++/12451 - fix java signal handling (Ulrich Weigand) Thu Oct 02 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-6 - update from gcc-3_3-branch - PRs optimization/12340, bootstrap/12358, target/9786, target/12301, target/12166, target/11184, optimization/11646, c++/11991, c++/12266, libstdc++/12296, libstdc++/11400, libstdc++/11065 - fix invalid C++ tree sharing bug (Mark Mitchell, #105784) Tue Sep 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-5 - update from gcc-3_3-branch - PRs fortran/11522, target/11965, target/12224, target/11689, c++/11852, optimization/11662, target/12070, opt/12082, c/9862, target/8869, c/10962, c++/3907, c++/11595, c++/11786, c++/5296, c++/12181, c++/11867, c++/12163, c++/12146, libstdc++/12189 - fix cpp -lang-asm bug (Alexandre Oliva) - add __attribute__((warn_unused_result)) support - use --start-group -lgcc -lgcc_eh -lc --end-group when doing static linking Sun Sep 07 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-4 - split insns right before regstack on IA-32 at -O1 (#102493) Fri Sep 05 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-3 - update from gcc-3_3-branch - PRs 10988, target/11805, c/11207, c++/12114, c++/11928, c++/5293 - export _Unwind_GetBSP@@GCC_3.3.2 from libgcc_s.so on IA-64 - fix linux kernel miscompilation with __builtin_expect (#102747) Sat Aug 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-2 - update from gcc-3_3-branch - PRs optimization/11319, target/10021 - SPARC TLS support - fix libgcc_post_upgrade on sparc64 - fix a bug in finish_struct Tue Aug 12 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-1 - update from gcc-3_3-branch - gcc 3.3.1 release - PRs target/11693, c++/11712, target/9877, target/8336, c/11370, 11709, preprocessor/11534, 10510, 11313, target/10681, c++/11713, libstdc++/11784, - fix IA-64 __builtin_return_address (Richard Henderson, #99220, PR target/11535) - speed up get_identifier with string literal argument (Roger Sayle) - fix cross-jumping on s390 (#91185) Thu Jul 31 2003 Jakub Jelinek <jakub@redhat.com> 3.3-17 - fix an amd64 TLS pic bug - remove libgcc's %postun Tue Jul 29 2003 Jakub Jelinek <jakub@redhat.com> 3.3-16 - update from gcc-3_3-branch - PR c++/10796 - don't destroy argument to fold/convert/extract_muldiv (#98550) - add -Wdeclaration-after-statement (Hans-Peter Nilsson) - statically link /usr/sbin/libgcc_post_upgrade - BuildRequire bison and flex (#98920) - fix merge bug in store_by_pieces - kill some warnings Fri Jul 25 2003 Jakub Jelinek <jakub@redhat.com> 3.3-15 - update from gcc-3_3-branch - PRs 8878, target/11607, target/11516, optimization/10679, optimization/11599, optimization/11536, debug/11279, optimization/4490, target/11556, optimization/11083, optimization/11557, bootstrap/11043, other/11466, target/10907, target/11087, c++/11513, c++/11645, c++/11282, c++/11546, libstdc++/11528 - add /usr/sbin/libgcc_post_upgrade, use it in libgcc's %post - turn off autorequires for libgcc Wed Jul 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3-14 - update from gcc-3_3-branch - PRs debug/11473, optimization/11320, debug/11098, optimization/11440, optimization/11059, optimization/10877, c++/1607, c++/9738, c++/5287, c++/7910, c++/11021, optimization/9745, bootstrap/10758, c++/10032, target/11453, target/10021, c++/7053, c++/11154, c++/11503, c++/8164, c++/10558, c++/10032, c++/10527, c++/10849, c++/11236, libgcj/10886, libgcj/10838 - export __gcc_personality_{v,sj}0 from libgcc_s - fix ppc64 unwinding through signal frames - don't access memory below 288 bytes under $r1 on ppc64 in libgcc_eh.a - fix string-opt-8.c testcase after strcmp/strncmp fix on s390 - fix ppc32 MD_FALLBACK_FRAME_STATE_FOR - fix builtin strcmp and strncmp miscompilation on s390{,x} - fix IA-64 bootstrap failure caused during schedule_ebbs Wed Jul 09 2003 Jakub Jelinek <jakub@redhat.com> 3.3-13 - update from gcc-3_3-branch - fix amd64 -fpic with volatile variable (#98518, c/11420) - fix strength reduction causing miscompilation of pwlib on s390x - PRs 10900, optimization/11368, optimization/11198, optimization/11304, target/10700, optimization/11381, 2873, target/11014, optimization/11054, bootstrap/3163, other/11280, target/11084, target/11260, c++/11345, c++/11431, c++/6949, c++/11137, c++/11149, c++/9559, c++/11106, c++/10468, c++/10796, c++/11332, c++/10990, c++/10931, c++/5754 - move cc1 to cpp package, so that cpp can work even when gcc and devel packages aren't installed - Intel Prescott support (H.J.Lu) - optimize builtin sprintf (Roger Sayle) Tue Jun 24 2003 Jakub Jelinek <jakub@redhat.com> 3.3-12 - update from gcc-3_3-branch - new libstdc++ abilist files - update check-abi logic in the spec file Mon Jun 23 2003 Jakub Jelinek <jakub@redhat.com> 3.3-11 - update from gcc-3_3-branch - PRs c++/9393, c++/10888, driver/9362, preprocessor/11022, c++/10784, c++/10864, c++/10915, c++/10845, c++/10939, c++/9649, c++/11041, c++/11228, bootstrap/11272 - fix GC problems introduced in c++/11105 fix - fix a bug in builtin strcpy evaluation - optimize more cases of builtin strlen, str*cmp, strcpy, strncpy, fputs Mon Jun 23 2003 Jakub Jelinek <jakub@redhat.com> 3.3-10 - fix cc1plus segfault when a mangling hashtable was expanded for the first time (introduced in c++/11105 fix) Sun Jun 22 2003 Jakub Jelinek <jakub@redhat.com> 3.3-9 - fix -fpic virtual thunks on amd64 - fix g++.dg/init/new6.C regression introduced in 3.3-8 Sat Jun 21 2003 Jakub Jelinek <jakub@redhat.com> 3.3-8 - update from gcc-3_3-branch - PRs c++/10929, c++/10712, c++/11105 - _Unwind_GetCFA and _Unwind_FindEnclosingFunction implemented in ia64 libgcc_s.so - ppc32 libffi fixes (Franz Sirl) - don't warn about #pragma once if -Wno-deprecated (Jason Merrill, #97723) - fix s390 thunks, call a local alias of method instead of the exported symbols in thunks if assembler supports .set - fix a bug in gcc driver hack for ICE analysis which caused some reproduceable bugs printed as non-reproduceable Mon Jun 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3-7 - update from gcc-3_3-branch - PRs target/8787, inline-asm/4823, target/7594, middle-end/10475, optimization/10955, target/10142, middle-end/10557, target/11183, optimization/10842, c++/10635, debug/9864 - use la instead of ar on s390 to initialize got register - change asm name of some further implicitely generated builtins when using __asm on the builtin function Wed Jun 11 2003 Jakub Jelinek <jakub@redhat.com> 3.3-6 - update from gcc-3_3-branch - PRs inline-asm/10890, target/11052, target/10331, target/11096, target/10663, c++/10968, 8861, c++/11039, c++/10940, libstdc++/11095 - define __EXCEPTIONS in C if -fexceptions - fix warning about frontend unsupported switches (#97165) - fix filename printed in -Winline called from here warning - don't build -msoft-float multilibs on ppc* even in -m32 - install unwind.h Thu Jun 05 2003 Jakub Jelinek <jakub@redhat.com> 3.3-5 - update from gcc-3_3-branch - PRs optimization/11018, optimization/10876, target/10673 - __attribute__((cleanup)) (Richard Henderson) - add a gcc driver hack to check reproduceability of ICEs and create preproccessed testcase if they are reproduceable - make sure libgcc.a objects have non-exec .note.GNU-stack - fix ppc64 build Wed Jun 04 2003 Jakub Jelinek <jakub@redhat.com> 3.3-4 - mark object files with .note.GNU-stack notes whether they need or don't need executable stack Tue Jun 03 2003 Jakub Jelinek <jakub@redhat.com> 3.3-3 - update from gcc-3_3-branch - PRs target/11044, 10871, bootstrap/10805, c/10355, ada/6399, c++/10956, c++/10849, c++/10682, libstdc++/9815, libstdc++/11062, libstdc++/10689 - position independent executable support (-pie/-fpie/-fPIE) - better optimize builtin mempcpy and stpcpy Tue May 20 2003 Jakub Jelinek <jakub@redhat.com> 3.3-2 - update from gcc-3_3-branch - name lookup improvements - PRs c++/10661, c++/5388 - ppc TLS, bi-arch plus 2 other patches Sat May 17 2003 Jakub Jelinek <jakub@redhat.com> 3.3-1 - new rpm
2004-09-09 05:36:47 +00:00
2005-05-12 13:26:05 +00:00
#if defined __i386__
# define INTERNAL_SYSCALL_DECL(err) do { } while (0)
# define INTERNAL_SYSCALL(name, err, nr, args...) \
({ \
register unsigned int resultvar; \
asm volatile ( \
"movl %1, %%eax\n\t" \
"int $0x80\n\t" \
: "=a" (resultvar) \
: "i" (__NR_##name) ASMFMT_##nr(args) : "memory", "cc"); \
(int) resultvar; })
# define INTERNAL_SYSCALL_ERROR_P(val, err) \
((unsigned int) (val) >= 0xfffff001u)
# define ASMFMT_0()
# define ASMFMT_1(arg1) \
, "b" (arg1)
# define ASMFMT_2(arg1, arg2) \
, "b" (arg1), "c" (arg2)
# define ASMFMT_3(arg1, arg2, arg3) \
, "b" (arg1), "c" (arg2), "d" (arg3)
#elif defined __x86_64__
# define INTERNAL_SYSCALL_DECL(err) do { } while (0)
# define INTERNAL_SYSCALL_NCS(name, err, nr, args...) \
({ \
unsigned long resultvar; \
LOAD_ARGS_##nr (args) \
LOAD_REGS_##nr \
asm volatile ( \
"syscall\n\t" \
: "=a" (resultvar) \
: "0" (name) ASM_ARGS_##nr : "memory", "cc", "r11", "cx"); \
(long) resultvar; })
# define INTERNAL_SYSCALL(name, err, nr, args...) \
INTERNAL_SYSCALL_NCS (__NR_##name, err, nr, ##args)
# define INTERNAL_SYSCALL_ERROR_P(val, err) \
((unsigned long) (val) >= -4095L)
# define LOAD_ARGS_0()
# define LOAD_REGS_0
# define ASM_ARGS_0
# define LOAD_ARGS_1(a1) \
long int __arg1 = (long) (a1); \
LOAD_ARGS_0 ()
# define LOAD_REGS_1 \
register long int _a1 asm ("rdi") = __arg1; \
LOAD_REGS_0
# define ASM_ARGS_1 ASM_ARGS_0, "r" (_a1)
# define LOAD_ARGS_2(a1, a2) \
long int __arg2 = (long) (a2); \
LOAD_ARGS_1 (a1)
# define LOAD_REGS_2 \
register long int _a2 asm ("rsi") = __arg2; \
LOAD_REGS_1
# define ASM_ARGS_2 ASM_ARGS_1, "r" (_a2)
# define LOAD_ARGS_3(a1, a2, a3) \
long int __arg3 = (long) (a3); \
LOAD_ARGS_2 (a1, a2)
# define LOAD_REGS_3 \
register long int _a3 asm ("rdx") = __arg3; \
LOAD_REGS_2
# define ASM_ARGS_3 ASM_ARGS_2, "r" (_a3)
#elif defined __powerpc__
# define INTERNAL_SYSCALL_DECL(err) long int err
# define INTERNAL_SYSCALL_NCS(name, err, nr, args...) \
({ \
register long int r0 __asm__ ("r0"); \
register long int r3 __asm__ ("r3"); \
register long int r4 __asm__ ("r4"); \
register long int r5 __asm__ ("r5"); \
register long int r6 __asm__ ("r6"); \
register long int r7 __asm__ ("r7"); \
register long int r8 __asm__ ("r8"); \
LOADARGS_##nr(name, args); \
__asm__ __volatile__ \
("sc\n\t" \
"mfcr %0\n\t" \
: "=&r" (r0), \
"=&r" (r3), "=&r" (r4), "=&r" (r5), \
"=&r" (r6), "=&r" (r7), "=&r" (r8) \
: ASM_INPUT_##nr \
: "r9", "r10", "r11", "r12", \
"cr0", "ctr", "memory"); \
err = r0; \
(int) r3; \
})
# define INTERNAL_SYSCALL(name, err, nr, args...) \
INTERNAL_SYSCALL_NCS (__NR_##name, err, nr, ##args)
# define INTERNAL_SYSCALL_ERROR_P(val, err) \
((void) (val), __builtin_expect ((err) & (1 << 28), 0))
# define LOADARGS_0(name, dummy) \
r0 = name
# define LOADARGS_1(name, __arg1) \
long int arg1 = (long int) (__arg1); \
LOADARGS_0(name, 0); \
r3 = arg1
# define LOADARGS_2(name, __arg1, __arg2) \
long int arg2 = (long int) (__arg2); \
LOADARGS_1(name, __arg1); \
r4 = arg2
# define LOADARGS_3(name, __arg1, __arg2, __arg3) \
long int arg3 = (long int) (__arg3); \
LOADARGS_2(name, __arg1, __arg2); \
r5 = arg3
# define ASM_INPUT_0 "0" (r0)
# define ASM_INPUT_1 ASM_INPUT_0, "1" (r3)
# define ASM_INPUT_2 ASM_INPUT_1, "2" (r4)
# define ASM_INPUT_3 ASM_INPUT_2, "3" (r5)
#elif defined __ia64__
# define DO_INLINE_SYSCALL_NCS(name, nr, args...) \
LOAD_ARGS_##nr (args) \
register long _r8 asm ("r8"); \
register long _r10 asm ("r10"); \
register long _r15 asm ("r15") = name; \
long _retval; \
LOAD_REGS_##nr \
__asm __volatile ("break 0x100000;;" \
: "=r" (_r8), "=r" (_r10), "=r" (_r15) \
ASM_OUTARGS_##nr \
: "2" (_r15) ASM_ARGS_##nr \
: "memory" ASM_CLOBBERS_##nr); \
_retval = _r8;
# define INTERNAL_SYSCALL_DECL(err) long int err
# define INTERNAL_SYSCALL_NCS(name, err, nr, args...) \
({ \
DO_INLINE_SYSCALL_NCS (name, nr, args) \
err = _r10; \
_retval; })
# define INTERNAL_SYSCALL(name, err, nr, args...) \
INTERNAL_SYSCALL_NCS (__NR_##name, err, nr, ##args)
# define INTERNAL_SYSCALL_ERROR_P(val, err) (err == -1)
# define LOAD_ARGS_0()
# define LOAD_REGS_0
# define LOAD_ARGS_1(a1) \
long _arg1 = (long) (a1); \
LOAD_ARGS_0 ()
# define LOAD_REGS_1 \
register long _out0 asm ("out0") = _arg1; \
LOAD_REGS_0
# define LOAD_ARGS_2(a1, a2) \
long _arg2 = (long) (a2); \
LOAD_ARGS_1 (a1)
# define LOAD_REGS_2 \
register long _out1 asm ("out1") = _arg2; \
LOAD_REGS_1
# define LOAD_ARGS_3(a1, a2, a3) \
long _arg3 = (long) (a3); \
LOAD_ARGS_2 (a1, a2)
# define LOAD_REGS_3 \
register long _out2 asm ("out2") = _arg3; \
LOAD_REGS_2
# define ASM_OUTARGS_0
# define ASM_OUTARGS_1 ASM_OUTARGS_0, "=r" (_out0)
# define ASM_OUTARGS_2 ASM_OUTARGS_1, "=r" (_out1)
# define ASM_OUTARGS_3 ASM_OUTARGS_2, "=r" (_out2)
# define ASM_ARGS_0
# define ASM_ARGS_1 ASM_ARGS_0, "3" (_out0)
# define ASM_ARGS_2 ASM_ARGS_1, "4" (_out1)
# define ASM_ARGS_3 ASM_ARGS_2, "5" (_out2)
# define ASM_CLOBBERS_0 ASM_CLOBBERS_1, "out0"
# define ASM_CLOBBERS_1 ASM_CLOBBERS_2, "out1"
# define ASM_CLOBBERS_2 ASM_CLOBBERS_3, "out2"
# define ASM_CLOBBERS_3 ASM_CLOBBERS_4, "out3"
# define ASM_CLOBBERS_4 ASM_CLOBBERS_5, "out4"
# define ASM_CLOBBERS_5 ASM_CLOBBERS_6, "out5"
# define ASM_CLOBBERS_6_COMMON , "out6", "out7", \
/* Non-stacked integer registers, minus r8, r10, r15. */ \
"r2", "r3", "r9", "r11", "r12", "r13", "r14", "r16", "r17", "r18", \
"r19", "r20", "r21", "r22", "r23", "r24", "r25", "r26", "r27", \
"r28", "r29", "r30", "r31", \
/* Predicate registers. */ \
"p6", "p7", "p8", "p9", "p10", "p11", "p12", "p13", "p14", "p15", \
/* Non-rotating fp registers. */ \
"f6", "f7", "f8", "f9", "f10", "f11", "f12", "f13", "f14", "f15", \
/* Branch registers. */ \
"b6"
# define ASM_CLOBBERS_6 ASM_CLOBBERS_6_COMMON , "b7"
#elif defined __s390__
# define INTERNAL_SYSCALL_DECL(err) do { } while (0)
# define INTERNAL_SYSCALL_DIRECT(name, err, nr, args...) \
({ \
DECLARGS_##nr(args) \
register long _ret asm("2"); \
asm volatile ( \
"svc %b1\n\t" \
: "=d" (_ret) \
: "i" (__NR_##name) ASMFMT_##nr \
: "memory" ); \
_ret; })
# define INTERNAL_SYSCALL_SVC0(name, err, nr, args...) \
({ \
DECLARGS_##nr(args) \
register unsigned long _nr asm("1") = (unsigned long)(__NR_##name); \
register long _ret asm("2"); \
asm volatile ( \
"svc 0\n\t" \
: "=d" (_ret) \
: "d" (_nr) ASMFMT_##nr \
: "memory" ); \
_ret; })
# define INTERNAL_SYSCALL(name, err, nr, args...) \
(((__NR_##name) < 256) ? \
INTERNAL_SYSCALL_DIRECT(name, err, nr, args) : \
INTERNAL_SYSCALL_SVC0(name, err,nr, args))
# define INTERNAL_SYSCALL_ERROR_P(val, err) \
((unsigned long) (val) >= -4095UL)
# define DECLARGS_0()
# define DECLARGS_1(arg1) \
register unsigned long gpr2 asm ("2") = (unsigned long)(arg1);
# define DECLARGS_2(arg1, arg2) \
DECLARGS_1(arg1) \
register unsigned long gpr3 asm ("3") = (unsigned long)(arg2);
# define DECLARGS_3(arg1, arg2, arg3) \
DECLARGS_2(arg1, arg2) \
register unsigned long gpr4 asm ("4") = (unsigned long)(arg3);
# define ASMFMT_0
# define ASMFMT_1 , "0" (gpr2)
# define ASMFMT_2 , "0" (gpr2), "d" (gpr3)
# define ASMFMT_3 , "0" (gpr2), "d" (gpr3), "d" (gpr4)
#elif defined __sparc__
# ifndef __arch64__
# define __INTERNAL_SYSCALL_STRING \
"ta 0x10;" \
"bcs,a 1f;" \
" sub %%g0, %%o0, %%o0;" \
"1:"
# define __SYSCALL_CLOBBERS "g2", "g3", "g4", "g5", "g6", \
"f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", \
"f8", "f9", "f10", "f11", "f12", "f13", "f14", "f15", \
"f16", "f17", "f18", "f19", "f20", "f21", "f22", "f23", \
"f24", "f25", "f26", "f27", "f28", "f29", "f30", "f31", \
"cc", "memory"
# else
# define __INTERNAL_SYSCALL_STRING \
"ta 0x6d;" \
"bcs,a,pt %%xcc, 1f;" \
" sub %%g0, %%o0, %%o0;" \
"1:"
# define __SYSCALL_CLOBBERS "g2", "g3", "g4", "g5", "g6", \
"f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", \
"f8", "f9", "f10", "f11", "f12", "f13", "f14", "f15", \
"f16", "f17", "f18", "f19", "f20", "f21", "f22", "f23", \
"f24", "f25", "f26", "f27", "f28", "f29", "f30", "f31", \
"f32", "f34", "f36", "f38", "f40", "f42", "f44", "f46", \
"f48", "f50", "f52", "f54", "f56", "f58", "f60", "f62", \
"cc", "memory"
# endif
#define INTERNAL_SYSCALL_DECL(err) do { } while (0)
#define INTERNAL_SYSCALL(name, err, nr, args...) \
inline_syscall##nr(__INTERNAL_SYSCALL_STRING, __NR_##name, args)
#define INTERNAL_SYSCALL_ERROR_P(val, err) \
((unsigned long) (val) >= -515L)
# define inline_syscall0(string,name,dummy...) \
({ \
register long __o0 __asm__ ("o0"); \
register long __g1 __asm__ ("g1") = name; \
__asm __volatile (string : "=r" (__g1), "=r" (__o0) : \
"0" (__g1) : \
__SYSCALL_CLOBBERS); \
__o0; \
})
# define inline_syscall1(string,name,arg1) \
({ \
register long __o0 __asm__ ("o0") = (long)(arg1); \
register long __g1 __asm__ ("g1") = name; \
__asm __volatile (string : "=r" (__g1), "=r" (__o0) : \
"0" (__g1), "1" (__o0) : \
__SYSCALL_CLOBBERS); \
__o0; \
})
# define inline_syscall2(string,name,arg1,arg2) \
({ \
register long __o0 __asm__ ("o0") = (long)(arg1); \
register long __o1 __asm__ ("o1") = (long)(arg2); \
register long __g1 __asm__ ("g1") = name; \
__asm __volatile (string : "=r" (__g1), "=r" (__o0) : \
"0" (__g1), "1" (__o0), "r" (__o1) : \
__SYSCALL_CLOBBERS); \
__o0; \
})
# define inline_syscall3(string,name,arg1,arg2,arg3) \
({ \
register long __o0 __asm__ ("o0") = (long)(arg1); \
register long __o1 __asm__ ("o1") = (long)(arg2); \
register long __o2 __asm__ ("o2") = (long)(arg3); \
register long __g1 __asm__ ("g1") = name; \
__asm __volatile (string : "=r" (__g1), "=r" (__o0) : \
"0" (__g1), "1" (__o0), "r" (__o1), \
"r" (__o2) : \
__SYSCALL_CLOBBERS); \
__o0; \
})
#elif defined __alpha__
# define INTERNAL_SYSCALL(name, err_out, nr, args...) \
INTERNAL_SYSCALL1(name, err_out, nr, args)
# define INTERNAL_SYSCALL1(name, err_out, nr, args...) \
INTERNAL_SYSCALL_NCS(__NR_##name, err_out, nr, args)
# define INTERNAL_SYSCALL_NCS(name, err_out, nr, args...) \
({ \
long _sc_ret, _sc_err; \
inline_syscall##nr(name, args); \
err_out = _sc_err; \
_sc_ret; \
})
# define INTERNAL_SYSCALL_DECL(err) long int err
# define INTERNAL_SYSCALL_ERROR_P(val, err) err
# define inline_syscall_clobbers \
"$1", "$2", "$3", "$4", "$5", "$6", "$7", "$8", \
"$22", "$23", "$24", "$25", "$27", "$28", "memory"
# define inline_syscall_r0_asm
# define inline_syscall_r0_out_constraint "=v"
# define inline_syscall0(name, args...) \
{ \
register long _sc_0 inline_syscall_r0_asm; \
register long _sc_19 __asm__("$19"); \
\
_sc_0 = name; \
__asm__ __volatile__ \
("callsys # %0 %1 <= %2" \
: inline_syscall_r0_out_constraint (_sc_0), \
"=r"(_sc_19) \
: "0"(_sc_0) \
: inline_syscall_clobbers, \
"$16", "$17", "$18", "$20", "$21"); \
_sc_ret = _sc_0, _sc_err = _sc_19; \
}
# define inline_syscall1(name,arg1) \
{ \
register long _sc_0 inline_syscall_r0_asm; \
register long _sc_16 __asm__("$16"); \
register long _sc_19 __asm__("$19"); \
\
_sc_0 = name; \
_sc_16 = (long) (arg1); \
__asm__ __volatile__ \
("callsys # %0 %1 <= %2 %3" \
: inline_syscall_r0_out_constraint (_sc_0), \
"=r"(_sc_19), "=r"(_sc_16) \
: "0"(_sc_0), "2"(_sc_16) \
: inline_syscall_clobbers, \
"$17", "$18", "$20", "$21"); \
_sc_ret = _sc_0, _sc_err = _sc_19; \
}
# define inline_syscall2(name,arg1,arg2) \
{ \
register long _sc_0 inline_syscall_r0_asm; \
register long _sc_16 __asm__("$16"); \
register long _sc_17 __asm__("$17"); \
register long _sc_19 __asm__("$19"); \
\
_sc_0 = name; \
_sc_16 = (long) (arg1); \
_sc_17 = (long) (arg2); \
__asm__ __volatile__ \
("callsys # %0 %1 <= %2 %3 %4" \
: inline_syscall_r0_out_constraint (_sc_0), \
"=r"(_sc_19), "=r"(_sc_16), "=r"(_sc_17) \
: "0"(_sc_0), "2"(_sc_16), "3"(_sc_17) \
: inline_syscall_clobbers, \
"$18", "$20", "$21"); \
_sc_ret = _sc_0, _sc_err = _sc_19; \
}
# define inline_syscall3(name,arg1,arg2,arg3) \
{ \
register long _sc_0 inline_syscall_r0_asm; \
register long _sc_16 __asm__("$16"); \
register long _sc_17 __asm__("$17"); \
register long _sc_18 __asm__("$18"); \
register long _sc_19 __asm__("$19"); \
\
_sc_0 = name; \
_sc_16 = (long) (arg1); \
_sc_17 = (long) (arg2); \
_sc_18 = (long) (arg3); \
__asm__ __volatile__ \
("callsys # %0 %1 <= %2 %3 %4 %5" \
: inline_syscall_r0_out_constraint (_sc_0), \
"=r"(_sc_19), "=r"(_sc_16), "=r"(_sc_17), \
"=r"(_sc_18) \
: "0"(_sc_0), "2"(_sc_16), "3"(_sc_17), \
"4"(_sc_18) \
: inline_syscall_clobbers, "$20", "$21"); \
_sc_ret = _sc_0, _sc_err = _sc_19; \
}
#endif
auto-import changelog data from gcc-3.3.2-1.src.rpm Thu Oct 23 2003 Jakub Jelinek <jakub@redhat.com> 3.3.2-1 - update from gcc-3_3-branch - 3.3.2 release - PRs debug/12500, c/11885, bootstrap/9330, target/11087, target/11949, optimization/12544, optimization/12510, bootstrap/12490, optimization/12215, optimization/11637, c/12446, 11883, optimization/12180, 12292, 12072, optimization/11753, c++/12369, c++/7939, c++/11878, c++/11063, c++/10147, c++/12337, c++/12344, c++/12236, c++/8656, c++/11409, c++/12486, libstdc++/10081, libstdc++/11740, libstdc++/12451 - fix java signal handling (Ulrich Weigand) Thu Oct 02 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-6 - update from gcc-3_3-branch - PRs optimization/12340, bootstrap/12358, target/9786, target/12301, target/12166, target/11184, optimization/11646, c++/11991, c++/12266, libstdc++/12296, libstdc++/11400, libstdc++/11065 - fix invalid C++ tree sharing bug (Mark Mitchell, #105784) Tue Sep 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-5 - update from gcc-3_3-branch - PRs fortran/11522, target/11965, target/12224, target/11689, c++/11852, optimization/11662, target/12070, opt/12082, c/9862, target/8869, c/10962, c++/3907, c++/11595, c++/11786, c++/5296, c++/12181, c++/11867, c++/12163, c++/12146, libstdc++/12189 - fix cpp -lang-asm bug (Alexandre Oliva) - add __attribute__((warn_unused_result)) support - use --start-group -lgcc -lgcc_eh -lc --end-group when doing static linking Sun Sep 07 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-4 - split insns right before regstack on IA-32 at -O1 (#102493) Fri Sep 05 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-3 - update from gcc-3_3-branch - PRs 10988, target/11805, c/11207, c++/12114, c++/11928, c++/5293 - export _Unwind_GetBSP@@GCC_3.3.2 from libgcc_s.so on IA-64 - fix linux kernel miscompilation with __builtin_expect (#102747) Sat Aug 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-2 - update from gcc-3_3-branch - PRs optimization/11319, target/10021 - SPARC TLS support - fix libgcc_post_upgrade on sparc64 - fix a bug in finish_struct Tue Aug 12 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-1 - update from gcc-3_3-branch - gcc 3.3.1 release - PRs target/11693, c++/11712, target/9877, target/8336, c/11370, 11709, preprocessor/11534, 10510, 11313, target/10681, c++/11713, libstdc++/11784, - fix IA-64 __builtin_return_address (Richard Henderson, #99220, PR target/11535) - speed up get_identifier with string literal argument (Roger Sayle) - fix cross-jumping on s390 (#91185) Thu Jul 31 2003 Jakub Jelinek <jakub@redhat.com> 3.3-17 - fix an amd64 TLS pic bug - remove libgcc's %postun Tue Jul 29 2003 Jakub Jelinek <jakub@redhat.com> 3.3-16 - update from gcc-3_3-branch - PR c++/10796 - don't destroy argument to fold/convert/extract_muldiv (#98550) - add -Wdeclaration-after-statement (Hans-Peter Nilsson) - statically link /usr/sbin/libgcc_post_upgrade - BuildRequire bison and flex (#98920) - fix merge bug in store_by_pieces - kill some warnings Fri Jul 25 2003 Jakub Jelinek <jakub@redhat.com> 3.3-15 - update from gcc-3_3-branch - PRs 8878, target/11607, target/11516, optimization/10679, optimization/11599, optimization/11536, debug/11279, optimization/4490, target/11556, optimization/11083, optimization/11557, bootstrap/11043, other/11466, target/10907, target/11087, c++/11513, c++/11645, c++/11282, c++/11546, libstdc++/11528 - add /usr/sbin/libgcc_post_upgrade, use it in libgcc's %post - turn off autorequires for libgcc Wed Jul 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3-14 - update from gcc-3_3-branch - PRs debug/11473, optimization/11320, debug/11098, optimization/11440, optimization/11059, optimization/10877, c++/1607, c++/9738, c++/5287, c++/7910, c++/11021, optimization/9745, bootstrap/10758, c++/10032, target/11453, target/10021, c++/7053, c++/11154, c++/11503, c++/8164, c++/10558, c++/10032, c++/10527, c++/10849, c++/11236, libgcj/10886, libgcj/10838 - export __gcc_personality_{v,sj}0 from libgcc_s - fix ppc64 unwinding through signal frames - don't access memory below 288 bytes under $r1 on ppc64 in libgcc_eh.a - fix string-opt-8.c testcase after strcmp/strncmp fix on s390 - fix ppc32 MD_FALLBACK_FRAME_STATE_FOR - fix builtin strcmp and strncmp miscompilation on s390{,x} - fix IA-64 bootstrap failure caused during schedule_ebbs Wed Jul 09 2003 Jakub Jelinek <jakub@redhat.com> 3.3-13 - update from gcc-3_3-branch - fix amd64 -fpic with volatile variable (#98518, c/11420) - fix strength reduction causing miscompilation of pwlib on s390x - PRs 10900, optimization/11368, optimization/11198, optimization/11304, target/10700, optimization/11381, 2873, target/11014, optimization/11054, bootstrap/3163, other/11280, target/11084, target/11260, c++/11345, c++/11431, c++/6949, c++/11137, c++/11149, c++/9559, c++/11106, c++/10468, c++/10796, c++/11332, c++/10990, c++/10931, c++/5754 - move cc1 to cpp package, so that cpp can work even when gcc and devel packages aren't installed - Intel Prescott support (H.J.Lu) - optimize builtin sprintf (Roger Sayle) Tue Jun 24 2003 Jakub Jelinek <jakub@redhat.com> 3.3-12 - update from gcc-3_3-branch - new libstdc++ abilist files - update check-abi logic in the spec file Mon Jun 23 2003 Jakub Jelinek <jakub@redhat.com> 3.3-11 - update from gcc-3_3-branch - PRs c++/9393, c++/10888, driver/9362, preprocessor/11022, c++/10784, c++/10864, c++/10915, c++/10845, c++/10939, c++/9649, c++/11041, c++/11228, bootstrap/11272 - fix GC problems introduced in c++/11105 fix - fix a bug in builtin strcpy evaluation - optimize more cases of builtin strlen, str*cmp, strcpy, strncpy, fputs Mon Jun 23 2003 Jakub Jelinek <jakub@redhat.com> 3.3-10 - fix cc1plus segfault when a mangling hashtable was expanded for the first time (introduced in c++/11105 fix) Sun Jun 22 2003 Jakub Jelinek <jakub@redhat.com> 3.3-9 - fix -fpic virtual thunks on amd64 - fix g++.dg/init/new6.C regression introduced in 3.3-8 Sat Jun 21 2003 Jakub Jelinek <jakub@redhat.com> 3.3-8 - update from gcc-3_3-branch - PRs c++/10929, c++/10712, c++/11105 - _Unwind_GetCFA and _Unwind_FindEnclosingFunction implemented in ia64 libgcc_s.so - ppc32 libffi fixes (Franz Sirl) - don't warn about #pragma once if -Wno-deprecated (Jason Merrill, #97723) - fix s390 thunks, call a local alias of method instead of the exported symbols in thunks if assembler supports .set - fix a bug in gcc driver hack for ICE analysis which caused some reproduceable bugs printed as non-reproduceable Mon Jun 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3-7 - update from gcc-3_3-branch - PRs target/8787, inline-asm/4823, target/7594, middle-end/10475, optimization/10955, target/10142, middle-end/10557, target/11183, optimization/10842, c++/10635, debug/9864 - use la instead of ar on s390 to initialize got register - change asm name of some further implicitely generated builtins when using __asm on the builtin function Wed Jun 11 2003 Jakub Jelinek <jakub@redhat.com> 3.3-6 - update from gcc-3_3-branch - PRs inline-asm/10890, target/11052, target/10331, target/11096, target/10663, c++/10968, 8861, c++/11039, c++/10940, libstdc++/11095 - define __EXCEPTIONS in C if -fexceptions - fix warning about frontend unsupported switches (#97165) - fix filename printed in -Winline called from here warning - don't build -msoft-float multilibs on ppc* even in -m32 - install unwind.h Thu Jun 05 2003 Jakub Jelinek <jakub@redhat.com> 3.3-5 - update from gcc-3_3-branch - PRs optimization/11018, optimization/10876, target/10673 - __attribute__((cleanup)) (Richard Henderson) - add a gcc driver hack to check reproduceability of ICEs and create preproccessed testcase if they are reproduceable - make sure libgcc.a objects have non-exec .note.GNU-stack - fix ppc64 build Wed Jun 04 2003 Jakub Jelinek <jakub@redhat.com> 3.3-4 - mark object files with .note.GNU-stack notes whether they need or don't need executable stack Tue Jun 03 2003 Jakub Jelinek <jakub@redhat.com> 3.3-3 - update from gcc-3_3-branch - PRs target/11044, 10871, bootstrap/10805, c/10355, ada/6399, c++/10956, c++/10849, c++/10682, libstdc++/9815, libstdc++/11062, libstdc++/10689 - position independent executable support (-pie/-fpie/-fPIE) - better optimize builtin mempcpy and stpcpy Tue May 20 2003 Jakub Jelinek <jakub@redhat.com> 3.3-2 - update from gcc-3_3-branch - name lookup improvements - PRs c++/10661, c++/5388 - ppc TLS, bi-arch plus 2 other patches Sat May 17 2003 Jakub Jelinek <jakub@redhat.com> 3.3-1 - new rpm
2004-09-09 05:36:47 +00:00
2005-05-12 13:26:05 +00:00
int main (int argc, char **argv)
{
const char *arg[] = { "/sbin/ldconfig", 0 };
long ret;
INTERNAL_SYSCALL_DECL (err);
ret = INTERNAL_SYSCALL (access, err, 2, arg[0], X_OK);
if (INTERNAL_SYSCALL_ERROR_P (ret, err))
INTERNAL_SYSCALL (exit, err, 1, 0);
INTERNAL_SYSCALL (execve, err, 3, arg[0], arg, &argv[argc + 1]);
INTERNAL_SYSCALL (exit, err, 1, 110);
return 110;
auto-import changelog data from gcc-3.3.2-1.src.rpm Thu Oct 23 2003 Jakub Jelinek <jakub@redhat.com> 3.3.2-1 - update from gcc-3_3-branch - 3.3.2 release - PRs debug/12500, c/11885, bootstrap/9330, target/11087, target/11949, optimization/12544, optimization/12510, bootstrap/12490, optimization/12215, optimization/11637, c/12446, 11883, optimization/12180, 12292, 12072, optimization/11753, c++/12369, c++/7939, c++/11878, c++/11063, c++/10147, c++/12337, c++/12344, c++/12236, c++/8656, c++/11409, c++/12486, libstdc++/10081, libstdc++/11740, libstdc++/12451 - fix java signal handling (Ulrich Weigand) Thu Oct 02 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-6 - update from gcc-3_3-branch - PRs optimization/12340, bootstrap/12358, target/9786, target/12301, target/12166, target/11184, optimization/11646, c++/11991, c++/12266, libstdc++/12296, libstdc++/11400, libstdc++/11065 - fix invalid C++ tree sharing bug (Mark Mitchell, #105784) Tue Sep 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-5 - update from gcc-3_3-branch - PRs fortran/11522, target/11965, target/12224, target/11689, c++/11852, optimization/11662, target/12070, opt/12082, c/9862, target/8869, c/10962, c++/3907, c++/11595, c++/11786, c++/5296, c++/12181, c++/11867, c++/12163, c++/12146, libstdc++/12189 - fix cpp -lang-asm bug (Alexandre Oliva) - add __attribute__((warn_unused_result)) support - use --start-group -lgcc -lgcc_eh -lc --end-group when doing static linking Sun Sep 07 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-4 - split insns right before regstack on IA-32 at -O1 (#102493) Fri Sep 05 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-3 - update from gcc-3_3-branch - PRs 10988, target/11805, c/11207, c++/12114, c++/11928, c++/5293 - export _Unwind_GetBSP@@GCC_3.3.2 from libgcc_s.so on IA-64 - fix linux kernel miscompilation with __builtin_expect (#102747) Sat Aug 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-2 - update from gcc-3_3-branch - PRs optimization/11319, target/10021 - SPARC TLS support - fix libgcc_post_upgrade on sparc64 - fix a bug in finish_struct Tue Aug 12 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-1 - update from gcc-3_3-branch - gcc 3.3.1 release - PRs target/11693, c++/11712, target/9877, target/8336, c/11370, 11709, preprocessor/11534, 10510, 11313, target/10681, c++/11713, libstdc++/11784, - fix IA-64 __builtin_return_address (Richard Henderson, #99220, PR target/11535) - speed up get_identifier with string literal argument (Roger Sayle) - fix cross-jumping on s390 (#91185) Thu Jul 31 2003 Jakub Jelinek <jakub@redhat.com> 3.3-17 - fix an amd64 TLS pic bug - remove libgcc's %postun Tue Jul 29 2003 Jakub Jelinek <jakub@redhat.com> 3.3-16 - update from gcc-3_3-branch - PR c++/10796 - don't destroy argument to fold/convert/extract_muldiv (#98550) - add -Wdeclaration-after-statement (Hans-Peter Nilsson) - statically link /usr/sbin/libgcc_post_upgrade - BuildRequire bison and flex (#98920) - fix merge bug in store_by_pieces - kill some warnings Fri Jul 25 2003 Jakub Jelinek <jakub@redhat.com> 3.3-15 - update from gcc-3_3-branch - PRs 8878, target/11607, target/11516, optimization/10679, optimization/11599, optimization/11536, debug/11279, optimization/4490, target/11556, optimization/11083, optimization/11557, bootstrap/11043, other/11466, target/10907, target/11087, c++/11513, c++/11645, c++/11282, c++/11546, libstdc++/11528 - add /usr/sbin/libgcc_post_upgrade, use it in libgcc's %post - turn off autorequires for libgcc Wed Jul 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3-14 - update from gcc-3_3-branch - PRs debug/11473, optimization/11320, debug/11098, optimization/11440, optimization/11059, optimization/10877, c++/1607, c++/9738, c++/5287, c++/7910, c++/11021, optimization/9745, bootstrap/10758, c++/10032, target/11453, target/10021, c++/7053, c++/11154, c++/11503, c++/8164, c++/10558, c++/10032, c++/10527, c++/10849, c++/11236, libgcj/10886, libgcj/10838 - export __gcc_personality_{v,sj}0 from libgcc_s - fix ppc64 unwinding through signal frames - don't access memory below 288 bytes under $r1 on ppc64 in libgcc_eh.a - fix string-opt-8.c testcase after strcmp/strncmp fix on s390 - fix ppc32 MD_FALLBACK_FRAME_STATE_FOR - fix builtin strcmp and strncmp miscompilation on s390{,x} - fix IA-64 bootstrap failure caused during schedule_ebbs Wed Jul 09 2003 Jakub Jelinek <jakub@redhat.com> 3.3-13 - update from gcc-3_3-branch - fix amd64 -fpic with volatile variable (#98518, c/11420) - fix strength reduction causing miscompilation of pwlib on s390x - PRs 10900, optimization/11368, optimization/11198, optimization/11304, target/10700, optimization/11381, 2873, target/11014, optimization/11054, bootstrap/3163, other/11280, target/11084, target/11260, c++/11345, c++/11431, c++/6949, c++/11137, c++/11149, c++/9559, c++/11106, c++/10468, c++/10796, c++/11332, c++/10990, c++/10931, c++/5754 - move cc1 to cpp package, so that cpp can work even when gcc and devel packages aren't installed - Intel Prescott support (H.J.Lu) - optimize builtin sprintf (Roger Sayle) Tue Jun 24 2003 Jakub Jelinek <jakub@redhat.com> 3.3-12 - update from gcc-3_3-branch - new libstdc++ abilist files - update check-abi logic in the spec file Mon Jun 23 2003 Jakub Jelinek <jakub@redhat.com> 3.3-11 - update from gcc-3_3-branch - PRs c++/9393, c++/10888, driver/9362, preprocessor/11022, c++/10784, c++/10864, c++/10915, c++/10845, c++/10939, c++/9649, c++/11041, c++/11228, bootstrap/11272 - fix GC problems introduced in c++/11105 fix - fix a bug in builtin strcpy evaluation - optimize more cases of builtin strlen, str*cmp, strcpy, strncpy, fputs Mon Jun 23 2003 Jakub Jelinek <jakub@redhat.com> 3.3-10 - fix cc1plus segfault when a mangling hashtable was expanded for the first time (introduced in c++/11105 fix) Sun Jun 22 2003 Jakub Jelinek <jakub@redhat.com> 3.3-9 - fix -fpic virtual thunks on amd64 - fix g++.dg/init/new6.C regression introduced in 3.3-8 Sat Jun 21 2003 Jakub Jelinek <jakub@redhat.com> 3.3-8 - update from gcc-3_3-branch - PRs c++/10929, c++/10712, c++/11105 - _Unwind_GetCFA and _Unwind_FindEnclosingFunction implemented in ia64 libgcc_s.so - ppc32 libffi fixes (Franz Sirl) - don't warn about #pragma once if -Wno-deprecated (Jason Merrill, #97723) - fix s390 thunks, call a local alias of method instead of the exported symbols in thunks if assembler supports .set - fix a bug in gcc driver hack for ICE analysis which caused some reproduceable bugs printed as non-reproduceable Mon Jun 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3-7 - update from gcc-3_3-branch - PRs target/8787, inline-asm/4823, target/7594, middle-end/10475, optimization/10955, target/10142, middle-end/10557, target/11183, optimization/10842, c++/10635, debug/9864 - use la instead of ar on s390 to initialize got register - change asm name of some further implicitely generated builtins when using __asm on the builtin function Wed Jun 11 2003 Jakub Jelinek <jakub@redhat.com> 3.3-6 - update from gcc-3_3-branch - PRs inline-asm/10890, target/11052, target/10331, target/11096, target/10663, c++/10968, 8861, c++/11039, c++/10940, libstdc++/11095 - define __EXCEPTIONS in C if -fexceptions - fix warning about frontend unsupported switches (#97165) - fix filename printed in -Winline called from here warning - don't build -msoft-float multilibs on ppc* even in -m32 - install unwind.h Thu Jun 05 2003 Jakub Jelinek <jakub@redhat.com> 3.3-5 - update from gcc-3_3-branch - PRs optimization/11018, optimization/10876, target/10673 - __attribute__((cleanup)) (Richard Henderson) - add a gcc driver hack to check reproduceability of ICEs and create preproccessed testcase if they are reproduceable - make sure libgcc.a objects have non-exec .note.GNU-stack - fix ppc64 build Wed Jun 04 2003 Jakub Jelinek <jakub@redhat.com> 3.3-4 - mark object files with .note.GNU-stack notes whether they need or don't need executable stack Tue Jun 03 2003 Jakub Jelinek <jakub@redhat.com> 3.3-3 - update from gcc-3_3-branch - PRs target/11044, 10871, bootstrap/10805, c/10355, ada/6399, c++/10956, c++/10849, c++/10682, libstdc++/9815, libstdc++/11062, libstdc++/10689 - position independent executable support (-pie/-fpie/-fPIE) - better optimize builtin mempcpy and stpcpy Tue May 20 2003 Jakub Jelinek <jakub@redhat.com> 3.3-2 - update from gcc-3_3-branch - name lookup improvements - PRs c++/10661, c++/5388 - ppc TLS, bi-arch plus 2 other patches Sat May 17 2003 Jakub Jelinek <jakub@redhat.com> 3.3-1 - new rpm
2004-09-09 05:36:47 +00:00
}
int __libc_multiple_threads __attribute__((nocommon));
int __libc_enable_asynccancel (void) { return 0; }
void __libc_disable_asynccancel (int x) { }
void __libc_csu_init (void) { }
void __libc_csu_fini (void) { }
pid_t __fork (void) { return -1; }
char thr_buf[65536];
#ifndef __powerpc__
2005-05-12 13:26:05 +00:00
int __libc_start_main (int (*main) (int argc, char **argv),
int argc, char **argv,
auto-import changelog data from gcc-3.3.2-1.src.rpm Thu Oct 23 2003 Jakub Jelinek <jakub@redhat.com> 3.3.2-1 - update from gcc-3_3-branch - 3.3.2 release - PRs debug/12500, c/11885, bootstrap/9330, target/11087, target/11949, optimization/12544, optimization/12510, bootstrap/12490, optimization/12215, optimization/11637, c/12446, 11883, optimization/12180, 12292, 12072, optimization/11753, c++/12369, c++/7939, c++/11878, c++/11063, c++/10147, c++/12337, c++/12344, c++/12236, c++/8656, c++/11409, c++/12486, libstdc++/10081, libstdc++/11740, libstdc++/12451 - fix java signal handling (Ulrich Weigand) Thu Oct 02 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-6 - update from gcc-3_3-branch - PRs optimization/12340, bootstrap/12358, target/9786, target/12301, target/12166, target/11184, optimization/11646, c++/11991, c++/12266, libstdc++/12296, libstdc++/11400, libstdc++/11065 - fix invalid C++ tree sharing bug (Mark Mitchell, #105784) Tue Sep 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-5 - update from gcc-3_3-branch - PRs fortran/11522, target/11965, target/12224, target/11689, c++/11852, optimization/11662, target/12070, opt/12082, c/9862, target/8869, c/10962, c++/3907, c++/11595, c++/11786, c++/5296, c++/12181, c++/11867, c++/12163, c++/12146, libstdc++/12189 - fix cpp -lang-asm bug (Alexandre Oliva) - add __attribute__((warn_unused_result)) support - use --start-group -lgcc -lgcc_eh -lc --end-group when doing static linking Sun Sep 07 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-4 - split insns right before regstack on IA-32 at -O1 (#102493) Fri Sep 05 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-3 - update from gcc-3_3-branch - PRs 10988, target/11805, c/11207, c++/12114, c++/11928, c++/5293 - export _Unwind_GetBSP@@GCC_3.3.2 from libgcc_s.so on IA-64 - fix linux kernel miscompilation with __builtin_expect (#102747) Sat Aug 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-2 - update from gcc-3_3-branch - PRs optimization/11319, target/10021 - SPARC TLS support - fix libgcc_post_upgrade on sparc64 - fix a bug in finish_struct Tue Aug 12 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-1 - update from gcc-3_3-branch - gcc 3.3.1 release - PRs target/11693, c++/11712, target/9877, target/8336, c/11370, 11709, preprocessor/11534, 10510, 11313, target/10681, c++/11713, libstdc++/11784, - fix IA-64 __builtin_return_address (Richard Henderson, #99220, PR target/11535) - speed up get_identifier with string literal argument (Roger Sayle) - fix cross-jumping on s390 (#91185) Thu Jul 31 2003 Jakub Jelinek <jakub@redhat.com> 3.3-17 - fix an amd64 TLS pic bug - remove libgcc's %postun Tue Jul 29 2003 Jakub Jelinek <jakub@redhat.com> 3.3-16 - update from gcc-3_3-branch - PR c++/10796 - don't destroy argument to fold/convert/extract_muldiv (#98550) - add -Wdeclaration-after-statement (Hans-Peter Nilsson) - statically link /usr/sbin/libgcc_post_upgrade - BuildRequire bison and flex (#98920) - fix merge bug in store_by_pieces - kill some warnings Fri Jul 25 2003 Jakub Jelinek <jakub@redhat.com> 3.3-15 - update from gcc-3_3-branch - PRs 8878, target/11607, target/11516, optimization/10679, optimization/11599, optimization/11536, debug/11279, optimization/4490, target/11556, optimization/11083, optimization/11557, bootstrap/11043, other/11466, target/10907, target/11087, c++/11513, c++/11645, c++/11282, c++/11546, libstdc++/11528 - add /usr/sbin/libgcc_post_upgrade, use it in libgcc's %post - turn off autorequires for libgcc Wed Jul 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3-14 - update from gcc-3_3-branch - PRs debug/11473, optimization/11320, debug/11098, optimization/11440, optimization/11059, optimization/10877, c++/1607, c++/9738, c++/5287, c++/7910, c++/11021, optimization/9745, bootstrap/10758, c++/10032, target/11453, target/10021, c++/7053, c++/11154, c++/11503, c++/8164, c++/10558, c++/10032, c++/10527, c++/10849, c++/11236, libgcj/10886, libgcj/10838 - export __gcc_personality_{v,sj}0 from libgcc_s - fix ppc64 unwinding through signal frames - don't access memory below 288 bytes under $r1 on ppc64 in libgcc_eh.a - fix string-opt-8.c testcase after strcmp/strncmp fix on s390 - fix ppc32 MD_FALLBACK_FRAME_STATE_FOR - fix builtin strcmp and strncmp miscompilation on s390{,x} - fix IA-64 bootstrap failure caused during schedule_ebbs Wed Jul 09 2003 Jakub Jelinek <jakub@redhat.com> 3.3-13 - update from gcc-3_3-branch - fix amd64 -fpic with volatile variable (#98518, c/11420) - fix strength reduction causing miscompilation of pwlib on s390x - PRs 10900, optimization/11368, optimization/11198, optimization/11304, target/10700, optimization/11381, 2873, target/11014, optimization/11054, bootstrap/3163, other/11280, target/11084, target/11260, c++/11345, c++/11431, c++/6949, c++/11137, c++/11149, c++/9559, c++/11106, c++/10468, c++/10796, c++/11332, c++/10990, c++/10931, c++/5754 - move cc1 to cpp package, so that cpp can work even when gcc and devel packages aren't installed - Intel Prescott support (H.J.Lu) - optimize builtin sprintf (Roger Sayle) Tue Jun 24 2003 Jakub Jelinek <jakub@redhat.com> 3.3-12 - update from gcc-3_3-branch - new libstdc++ abilist files - update check-abi logic in the spec file Mon Jun 23 2003 Jakub Jelinek <jakub@redhat.com> 3.3-11 - update from gcc-3_3-branch - PRs c++/9393, c++/10888, driver/9362, preprocessor/11022, c++/10784, c++/10864, c++/10915, c++/10845, c++/10939, c++/9649, c++/11041, c++/11228, bootstrap/11272 - fix GC problems introduced in c++/11105 fix - fix a bug in builtin strcpy evaluation - optimize more cases of builtin strlen, str*cmp, strcpy, strncpy, fputs Mon Jun 23 2003 Jakub Jelinek <jakub@redhat.com> 3.3-10 - fix cc1plus segfault when a mangling hashtable was expanded for the first time (introduced in c++/11105 fix) Sun Jun 22 2003 Jakub Jelinek <jakub@redhat.com> 3.3-9 - fix -fpic virtual thunks on amd64 - fix g++.dg/init/new6.C regression introduced in 3.3-8 Sat Jun 21 2003 Jakub Jelinek <jakub@redhat.com> 3.3-8 - update from gcc-3_3-branch - PRs c++/10929, c++/10712, c++/11105 - _Unwind_GetCFA and _Unwind_FindEnclosingFunction implemented in ia64 libgcc_s.so - ppc32 libffi fixes (Franz Sirl) - don't warn about #pragma once if -Wno-deprecated (Jason Merrill, #97723) - fix s390 thunks, call a local alias of method instead of the exported symbols in thunks if assembler supports .set - fix a bug in gcc driver hack for ICE analysis which caused some reproduceable bugs printed as non-reproduceable Mon Jun 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3-7 - update from gcc-3_3-branch - PRs target/8787, inline-asm/4823, target/7594, middle-end/10475, optimization/10955, target/10142, middle-end/10557, target/11183, optimization/10842, c++/10635, debug/9864 - use la instead of ar on s390 to initialize got register - change asm name of some further implicitely generated builtins when using __asm on the builtin function Wed Jun 11 2003 Jakub Jelinek <jakub@redhat.com> 3.3-6 - update from gcc-3_3-branch - PRs inline-asm/10890, target/11052, target/10331, target/11096, target/10663, c++/10968, 8861, c++/11039, c++/10940, libstdc++/11095 - define __EXCEPTIONS in C if -fexceptions - fix warning about frontend unsupported switches (#97165) - fix filename printed in -Winline called from here warning - don't build -msoft-float multilibs on ppc* even in -m32 - install unwind.h Thu Jun 05 2003 Jakub Jelinek <jakub@redhat.com> 3.3-5 - update from gcc-3_3-branch - PRs optimization/11018, optimization/10876, target/10673 - __attribute__((cleanup)) (Richard Henderson) - add a gcc driver hack to check reproduceability of ICEs and create preproccessed testcase if they are reproduceable - make sure libgcc.a objects have non-exec .note.GNU-stack - fix ppc64 build Wed Jun 04 2003 Jakub Jelinek <jakub@redhat.com> 3.3-4 - mark object files with .note.GNU-stack notes whether they need or don't need executable stack Tue Jun 03 2003 Jakub Jelinek <jakub@redhat.com> 3.3-3 - update from gcc-3_3-branch - PRs target/11044, 10871, bootstrap/10805, c/10355, ada/6399, c++/10956, c++/10849, c++/10682, libstdc++/9815, libstdc++/11062, libstdc++/10689 - position independent executable support (-pie/-fpie/-fPIE) - better optimize builtin mempcpy and stpcpy Tue May 20 2003 Jakub Jelinek <jakub@redhat.com> 3.3-2 - update from gcc-3_3-branch - name lookup improvements - PRs c++/10661, c++/5388 - ppc TLS, bi-arch plus 2 other patches Sat May 17 2003 Jakub Jelinek <jakub@redhat.com> 3.3-1 - new rpm
2004-09-09 05:36:47 +00:00
void (*init) (void), void (*fini) (void),
void (*rtld_fini) (void), void * stack_end)
#else
struct startup_info
{
void *sda_base;
int (*main) (int, char **, char **, void *);
int (*init) (int, char **, char **, void *);
void (*fini) (void);
};
2005-05-12 13:26:05 +00:00
int __libc_start_main (int argc, char **argv, char **ev,
auto-import changelog data from gcc-3.3.2-1.src.rpm Thu Oct 23 2003 Jakub Jelinek <jakub@redhat.com> 3.3.2-1 - update from gcc-3_3-branch - 3.3.2 release - PRs debug/12500, c/11885, bootstrap/9330, target/11087, target/11949, optimization/12544, optimization/12510, bootstrap/12490, optimization/12215, optimization/11637, c/12446, 11883, optimization/12180, 12292, 12072, optimization/11753, c++/12369, c++/7939, c++/11878, c++/11063, c++/10147, c++/12337, c++/12344, c++/12236, c++/8656, c++/11409, c++/12486, libstdc++/10081, libstdc++/11740, libstdc++/12451 - fix java signal handling (Ulrich Weigand) Thu Oct 02 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-6 - update from gcc-3_3-branch - PRs optimization/12340, bootstrap/12358, target/9786, target/12301, target/12166, target/11184, optimization/11646, c++/11991, c++/12266, libstdc++/12296, libstdc++/11400, libstdc++/11065 - fix invalid C++ tree sharing bug (Mark Mitchell, #105784) Tue Sep 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-5 - update from gcc-3_3-branch - PRs fortran/11522, target/11965, target/12224, target/11689, c++/11852, optimization/11662, target/12070, opt/12082, c/9862, target/8869, c/10962, c++/3907, c++/11595, c++/11786, c++/5296, c++/12181, c++/11867, c++/12163, c++/12146, libstdc++/12189 - fix cpp -lang-asm bug (Alexandre Oliva) - add __attribute__((warn_unused_result)) support - use --start-group -lgcc -lgcc_eh -lc --end-group when doing static linking Sun Sep 07 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-4 - split insns right before regstack on IA-32 at -O1 (#102493) Fri Sep 05 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-3 - update from gcc-3_3-branch - PRs 10988, target/11805, c/11207, c++/12114, c++/11928, c++/5293 - export _Unwind_GetBSP@@GCC_3.3.2 from libgcc_s.so on IA-64 - fix linux kernel miscompilation with __builtin_expect (#102747) Sat Aug 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-2 - update from gcc-3_3-branch - PRs optimization/11319, target/10021 - SPARC TLS support - fix libgcc_post_upgrade on sparc64 - fix a bug in finish_struct Tue Aug 12 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-1 - update from gcc-3_3-branch - gcc 3.3.1 release - PRs target/11693, c++/11712, target/9877, target/8336, c/11370, 11709, preprocessor/11534, 10510, 11313, target/10681, c++/11713, libstdc++/11784, - fix IA-64 __builtin_return_address (Richard Henderson, #99220, PR target/11535) - speed up get_identifier with string literal argument (Roger Sayle) - fix cross-jumping on s390 (#91185) Thu Jul 31 2003 Jakub Jelinek <jakub@redhat.com> 3.3-17 - fix an amd64 TLS pic bug - remove libgcc's %postun Tue Jul 29 2003 Jakub Jelinek <jakub@redhat.com> 3.3-16 - update from gcc-3_3-branch - PR c++/10796 - don't destroy argument to fold/convert/extract_muldiv (#98550) - add -Wdeclaration-after-statement (Hans-Peter Nilsson) - statically link /usr/sbin/libgcc_post_upgrade - BuildRequire bison and flex (#98920) - fix merge bug in store_by_pieces - kill some warnings Fri Jul 25 2003 Jakub Jelinek <jakub@redhat.com> 3.3-15 - update from gcc-3_3-branch - PRs 8878, target/11607, target/11516, optimization/10679, optimization/11599, optimization/11536, debug/11279, optimization/4490, target/11556, optimization/11083, optimization/11557, bootstrap/11043, other/11466, target/10907, target/11087, c++/11513, c++/11645, c++/11282, c++/11546, libstdc++/11528 - add /usr/sbin/libgcc_post_upgrade, use it in libgcc's %post - turn off autorequires for libgcc Wed Jul 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3-14 - update from gcc-3_3-branch - PRs debug/11473, optimization/11320, debug/11098, optimization/11440, optimization/11059, optimization/10877, c++/1607, c++/9738, c++/5287, c++/7910, c++/11021, optimization/9745, bootstrap/10758, c++/10032, target/11453, target/10021, c++/7053, c++/11154, c++/11503, c++/8164, c++/10558, c++/10032, c++/10527, c++/10849, c++/11236, libgcj/10886, libgcj/10838 - export __gcc_personality_{v,sj}0 from libgcc_s - fix ppc64 unwinding through signal frames - don't access memory below 288 bytes under $r1 on ppc64 in libgcc_eh.a - fix string-opt-8.c testcase after strcmp/strncmp fix on s390 - fix ppc32 MD_FALLBACK_FRAME_STATE_FOR - fix builtin strcmp and strncmp miscompilation on s390{,x} - fix IA-64 bootstrap failure caused during schedule_ebbs Wed Jul 09 2003 Jakub Jelinek <jakub@redhat.com> 3.3-13 - update from gcc-3_3-branch - fix amd64 -fpic with volatile variable (#98518, c/11420) - fix strength reduction causing miscompilation of pwlib on s390x - PRs 10900, optimization/11368, optimization/11198, optimization/11304, target/10700, optimization/11381, 2873, target/11014, optimization/11054, bootstrap/3163, other/11280, target/11084, target/11260, c++/11345, c++/11431, c++/6949, c++/11137, c++/11149, c++/9559, c++/11106, c++/10468, c++/10796, c++/11332, c++/10990, c++/10931, c++/5754 - move cc1 to cpp package, so that cpp can work even when gcc and devel packages aren't installed - Intel Prescott support (H.J.Lu) - optimize builtin sprintf (Roger Sayle) Tue Jun 24 2003 Jakub Jelinek <jakub@redhat.com> 3.3-12 - update from gcc-3_3-branch - new libstdc++ abilist files - update check-abi logic in the spec file Mon Jun 23 2003 Jakub Jelinek <jakub@redhat.com> 3.3-11 - update from gcc-3_3-branch - PRs c++/9393, c++/10888, driver/9362, preprocessor/11022, c++/10784, c++/10864, c++/10915, c++/10845, c++/10939, c++/9649, c++/11041, c++/11228, bootstrap/11272 - fix GC problems introduced in c++/11105 fix - fix a bug in builtin strcpy evaluation - optimize more cases of builtin strlen, str*cmp, strcpy, strncpy, fputs Mon Jun 23 2003 Jakub Jelinek <jakub@redhat.com> 3.3-10 - fix cc1plus segfault when a mangling hashtable was expanded for the first time (introduced in c++/11105 fix) Sun Jun 22 2003 Jakub Jelinek <jakub@redhat.com> 3.3-9 - fix -fpic virtual thunks on amd64 - fix g++.dg/init/new6.C regression introduced in 3.3-8 Sat Jun 21 2003 Jakub Jelinek <jakub@redhat.com> 3.3-8 - update from gcc-3_3-branch - PRs c++/10929, c++/10712, c++/11105 - _Unwind_GetCFA and _Unwind_FindEnclosingFunction implemented in ia64 libgcc_s.so - ppc32 libffi fixes (Franz Sirl) - don't warn about #pragma once if -Wno-deprecated (Jason Merrill, #97723) - fix s390 thunks, call a local alias of method instead of the exported symbols in thunks if assembler supports .set - fix a bug in gcc driver hack for ICE analysis which caused some reproduceable bugs printed as non-reproduceable Mon Jun 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3-7 - update from gcc-3_3-branch - PRs target/8787, inline-asm/4823, target/7594, middle-end/10475, optimization/10955, target/10142, middle-end/10557, target/11183, optimization/10842, c++/10635, debug/9864 - use la instead of ar on s390 to initialize got register - change asm name of some further implicitely generated builtins when using __asm on the builtin function Wed Jun 11 2003 Jakub Jelinek <jakub@redhat.com> 3.3-6 - update from gcc-3_3-branch - PRs inline-asm/10890, target/11052, target/10331, target/11096, target/10663, c++/10968, 8861, c++/11039, c++/10940, libstdc++/11095 - define __EXCEPTIONS in C if -fexceptions - fix warning about frontend unsupported switches (#97165) - fix filename printed in -Winline called from here warning - don't build -msoft-float multilibs on ppc* even in -m32 - install unwind.h Thu Jun 05 2003 Jakub Jelinek <jakub@redhat.com> 3.3-5 - update from gcc-3_3-branch - PRs optimization/11018, optimization/10876, target/10673 - __attribute__((cleanup)) (Richard Henderson) - add a gcc driver hack to check reproduceability of ICEs and create preproccessed testcase if they are reproduceable - make sure libgcc.a objects have non-exec .note.GNU-stack - fix ppc64 build Wed Jun 04 2003 Jakub Jelinek <jakub@redhat.com> 3.3-4 - mark object files with .note.GNU-stack notes whether they need or don't need executable stack Tue Jun 03 2003 Jakub Jelinek <jakub@redhat.com> 3.3-3 - update from gcc-3_3-branch - PRs target/11044, 10871, bootstrap/10805, c/10355, ada/6399, c++/10956, c++/10849, c++/10682, libstdc++/9815, libstdc++/11062, libstdc++/10689 - position independent executable support (-pie/-fpie/-fPIE) - better optimize builtin mempcpy and stpcpy Tue May 20 2003 Jakub Jelinek <jakub@redhat.com> 3.3-2 - update from gcc-3_3-branch - name lookup improvements - PRs c++/10661, c++/5388 - ppc TLS, bi-arch plus 2 other patches Sat May 17 2003 Jakub Jelinek <jakub@redhat.com> 3.3-1 - new rpm
2004-09-09 05:36:47 +00:00
void *auxvec, void (*rtld_fini) (void),
struct startup_info *stinfo,
char **stack_on_entry)
#endif
{
#if defined __ia64__ || defined __powerpc64__
register void *r13 __asm ("r13") = thr_buf + 32768;
__asm ("" : : "r" (r13));
#elif defined __sparc__
register void *g6 __asm ("g6") = thr_buf + 32768;
__thread_self = thr_buf + 32768;
__asm ("" : : "r" (g6), "r" (__thread_self));
#elif defined __s390__ && !defined __s390x__
__asm ("sar %%a0,%0" : : "d" (thr_buf + 32768));
#elif defined __s390x__
__asm ("sar %%a1,%0; srlg 0,%0,32; sar %%a0,0" : : "d" (thr_buf + 32768) : "0");
#elif defined __powerpc__ && !defined __powerpc64__
register void *r2 __asm ("r2") = thr_buf + 32768;
__asm ("" : : "r" (r2));
#endif
2005-05-12 13:26:05 +00:00
#ifdef __powerpc__
argc = (long)*stack_on_entry;
argv = stack_on_entry + 1;
#endif
main (argc, argv);
return 110;
auto-import changelog data from gcc-3.3.2-1.src.rpm Thu Oct 23 2003 Jakub Jelinek <jakub@redhat.com> 3.3.2-1 - update from gcc-3_3-branch - 3.3.2 release - PRs debug/12500, c/11885, bootstrap/9330, target/11087, target/11949, optimization/12544, optimization/12510, bootstrap/12490, optimization/12215, optimization/11637, c/12446, 11883, optimization/12180, 12292, 12072, optimization/11753, c++/12369, c++/7939, c++/11878, c++/11063, c++/10147, c++/12337, c++/12344, c++/12236, c++/8656, c++/11409, c++/12486, libstdc++/10081, libstdc++/11740, libstdc++/12451 - fix java signal handling (Ulrich Weigand) Thu Oct 02 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-6 - update from gcc-3_3-branch - PRs optimization/12340, bootstrap/12358, target/9786, target/12301, target/12166, target/11184, optimization/11646, c++/11991, c++/12266, libstdc++/12296, libstdc++/11400, libstdc++/11065 - fix invalid C++ tree sharing bug (Mark Mitchell, #105784) Tue Sep 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-5 - update from gcc-3_3-branch - PRs fortran/11522, target/11965, target/12224, target/11689, c++/11852, optimization/11662, target/12070, opt/12082, c/9862, target/8869, c/10962, c++/3907, c++/11595, c++/11786, c++/5296, c++/12181, c++/11867, c++/12163, c++/12146, libstdc++/12189 - fix cpp -lang-asm bug (Alexandre Oliva) - add __attribute__((warn_unused_result)) support - use --start-group -lgcc -lgcc_eh -lc --end-group when doing static linking Sun Sep 07 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-4 - split insns right before regstack on IA-32 at -O1 (#102493) Fri Sep 05 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-3 - update from gcc-3_3-branch - PRs 10988, target/11805, c/11207, c++/12114, c++/11928, c++/5293 - export _Unwind_GetBSP@@GCC_3.3.2 from libgcc_s.so on IA-64 - fix linux kernel miscompilation with __builtin_expect (#102747) Sat Aug 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-2 - update from gcc-3_3-branch - PRs optimization/11319, target/10021 - SPARC TLS support - fix libgcc_post_upgrade on sparc64 - fix a bug in finish_struct Tue Aug 12 2003 Jakub Jelinek <jakub@redhat.com> 3.3.1-1 - update from gcc-3_3-branch - gcc 3.3.1 release - PRs target/11693, c++/11712, target/9877, target/8336, c/11370, 11709, preprocessor/11534, 10510, 11313, target/10681, c++/11713, libstdc++/11784, - fix IA-64 __builtin_return_address (Richard Henderson, #99220, PR target/11535) - speed up get_identifier with string literal argument (Roger Sayle) - fix cross-jumping on s390 (#91185) Thu Jul 31 2003 Jakub Jelinek <jakub@redhat.com> 3.3-17 - fix an amd64 TLS pic bug - remove libgcc's %postun Tue Jul 29 2003 Jakub Jelinek <jakub@redhat.com> 3.3-16 - update from gcc-3_3-branch - PR c++/10796 - don't destroy argument to fold/convert/extract_muldiv (#98550) - add -Wdeclaration-after-statement (Hans-Peter Nilsson) - statically link /usr/sbin/libgcc_post_upgrade - BuildRequire bison and flex (#98920) - fix merge bug in store_by_pieces - kill some warnings Fri Jul 25 2003 Jakub Jelinek <jakub@redhat.com> 3.3-15 - update from gcc-3_3-branch - PRs 8878, target/11607, target/11516, optimization/10679, optimization/11599, optimization/11536, debug/11279, optimization/4490, target/11556, optimization/11083, optimization/11557, bootstrap/11043, other/11466, target/10907, target/11087, c++/11513, c++/11645, c++/11282, c++/11546, libstdc++/11528 - add /usr/sbin/libgcc_post_upgrade, use it in libgcc's %post - turn off autorequires for libgcc Wed Jul 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3-14 - update from gcc-3_3-branch - PRs debug/11473, optimization/11320, debug/11098, optimization/11440, optimization/11059, optimization/10877, c++/1607, c++/9738, c++/5287, c++/7910, c++/11021, optimization/9745, bootstrap/10758, c++/10032, target/11453, target/10021, c++/7053, c++/11154, c++/11503, c++/8164, c++/10558, c++/10032, c++/10527, c++/10849, c++/11236, libgcj/10886, libgcj/10838 - export __gcc_personality_{v,sj}0 from libgcc_s - fix ppc64 unwinding through signal frames - don't access memory below 288 bytes under $r1 on ppc64 in libgcc_eh.a - fix string-opt-8.c testcase after strcmp/strncmp fix on s390 - fix ppc32 MD_FALLBACK_FRAME_STATE_FOR - fix builtin strcmp and strncmp miscompilation on s390{,x} - fix IA-64 bootstrap failure caused during schedule_ebbs Wed Jul 09 2003 Jakub Jelinek <jakub@redhat.com> 3.3-13 - update from gcc-3_3-branch - fix amd64 -fpic with volatile variable (#98518, c/11420) - fix strength reduction causing miscompilation of pwlib on s390x - PRs 10900, optimization/11368, optimization/11198, optimization/11304, target/10700, optimization/11381, 2873, target/11014, optimization/11054, bootstrap/3163, other/11280, target/11084, target/11260, c++/11345, c++/11431, c++/6949, c++/11137, c++/11149, c++/9559, c++/11106, c++/10468, c++/10796, c++/11332, c++/10990, c++/10931, c++/5754 - move cc1 to cpp package, so that cpp can work even when gcc and devel packages aren't installed - Intel Prescott support (H.J.Lu) - optimize builtin sprintf (Roger Sayle) Tue Jun 24 2003 Jakub Jelinek <jakub@redhat.com> 3.3-12 - update from gcc-3_3-branch - new libstdc++ abilist files - update check-abi logic in the spec file Mon Jun 23 2003 Jakub Jelinek <jakub@redhat.com> 3.3-11 - update from gcc-3_3-branch - PRs c++/9393, c++/10888, driver/9362, preprocessor/11022, c++/10784, c++/10864, c++/10915, c++/10845, c++/10939, c++/9649, c++/11041, c++/11228, bootstrap/11272 - fix GC problems introduced in c++/11105 fix - fix a bug in builtin strcpy evaluation - optimize more cases of builtin strlen, str*cmp, strcpy, strncpy, fputs Mon Jun 23 2003 Jakub Jelinek <jakub@redhat.com> 3.3-10 - fix cc1plus segfault when a mangling hashtable was expanded for the first time (introduced in c++/11105 fix) Sun Jun 22 2003 Jakub Jelinek <jakub@redhat.com> 3.3-9 - fix -fpic virtual thunks on amd64 - fix g++.dg/init/new6.C regression introduced in 3.3-8 Sat Jun 21 2003 Jakub Jelinek <jakub@redhat.com> 3.3-8 - update from gcc-3_3-branch - PRs c++/10929, c++/10712, c++/11105 - _Unwind_GetCFA and _Unwind_FindEnclosingFunction implemented in ia64 libgcc_s.so - ppc32 libffi fixes (Franz Sirl) - don't warn about #pragma once if -Wno-deprecated (Jason Merrill, #97723) - fix s390 thunks, call a local alias of method instead of the exported symbols in thunks if assembler supports .set - fix a bug in gcc driver hack for ICE analysis which caused some reproduceable bugs printed as non-reproduceable Mon Jun 16 2003 Jakub Jelinek <jakub@redhat.com> 3.3-7 - update from gcc-3_3-branch - PRs target/8787, inline-asm/4823, target/7594, middle-end/10475, optimization/10955, target/10142, middle-end/10557, target/11183, optimization/10842, c++/10635, debug/9864 - use la instead of ar on s390 to initialize got register - change asm name of some further implicitely generated builtins when using __asm on the builtin function Wed Jun 11 2003 Jakub Jelinek <jakub@redhat.com> 3.3-6 - update from gcc-3_3-branch - PRs inline-asm/10890, target/11052, target/10331, target/11096, target/10663, c++/10968, 8861, c++/11039, c++/10940, libstdc++/11095 - define __EXCEPTIONS in C if -fexceptions - fix warning about frontend unsupported switches (#97165) - fix filename printed in -Winline called from here warning - don't build -msoft-float multilibs on ppc* even in -m32 - install unwind.h Thu Jun 05 2003 Jakub Jelinek <jakub@redhat.com> 3.3-5 - update from gcc-3_3-branch - PRs optimization/11018, optimization/10876, target/10673 - __attribute__((cleanup)) (Richard Henderson) - add a gcc driver hack to check reproduceability of ICEs and create preproccessed testcase if they are reproduceable - make sure libgcc.a objects have non-exec .note.GNU-stack - fix ppc64 build Wed Jun 04 2003 Jakub Jelinek <jakub@redhat.com> 3.3-4 - mark object files with .note.GNU-stack notes whether they need or don't need executable stack Tue Jun 03 2003 Jakub Jelinek <jakub@redhat.com> 3.3-3 - update from gcc-3_3-branch - PRs target/11044, 10871, bootstrap/10805, c/10355, ada/6399, c++/10956, c++/10849, c++/10682, libstdc++/9815, libstdc++/11062, libstdc++/10689 - position independent executable support (-pie/-fpie/-fPIE) - better optimize builtin mempcpy and stpcpy Tue May 20 2003 Jakub Jelinek <jakub@redhat.com> 3.3-2 - update from gcc-3_3-branch - name lookup improvements - PRs c++/10661, c++/5388 - ppc TLS, bi-arch plus 2 other patches Sat May 17 2003 Jakub Jelinek <jakub@redhat.com> 3.3-1 - new rpm
2004-09-09 05:36:47 +00:00
}