* config/tc-hppa.h: Don't define DWARF2_EH_FRAME_READ_ONLY on Linux

and NetBSD.
This commit is contained in:
Dave Anglin 2008-08-30 15:52:22 +00:00
parent 72fe08328d
commit 5ead15d96a
2 changed files with 9 additions and 3 deletions

View File

@ -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.

View File

@ -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 */