aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-09-23 10:12:31 +0930
committerAlan Modra <amodra@gmail.com>2019-09-23 10:27:22 +0930
commit0b4453c791106ab62011b59f97611f9ff21cda9f (patch)
treefa4e755dbf52de6ec215fd740078c8b12a8f996d /ld/emultempl
parentf5c5b7c124934b464b67c7c3c53a1c62a7f4e98a (diff)
downloadfsf-binutils-gdb-0b4453c791106ab62011b59f97611f9ff21cda9f.zip
fsf-binutils-gdb-0b4453c791106ab62011b59f97611f9ff21cda9f.tar.gz
fsf-binutils-gdb-0b4453c791106ab62011b59f97611f9ff21cda9f.tar.bz2
elf bfd.h tidy
bfd/ * bfd-in.h (enum notice_asneeded_action): Move to bfdlink.h. Move most other elf declarations.. * elf-bfd.h: ..to here. * bfd-in2.h: Regenerate. include/ * bfdlink.h (enum notice_asneeded_action): Define. ld/ * deffilep.y: Include bfdlink.h. * ldelf.c: Likewise. * ldelfgen.c: Likewise. * ldver.c: Likewise. * mri.c: Likewise. * emultempl/irix.em: Don't include ld.h, ldmain.h, libiberty.h. Comment.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/irix.em7
1 files changed, 3 insertions, 4 deletions
diff --git a/ld/emultempl/irix.em b/ld/emultempl/irix.em
index ddd5fd6..e52c4a2 100644
--- a/ld/emultempl/irix.em
+++ b/ld/emultempl/irix.em
@@ -19,11 +19,10 @@
# MA 02110-1301, USA.
#
-fragment <<EOF
+# This file is sourced from elf.em, and defines extra irix specific
+# functions.
-#include "ld.h"
-#include "ldmain.h"
-#include "libiberty.h"
+fragment <<EOF
/* The native IRIX linker will always create a DT_SONAME for shared objects.
While this shouldn't really be necessary for ABI conformance, some versions