diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2015-09-26 15:31:35 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2015-09-26 11:31:35 -0400 |
commit | 51fbbb92b44bcc8fea372bb55bda3f26b5857de5 (patch) | |
tree | 151eda3614294dd725f7e21fe506c0967056f0a1 /gcc/configure.ac | |
parent | c419f71c820766fc733c75a9455cf62d5c9260a9 (diff) | |
download | gcc-51fbbb92b44bcc8fea372bb55bda3f26b5857de5.zip gcc-51fbbb92b44bcc8fea372bb55bda3f26b5857de5.tar.gz gcc-51fbbb92b44bcc8fea372bb55bda3f26b5857de5.tar.bz2 |
dwarf2out.c (XCOFF_DEBUGGING_INFO): Default 0 definition.
* dwarf2out.c (XCOFF_DEBUGGING_INFO): Default 0 definition.
(HAVE_XCOFF_DWARF_EXTRAS): Default to 0 definition.
(output_fde): Don't output length for debug_frame on AIX.
(output_call_frame_info): Don't output length for debug_frame on AIX.
(have_macinfo): Force to False for XCOFF_DEBUGGING_INFO and not
HAVE_XCOFF_DWARF_EXTRAS.
(add_AT_loc_list): Return early if XCOFF_DEBUGGING_INFO and not
HAVE_XCOFF_DWARF_EXTRAS.
(output_compilation_unit_header): Don't output length on AIX.
(output_pubnames): Don't output length on AIX.
(output_aranges): Delete argument. Compute length locally. Don't
output length on AIX.
(output_line_info): Don't output length on AIX.
(dwarf2out_finish): Don't compute aranges_length.
* dwarf2asm.c (XCOFF_DEBUGGING_INFO): Default 0 definition.
(dw2_asm_output_nstring): Emit .byte not .ascii on AIX.
* config/rs6000/rs6000.c (rs6000_output_dwarf_dtprel): Emit correct
symbol decoration for AIX.
(rs6000_xcoff_debug_unwind_info): New.
(rs6000_xcoff_asm_named_section): Emit .dwsect pseudo-op
for SECTION_DEBUG.
(rs6000_xcoff_declare_function_name): Emit different
.function pseudo-op when DWARF2_DEBUG. Don't call
xcoffout_declare_function for DWARF2_DEBUG.
* config/rs6000/xcoff.h (TARGET_DEBUG_UNWIND_INFO):
Redefine.
* config/rs6000/aix71.h: New.
* configure.ac (gcc_cv_as_aix_dwloc): Check AIX as for DWARF
locations support.
* configure: Regenerate.
* config.gcc (powerpc-ibm-aix[789]+): New stanza for AIX 7.1+ with
DWARF support.
From-SVN: r228167
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r-- | gcc/configure.ac | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac index 65b5d70..451acfa 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -4328,6 +4328,18 @@ LCF0: esac ;; + case $target in + *-*-aix*) + gcc_GAS_CHECK_FEATURE([dwarf location lists section support], + gcc_cv_as_aix_dwloc, [2,21,0],, + [ .dwsect 0xB0000 + ],, + [AC_DEFINE(HAVE_XCOFF_DWARF_EXTRAS, 1, + [Define if your assembler supports .dwsect 0xB0000])]) + ;; + esac + ;; + mips*-*-*) gcc_GAS_CHECK_FEATURE([explicit relocation support], gcc_cv_as_mips_explicit_relocs, [2,14,0],, @@ -4336,6 +4348,7 @@ LCF0: then target_cpu_default=MASK_EXPLICIT_RELOCS else target_cpu_default="($target_cpu_default)|MASK_EXPLICIT_RELOCS" fi]) + gcc_GAS_CHECK_FEATURE([-mno-shared support], gcc_cv_as_mips_no_shared, [2,16,0], [-mno-shared], [nop],, [AC_DEFINE(HAVE_AS_NO_SHARED, 1, |