aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1996-01-15 02:34:07 +0000
committerMichael Meissner <gnu@the-meissners.org>1996-01-15 02:34:07 +0000
commitee4fdbb93d0f61156c1f506991d19e0e9b575d03 (patch)
tree048747b33354dc277a20ebd74277e73ce8de6a1f
parent747b98fe5de6f81fd93b55a227ddae233140d63f (diff)
downloadgdb-ee4fdbb93d0f61156c1f506991d19e0e9b575d03.zip
gdb-ee4fdbb93d0f61156c1f506991d19e0e9b575d03.tar.gz
gdb-ee4fdbb93d0f61156c1f506991d19e0e9b575d03.tar.bz2
Allow .gcc_except_table to have unfixed pointers with -mrelocatable
-rw-r--r--gas/ChangeLog7
-rw-r--r--gas/config/tc-ppc.c3
2 files changed, 8 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 913ded8..fc352e4 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 820a9f1..c1c2ba2 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -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)