diff options
author | kristerw <kristerw@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-12-19 09:21:09 +0000 |
---|---|---|
committer | kristerw <kristerw@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-12-19 09:21:09 +0000 |
commit | 53c1693fc8d5b0b5b23977c0eb9e92f1c06da75e (patch) | |
tree | 63e80c539153dcdc9d25d1c3dd1e89dbb8d74752 /libgcc/crtstuff.c | |
parent | eaadd1c54fc75f231ef7e0da3c4e3e9eda80e64e (diff) |
2016-12-19 Krister Walfridsson <krister.walfridsson@gmail.com>
* config.host (*-*-netbsd*): Add t-eh-dw2-dip to tmake_file.
* crtstuff.c (BSD_DL_ITERATE_PHDR_AVAILABLE): Define for NetBSD.
* unwind-dw2-fde-dip.c (USE_PT_GNU_EH_FRAME, ElfW): Likewise.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@243790 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/crtstuff.c')
-rw-r--r-- | libgcc/crtstuff.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcc/crtstuff.c b/libgcc/crtstuff.c index 564418191d9..be15a1915a7 100644 --- a/libgcc/crtstuff.c +++ b/libgcc/crtstuff.c @@ -81,7 +81,7 @@ call_ ## FUNC (void) \ #endif #if defined(TARGET_DL_ITERATE_PHDR) && \ - (defined(__DragonFly__) || defined(__FreeBSD__)) + (defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__)) #define BSD_DL_ITERATE_PHDR_AVAILABLE #endif |