mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-25 13:09:48 +00:00
* 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:
parent
99293407a5
commit
605d9b3a4f
@ -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.
|
||||
|
@ -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");
|
||||
|
4
ld/ld.h
4
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;
|
||||
|
@ -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':
|
||||
|
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user