mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
4f2ee95801
.fini sections into .text; keep them separate. * config/i386sco.mh (HOSTING_CRT0): If ../gcc/crtbegin.o does not exist, get crtbegin based on gcc -print-libgcc-file-name. (HOSTING_LIBS): Similar change for ../gcc/crtend.o.
5 lines
501 B
Plaintext
5 lines
501 B
Plaintext
# For testing, we want to use /lib/crt1.o and /lib/crtn.o so that
|
|
# constructors work properly.
|
|
HOSTING_CRT0=/lib/crt1.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtbegin.o/'; fi`
|
|
HOSTING_LIBS=`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc -print-libgcc-file-name | sed -e 's/libgcc.a/crtend.o/'; fi` /lib/crtn.o
|