Allow .gcc_except_table to have unfixed pointers with -mrelocatable
authorMichael Meissner <gnu@the-meissners.org>
Mon, 15 Jan 1996 02:34:07 +0000 (02:34 +0000)
committerMichael Meissner <gnu@the-meissners.org>
Mon, 15 Jan 1996 02:34:07 +0000 (02:34 +0000)
gas/ChangeLog
gas/config/tc-ppc.c

index 913ded8655fb0c6635e6750722b8bc96bd72e6b8..fc352e46a0a602255592569833af39d757d81ed9 100644 (file)
@@ -1,4 +1,9 @@
-Sat Jan 13 11:09:08 1996  Michael Meissner  <meissner@wogglebug.tiac.net>
+Sun Jan 14 21:29:36 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
+
+       * config/tc-ppc.c (ppc_elf_validate_fix): Allow .gcc_except_table
+       as a section it is ok to have unadorned -mrelocatable pointers in.
+
+Sat Jan 13 11:09:08 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
 
        * config/tc-ppc.c (ppc_section*): Wrap these functions inside
        #ifdef OBJ_ELF.
index 820a9f1be6c04e9e65d9fd1d7293f21908924a0e..c1c2ba29e4c275a60c945fdeedb468fb3f8a18a9 100644 (file)
@@ -1023,7 +1023,8 @@ ppc_elf_validate_fix (fixp, seg)
       && strcmp (segment_name (seg), ".dtors") != 0
       && strcmp (segment_name (seg), ".ctors") != 0
       && strcmp (segment_name (seg), ".fixup") != 0
-      && strcmp (segment_name (seg), ".stab") != 0)
+      && strcmp (segment_name (seg), ".stab") != 0
+      && strcmp (segment_name (seg), ".gcc_except_table") != 0)
     {
       if ((seg->flags & (SEC_READONLY | SEC_CODE)) != 0
          || fixp->fx_r_type != BFD_RELOC_CTOR)