diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2007-03-16 23:12:46 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2007-03-16 23:12:46 +0000 |
commit | aefd26064caa4f8e041540679169265d74e8f3fd (patch) | |
tree | c02662e57a2a6cca2d407b5ad4489aca05ba28e4 /gcc/config/pa | |
parent | 90f89aa4967364402daa00bfe89b6d5afbf38435 (diff) | |
download | gcc-aefd26064caa4f8e041540679169265d74e8f3fd.zip gcc-aefd26064caa4f8e041540679169265d74e8f3fd.tar.gz gcc-aefd26064caa4f8e041540679169265d74e8f3fd.tar.bz2 |
pa.c (attr_length_call): Partially revert change of 2007-03-09.
* pa.c (attr_length_call): Partially revert change of 2007-03-09.
(output_call): Likewise.
From-SVN: r123002
Diffstat (limited to 'gcc/config/pa')
-rw-r--r-- | gcc/config/pa/pa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index c696520..ce38cf1 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -7273,7 +7273,7 @@ attr_length_call (rtx insn, int sibcall) length += 12; /* long pc-relative branch sequence. */ - else if ((TARGET_SOM && (TARGET_LONG_PIC_SDIFF_CALL || local_call)) + else if ((TARGET_SOM && TARGET_LONG_PIC_SDIFF_CALL) || (TARGET_64BIT && !TARGET_GAS) || (TARGET_GAS && !TARGET_SOM && (TARGET_LONG_PIC_PCREL_CALL || local_call))) @@ -7386,7 +7386,7 @@ output_call (rtx insn, rtx call_dest, int sibcall) of increasing length and complexity. In most cases, they don't allow an instruction in the delay slot. */ if (!((TARGET_LONG_ABS_CALL || local_call) && !flag_pic) - && !(TARGET_SOM && (TARGET_LONG_PIC_SDIFF_CALL || local_call)) + && !(TARGET_SOM && TARGET_LONG_PIC_SDIFF_CALL) && !(TARGET_GAS && !TARGET_SOM && (TARGET_LONG_PIC_PCREL_CALL || local_call)) && !TARGET_64BIT) @@ -7434,7 +7434,7 @@ output_call (rtx insn, rtx call_dest, int sibcall) } else { - if ((TARGET_SOM && (TARGET_LONG_PIC_SDIFF_CALL || local_call)) + if ((TARGET_SOM && TARGET_LONG_PIC_SDIFF_CALL) || (TARGET_64BIT && !TARGET_GAS)) { /* The HP assembler and linker can handle relocations |