summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2001-06-18 22:20:57 +0000
committerHans-Peter Nilsson <hp@axis.com>2001-06-18 22:20:57 +0000
commitd306be4af22bde43db8f0b47027f4fc68a6903b6 (patch)
tree24631ec8f7fb639c0d44e0e25432d0d9190cad80
parentcb451663ed2aeb1ecfd2859035428f4b9de0a83f (diff)
downloadbinutils-redhat-d306be4af22bde43db8f0b47027f4fc68a6903b6.tar.gz
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections. * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto. * ld.h (args_type): Remove member export_dynamic. All users changed to use struct bfd_link_info member.
-rw-r--r--ld/ChangeLog6
-rw-r--r--ld/emultempl/elf32.em2
-rw-r--r--ld/ld.h4
-rw-r--r--ld/lexsup.c1
-rw-r--r--ld/mpw-elfmips.c2
5 files changed, 8 insertions, 7 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index b8343565bc..a12c2d8690 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,11 @@
2001-06-18 Hans-Peter Nilsson <hp@axis.com>
+ * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation):
+ Update for API change in bfd_elf${ELFSIZE}_size_dynamic_sections.
+ * mpw-elfmips.c (gldelf32ebmip_before_allocation): Ditto.
+ * ld.h (args_type): Remove member export_dynamic. All users
+ changed to use struct bfd_link_info member.
+
* Makefile.am (ecriself.c, ed10velf.c, ei386moss.c): Depend on
$(srcdir)/emultempl/elf32.em, not $(srcdir)/emultempl/generic.em.
* Makefile.in: Regenerate.
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em
index cce6b3e2e5..4e31b227fb 100644
--- a/ld/emultempl/elf32.em
+++ b/ld/emultempl/elf32.em
@@ -837,7 +837,7 @@ gld${EMULATION_NAME}_before_allocation ()
rpath = (const char *) getenv ("LD_RUN_PATH");
if (! (bfd_elf${ELFSIZE}_size_dynamic_sections
(output_bfd, command_line.soname, rpath,
- command_line.export_dynamic, command_line.filter_shlib,
+ command_line.filter_shlib,
(const char * const *) command_line.auxiliary_filters,
&link_info, &sinterp, lang_elf_version_info)))
einfo ("%P%F: failed to set dynamic section sizes: %E\n");
diff --git a/ld/ld.h b/ld/ld.h
index e13e28082b..3d64e56586 100644
--- a/ld/ld.h
+++ b/ld/ld.h
@@ -115,10 +115,6 @@ typedef struct {
/* Big or little endian as set on command line. */
enum { ENDIAN_UNSET = 0, ENDIAN_BIG, ENDIAN_LITTLE } endian;
- /* If true, export all symbols in the dynamic symbol table of an ELF
- executable. */
- boolean export_dynamic;
-
/* If true, build MIPS embedded PIC relocation tables in the output
file. */
boolean embedded_relocs;
diff --git a/ld/lexsup.c b/ld/lexsup.c
index e120c13a08..91a1f1dc39 100644
--- a/ld/lexsup.c
+++ b/ld/lexsup.c
@@ -667,7 +667,6 @@ parse_args (argc, argv)
break;
case OPTION_EXPORT_DYNAMIC:
case 'E': /* HP/UX compatibility. */
- command_line.export_dynamic = true;
link_info.export_dynamic = true;
break;
case 'e':
diff --git a/ld/mpw-elfmips.c b/ld/mpw-elfmips.c
index 6f7cd2f7ef..86ca643437 100644
--- a/ld/mpw-elfmips.c
+++ b/ld/mpw-elfmips.c
@@ -445,7 +445,7 @@ gldelf32ebmip_before_allocation ()
rpath = (const char *) getenv ("LD_RUN_PATH");
if (! (bfd_elf32_size_dynamic_sections
(output_bfd, command_line.soname, rpath,
- command_line.export_dynamic, command_line.filter_shlib,
+ command_line.filter_shlib,
(const char * const *) command_line.auxiliary_filters,
&link_info, &sinterp, lang_elf_version_info)))
einfo (_("%P%F: failed to set dynamic section sizes: %E\n"));