aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2007-07-13 10:44:12 +0000
committerRoland McGrath <roland@gnu.org>2007-07-13 10:44:12 +0000
commitbfb53a4f5bae337fb1f78e4008b9c4d498a2853c (patch)
treed60a56d4938162668c14201a959b505714ff24f7 /bfd/elf-bfd.h
parente0e1a5e8db2334c72ae8cbb1febb82b778a05b57 (diff)
downloadgdb-bfb53a4f5bae337fb1f78e4008b9c4d498a2853c.zip
gdb-bfb53a4f5bae337fb1f78e4008b9c4d498a2853c.tar.gz
gdb-bfb53a4f5bae337fb1f78e4008b9c4d498a2853c.tar.bz2
2007-07-13 Roland McGrath <roland@redhat.com>
* elf-bfd.h (struct elf_obj_tdata): Revert last change. Add after_write_object_contents, after_write_object_contents_info. * elf.c (_bfd_elf_write_object_contents): Revert last change. Instead, call after_write_object_contents if set.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 7e3592e..572e89b 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -1469,9 +1469,9 @@ struct elf_obj_tdata
obj_attribute known_obj_attributes[2][NUM_KNOWN_OBJ_ATTRIBUTES];
obj_attribute_list *other_obj_attributes[2];
- /* The .note.gnu.build-id section and --build-id option setting, or NULL. */
- char *emit_note_gnu_build_id;
- asection *note_gnu_build_id_sec;
+ /* Called at the end of _bfd_elf_write_object_contents if not NULL. */
+ bfd_boolean (*after_write_object_contents) (bfd *);
+ void *after_write_object_contents_info;
};
#define elf_tdata(bfd) ((bfd) -> tdata.elf_obj_data)
@@ -2046,9 +2046,6 @@ extern int _bfd_elf_obj_attrs_arg_type (bfd *, int, int);
extern void _bfd_elf_parse_attributes (bfd *, Elf_Internal_Shdr *);
extern bfd_boolean _bfd_elf_merge_object_attributes (bfd *, bfd *);
-extern bfd_size_type _bfd_id_note_section_size
- (bfd *abfd, struct bfd_link_info *link_info);
-
/* Large common section. */
extern asection _bfd_elf_large_com_section;