aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.host
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2003-07-10 04:45:16 +0000
committerAlexandre Oliva <aoliva@redhat.com>2003-07-10 04:45:16 +0000
commit4a096548a65ba8ef330a8baa388fb2c09e873a2a (patch)
treec05a8b398971c4acfda204054089e4b10c8737d7 /ld/configure.host
parent2ce28d43c4144c41b34872acf04c472568e65fd8 (diff)
downloadgdb-4a096548a65ba8ef330a8baa388fb2c09e873a2a.zip
gdb-4a096548a65ba8ef330a8baa388fb2c09e873a2a.tar.gz
gdb-4a096548a65ba8ef330a8baa388fb2c09e873a2a.tar.bz2
2001-08-22 Alexandre Oliva <aoliva@redhat.com>
* emulparams/elf32am33lin.sh: Adjust to match kernel parameters. 2001-05-09 Alexandre Oliva <aoliva@redhat.com> * configure.host (am33_2.0-*-linux*): Added. * configure.tgt (am33_2.0-*-linux*): Likewise. * emulparams/elf32am33lin.sh: New. * Makefile.am (eelf32am33lin.c): New rule. * Makefile.in: Rebuilt.
Diffstat (limited to 'ld/configure.host')
-rw-r--r--ld/configure.host5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/configure.host b/ld/configure.host
index c11b13b..ce7f6be 100644
--- a/ld/configure.host
+++ b/ld/configure.host
@@ -80,6 +80,11 @@ case "${host}" in
# No further tweaking needed
;;
+am33_2.0-*-linux*)
+ HOSTING_CRT0='-dynamic-linker `fgrep ld-linux.so \`${CC} --print-file-name=specs\` | sed -e "s,.*-dynamic-linker[ ][ ]*\(.*/ld-linux.so..\).*,\1,"` `${CC} --print-file-name=crt1.o` `${CC} --print-file-name=crti.o` `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} --print-file-name=crtbegin.o; fi`'
+ HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -L`dirname \`${CC} --print-file-name=libc.so\`` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} --print-file-name=crtend.o; fi` `${CC} --print-file-name=crtn.o`'
+ ;;
+
arm*-*-linux-gnu*)
HOSTING_CRT0='-p '`echo "$HOSTING_CRT0" | sed -e "s,ld\[^ \]*\*,ld-linux,g"`
;;