summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Anglin <dave.anglin@nrc.ca>2008-08-30 15:52:22 +0000
committerDave Anglin <dave.anglin@nrc.ca>2008-08-30 15:52:22 +0000
commit5b487543d91a31fea3eca92a4001f5e53e12d08f (patch)
tree1e609e37d0e1c7dc9c48e49ddee78b9ae7b77d35
parent9c84030fd2fde1dbbf1388b31da2d6c13e223f6d (diff)
downloadbinutils-redhat-5b487543d91a31fea3eca92a4001f5e53e12d08f.tar.gz
* config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux
and NetBSD.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-hppa.h7
2 files changed, 9 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 739261b68b..eb7b93b29f 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2008-08-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux
+ and NetBSD.
+
2008-08-29 Eric B. Weddington <eric.weddington@atmel.com>
* config/tc-avr.c (mcu_types): Add atmega16u4.
diff --git a/gas/config/tc-hppa.h b/gas/config/tc-hppa.h
index 393a1440ac..c3082a24ff 100644
--- a/gas/config/tc-hppa.h
+++ b/gas/config/tc-hppa.h
@@ -218,10 +218,11 @@ extern int hppa_regname_to_dw2regnum (char *regname);
#define DWARF2_CIE_DATA_ALIGNMENT 4
#endif
-/* Due to the way dynamic linking to personality functions is handled,
- we need to have a read-write .eh_frame section. */
+#if !defined (TE_LINUX) && !defined (TE_NetBSD)
+/* Due to the way dynamic linking to personality functions is handled
+ on HP-UX, we need to have a read-write .eh_frame section. */
#define DWARF2_EH_FRAME_READ_ONLY 0
-
#endif
+#endif /* OBJ_ELF */
#endif /* _TC_HPPA_H */