re PR c++/19797 (g++.dg/abi/inline1.C fails on hppa*-*-hpux*)
authorJohn David Anglin <dave.anglin@nrc-cnrc.gc.ca>
Sat, 5 Mar 2005 01:59:24 +0000 (01:59 +0000)
committerJohn David Anglin <danglin@gcc.gnu.org>
Sat, 5 Mar 2005 01:59:24 +0000 (01:59 +0000)
commit744b2d61842718ac04d5ce0b55c179262147ce98
tree24488badd6a83dd0628351ad2c259f08314f16ae
parent1fb641a1e18cb92d7034ea165a11d28ada6d228e
re PR c++/19797 (g++.dg/abi/inline1.C fails on hppa*-*-hpux*)

PR c++/19797
* elf.h, pa64-hpux.h, som.h (ASM_OUTPUT_EXTERNAL_REAL): Define.
(ASM_OUTPUT_EXTERNAL): Call pa_hpux_asm_output_external.
* pa-protos.h (pa_hpux_asm_output_external): Add prototype.
* pa.c (get_plabel): Change argument to symbol_ref.  Call
maybe_get_identifier instead of get_identifier.
(pa_hpux_asm_output_external, pa_hpux_file_end): New functions.
(struct deferred_plabel): Replace name field with symbol field.
(TARGET_ASM_FILE_END): Define as pa_hpux_file_end if
ASM_OUTPUT_EXTERNAL_REAL is defined.
(output_global_address): Use output_addr_const for output of all
symbol_refs.
(output_deferred_plabels): Use symbol_ref instead of name for address
output.
* pa.h (SYMBOL_FLAG_REFERENCED, SYMBOL_REF_REFERENCED_P,
ASM_OUTPUT_SYMBOL_REF): New macros.
* som.h (ASM_OUTPUT_EXTERNAL_LIBCALL): Use assemble_name_raw.  Update
comment.
(ASM_WEAKEN_LABEL): Use targetm.asm_out.globalize_label to globalize
label.
* g++.dg/abi/vague1.C: Remove xfail hppa*-*-hpux*.

Co-Authored-By: Joseph Myers <joseph@codesourcery.com>
From-SVN: r95921
gcc/ChangeLog
gcc/config/pa/elf.h
gcc/config/pa/pa-protos.h
gcc/config/pa/pa.c
gcc/config/pa/pa.h
gcc/config/pa/pa64-hpux.h
gcc/config/pa/som.h
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/abi/vague1.C