+2019-07-26 Alan Modra <amodra@gmail.com>
+
+ * elf-bfd.h (struct output_elf_obj_tdata): Delete "linker" field.
+ (elf_linker): Don't define.
+ * elflink.c (bfd_elf_final_link): Don't set elf_linker.
+
2019-07-25 YunQiang Su <syq@debian.org>
PR 24832
/* Segment flags for the PT_GNU_STACK segment. */
unsigned int stack_flags;
- /* This is set to TRUE if the object was created by the backend
- linker. */
- bfd_boolean linker;
-
/* Used to determine if the e_flags field has been initialized */
bfd_boolean flags_init;
};
#define elf_seg_map(bfd) (elf_tdata(bfd) -> o->seg_map)
#define elf_next_file_pos(bfd) (elf_tdata(bfd) -> o->next_file_pos)
#define elf_eh_frame_hdr(bfd) (elf_tdata(bfd) -> o->eh_frame_hdr)
-#define elf_linker(bfd) (elf_tdata(bfd) -> o->linker)
#define elf_stack_flags(bfd) (elf_tdata(bfd) -> o->stack_flags)
#define elf_shstrtab(bfd) (elf_tdata(bfd) -> o->strtab_ptr)
#define elf_onesymtab(bfd) (elf_tdata(bfd) -> symtab_section)
elf_final_link_free (abfd, &flinfo);
- elf_linker (abfd) = TRUE;
-
if (attr_section)
{
bfd_byte *contents = (bfd_byte *) bfd_malloc (attr_size);