diff options
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/emultempl/elf32.em | 2 | ||||
-rw-r--r-- | ld/ld.h | 4 | ||||
-rw-r--r-- | ld/lexsup.c | 1 | ||||
-rw-r--r-- | ld/mpw-elfmips.c | 2 |
5 files changed, 8 insertions, 7 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index b834356..a12c2d8 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 cce6b3e..4e31b22 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"); @@ -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 e120c13..91a1f1d 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 6f7cd2f..86ca643 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")); |