c43cb71d49
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
73 lines
1.9 KiB
C
73 lines
1.9 KiB
C
#ifdef __sparc__
|
|
register void *__thread_self __asm ("g7");
|
|
#endif
|
|
#include <sys/types.h>
|
|
#include <sys/wait.h>
|
|
#include <stdio.h>
|
|
#include <errno.h>
|
|
#include <unistd.h>
|
|
#include <sys/time.h>
|
|
#include <dirent.h>
|
|
#include <stddef.h>
|
|
#include <fcntl.h>
|
|
#include <string.h>
|
|
|
|
int main(void)
|
|
{
|
|
pid_t pid;
|
|
int status;
|
|
char initpath[256];
|
|
|
|
if (access ("/sbin/ldconfig", X_OK))
|
|
_exit (0);
|
|
execl ("/sbin/ldconfig", "/sbin/ldconfig", NULL);
|
|
_exit (110);
|
|
}
|
|
|
|
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__
|
|
int __libc_start_main (int (*main) (void), int argc, char **argv,
|
|
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);
|
|
};
|
|
|
|
int __libc_start_main (int argc, char **ubp_av,
|
|
char **ubp_ev,
|
|
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
|
|
main();
|
|
return 0;
|
|
}
|