* 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.
This commit is contained in:
Hans-Peter Nilsson 2001-06-18 22:20:57 +00:00
parent 99293407a5
commit 605d9b3a4f
5 changed files with 8 additions and 7 deletions

View File

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

View File

@ -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");

View File

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

View File

@ -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':

View File

@ -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"));