aix61.h (STARTFILE_SPEC): Add crtdbase.o.
authorAndrew Dixie <andrewd@gentrack.com>
Fri, 18 Sep 2015 14:20:01 +0000 (14:20 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Fri, 18 Sep 2015 14:20:01 +0000 (10:20 -0400)
        * 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 <dje.gcc@gmail.com>
From-SVN: r227907

gcc/ChangeLog
gcc/config/rs6000/aix61.h
gcc/config/rs6000/rs6000-protos.h

index c8c44127b1f992aaff883570f0c59bff3985df1c..809f6bf2e2e8eb33c6cb796742a93579b8fa5aba 100644 (file)
        (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.
index ba48069c1fb0e014d27adcfbe97fb74ae2998aa6..0e27057027f945cdfae0c1ca85972dbd9e52e025 100644 (file)
@@ -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".  */
 
index 7be529fab4972004b09276ea3bbe95fedad7a183..82a695c06b6f4656074f00470589ac91ad2223a5 100644 (file)
@@ -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 */