pa.c (pa_output_function_prologue): Don't accumulate the total number of code bytes...
authorJohn David Anglin <dave@hiauly1.hia.nrc.ca>
Fri, 12 Apr 2002 02:30:52 +0000 (02:30 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Fri, 12 Apr 2002 02:30:52 +0000 (02:30 +0000)
commit3d9268b697572708f62e46ba4831a45572275ae3
tree7a10663402c19be018e2ebb8b1769fd677f2e5da
parentd360fd186232a2f9b9bf9745b05dabb547e61b0e
pa.c (pa_output_function_prologue): Don't accumulate the total number of code bytes when using TARGET_64BIT...

* pa.c (pa_output_function_prologue): Don't accumulate the total
number of code bytes when using TARGET_64BIT, or gas, SOM and not
the portable runtime.
(output_deferred_plabels): Handle 64bit plabels.
(output_cbranch): Use $PIC_pcrel$0 for pc relative relocations when
generating pic code using the GAS assembler for object formats that
are not SOM (ie., ELF32 and ELF64).
(output_millicode_call): Check attribute type if attribute length is 28.
Likewise use $PIC_pcrel$0.  Only call get_attr_length and
dbr_sequence_length once.
(output_call): Likewise use $PIC_pcrel$0, and call get_attr_length and
dbr_sequence_length once.
* pa.h (TARGET_SOM): Define if not defined.
* pa.md (pattern to load address of label): Likewise use $PIC_pcrel$0
with GAS and not SOM.
(jump, call_internal_reg, call_value_internal_reg): Likewise.
* som.h (OBJ_SOM): Rename to TARGET_SOM.  Undefine before defining.

From-SVN: r52196
gcc/ChangeLog
gcc/config/pa/pa.c
gcc/config/pa/pa.h
gcc/config/pa/pa.md
gcc/config/pa/som.h