aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid O'Brien <obrien@FreeBSD.org>2002-11-28 02:10:38 +0000
committerDavid O'Brien <obrien@FreeBSD.org>2002-11-28 02:10:38 +0000
commit3b70b24ee4acafb556e7a3aaf9bdf1b2490e4225 (patch)
tree9c1cb63debefa42128e92c8d2df1403e6fc8cb89
parent127a77fee0ac3b6836dd272cd7a773fa12528818 (diff)
downloadgdb-3b70b24ee4acafb556e7a3aaf9bdf1b2490e4225.zip
gdb-3b70b24ee4acafb556e7a3aaf9bdf1b2490e4225.tar.gz
gdb-3b70b24ee4acafb556e7a3aaf9bdf1b2490e4225.tar.bz2
2002-11-27 David O'Brien <obrien@FreeBSD.org>
* configure.host: Fix generic FreeBSD configuration entry.
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/configure.host2
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 5d654fb..7929f4c 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2002-11-27 David O'Brien <obrien@FreeBSD.org>
+
+ * configure.host: Fix generic FreeBSD configuration entry.
+
2002-11-27 H.J. Lu <hjl@gnu.org>
* ld.texinfo: Add the missing `;' to sample version scripts.
diff --git a/ld/configure.host b/ld/configure.host
index 56ed187..7e76c74 100644
--- a/ld/configure.host
+++ b/ld/configure.host
@@ -26,7 +26,7 @@ case "${host}" in
# gcc -print-file-name=specs will simply print specs. We create a
# dummy specs files to handle this.
echo "-dynamic-linker `${CC} --print-file-name=ld-elf.so.1`" > specs
- HOSTING_CRT0='-dynamic-linker `${CC} --print-file-name=ld-elf.so.1` `${CC} --print-file-name=crt1.o` `${CC} --print-file-name=crti.o` `${CC} --print-file-name=crtbegin.o`'
+ HOSTING_CRT0='-dynamic-linker `${CC} --print-prog-name=ld-elf.so.1` `${CC} --print-file-name=crt1.o` `${CC} --print-file-name=crti.o` `${CC} --print-file-name=crtbegin.o`'
HOSTING_LIBS='-L`dirname \`${CC} --print-file-name=libc.so\`` '"$HOSTING_LIBS"' `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} --print-file-name=crtend.o; fi` `${CC} --print-file-name=crtn.o`'
;;