From: Andrew Dixie Date: Fri, 18 Sep 2015 14:20:01 +0000 (+0000) Subject: aix61.h (STARTFILE_SPEC): Add crtdbase.o. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e707a2dd666f2ba1acaf9f0e91684ab4d2b72850;p=gcc.git aix61.h (STARTFILE_SPEC): Add crtdbase.o. * config/rs6000/aix61.h (STARTFILE_SPEC): Add crtdbase.o. * config/rs6000/rs6000-protos.h (rs6000_asm_output_dwarf_pcrel): Declare. (rs6000_asm_output_dwarf_datarel): Declare. Co-Authored-By: David Edelsohn From-SVN: r227907 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c8c44127b1f..809f6bf2e2e 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -20,6 +20,10 @@ (ASM_OUTPUT_DWARF_DATAREL): Define. (EH_FRAME_THROUGH_COLLECT2): Define. (EH_FRAME_IN_DATA_SECTION): Delete. + * config/rs6000/aix61.h (STARTFILE_SPEC): Add crtdbase.o. + * config/rs6000/rs6000-protos.h (rs6000_asm_output_dwarf_pcrel): + Declare. + (rs6000_asm_output_dwarf_datarel): Declare. * config/rs6000/rs6000.c (rs6000_aix_asm_output_dwarf_pcrel): New. (rs6000_aix_asm_output_dwarf_datarel): New. (rs6000_xcoff_asm_init_sections): Don't set exception_section. diff --git a/gcc/config/rs6000/aix61.h b/gcc/config/rs6000/aix61.h index ba48069c1fb..0e27057027f 100644 --- a/gcc/config/rs6000/aix61.h +++ b/gcc/config/rs6000/aix61.h @@ -167,7 +167,7 @@ do { \ %{!maix64:\ %{pthread:%{pg:gcrt0_r%O%s}%{!pg:%{p:mcrt0_r%O%s}%{!p:crt0_r%O%s}}}\ %{!pthread:%{pg:gcrt0%O%s}%{!pg:%{p:mcrt0%O%s}%{!p:crt0%O%s}}}}}\ - %{shared:crtcxa_s%O%s;:crtcxa%O%s}" + %{shared:crtcxa_s%O%s;:crtcxa%O%s} crtdbase%O%s" /* AIX V5 typedefs ptrdiff_t as "long" while earlier releases used "int". */ diff --git a/gcc/config/rs6000/rs6000-protos.h b/gcc/config/rs6000/rs6000-protos.h index 7be529fab49..82a695c06b6 100644 --- a/gcc/config/rs6000/rs6000-protos.h +++ b/gcc/config/rs6000/rs6000-protos.h @@ -203,6 +203,10 @@ extern void rs6000_aix_asm_output_dwarf_table_ref (char *); extern void get_ppc476_thunk_name (char name[32]); extern bool rs6000_overloaded_builtin_p (enum rs6000_builtins); extern HOST_WIDE_INT rs6000_builtin_mask_calculate (void); +extern void rs6000_asm_output_dwarf_pcrel (FILE *file, int size, + const char *label); +extern void rs6000_asm_output_dwarf_datarel (FILE *file, int size, + const char *label); /* Declare functions in rs6000-c.c */