* ld-selective/selective.exp: Link against libgcc on

hppa*-*-linux* targets.
This commit is contained in:
Alan Modra 2002-02-12 11:10:11 +00:00
parent 5c1e36e18c
commit 4f70f93f32
2 changed files with 16 additions and 5 deletions

View file

@ -1,3 +1,8 @@
2002-02-12 John David Anglin <dave@hiauly1.hia.nrc.ca>
* ld-selective/selective.exp: Link against libgcc on
hppa*-*-linux* targets.
2002-02-11 Alexandre Oliva <aoliva@redhat.com>
* ld-sh/sh64/reldl64.rd: Add relocation symbol data in info field.

View file

@ -113,6 +113,12 @@ foreach testitem $seltests {
set objfile "$objfile -L ../gcc -lgcc"
}
# HPPA linux targets need libgcc.a for millicode routines ($$dyncall).
if [istarget hppa*-*-linux*] {
catch "exec $CC -print-libgcc-file-name" libgcc
set objfile "$objfile $libgcc"
}
# m6811/m6812 code has references to soft registers.
if {[istarget m6811-*-*] || [istarget m6812-*-*]} {
set objfile "$objfile --defsym _.frame=0 --defsym _.d1=0"