diff options
author | Steve Ellcey <sje@cup.hp.com> | 2002-10-03 21:46:59 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2002-10-03 21:46:59 +0000 |
commit | 83eb95f9959f82fdda7cc6184413acae7258407d (patch) | |
tree | 924cd4f67b2951627185f8d97a8d40d018970084 /gcc/config.gcc | |
parent | b72b1c298b49fad325e93e125b011c8a55780262 (diff) | |
download | gcc-83eb95f9959f82fdda7cc6184413acae7258407d.zip gcc-83eb95f9959f82fdda7cc6184413acae7258407d.tar.gz gcc-83eb95f9959f82fdda7cc6184413acae7258407d.tar.bz2 |
config.gcc (hppa*64*-*-hpux11*): Check gnu_ld.
* config.gcc (hppa*64*-*-hpux11*): Check gnu_ld.
* config/pa/pa.h (MASK_GNU_LD): New.
(TARGET_GNU_LD): New.
(TARGET_SWITCHES): New gnu-ld & no-gnu-ld flags.
* config/pa/pa64-hpux.h (LINK_SPEC): Set based
on gnu-ld and MASK_GNU_LD.
From-SVN: r57792
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 961dee1..0395812 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -871,6 +871,10 @@ hppa*64*-*-hpux11*) xmake_file="pa/x-ada" target_cpu_default="(MASK_PA_11|MASK_PA_20|MASK_GAS)" + if test x$gnu_ld = xyes + then + target_cpu_default="${target_cpu_default}|MASK_GNU_LD" + fi # if [ x$enable_threads = x ]; then # enable_threads=$have_pthread_h # fi |