From: Dave Anglin Date: Sat, 30 Aug 2008 15:52:22 +0000 (+0000) Subject: * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5ead15d96a212c0d00a83f326a37bc2a99c61c95;p=binutils-gdb.git * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux and NetBSD. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 739261b68b4..eb7b93b29fa 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2008-08-30 John David Anglin + + * config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux + and NetBSD. + 2008-08-29 Eric B. Weddington * config/tc-avr.c (mcu_types): Add atmega16u4. diff --git a/gas/config/tc-hppa.h b/gas/config/tc-hppa.h index 393a1440ac4..c3082a24ff3 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 */