summaryrefslogtreecommitdiff
path: root/gas/config/obj-elf.h
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2014-05-20 19:02:41 +0100
committerRichard Sandiford <rdsandiford@googlemail.com>2014-05-20 19:02:41 +0100
commit9440a9045928d3d4624b8dbcfbd98587a49d35e7 (patch)
treeb65d32c5eda42c6b7959a66ef4441ed98ffcee01 /gas/config/obj-elf.h
parent802e8e6d8465a0d05803a987ba1bb3237fb2fb70 (diff)
downloadbinutils-gdb-9440a9045928d3d4624b8dbcfbd98587a49d35e7.tar.gz
gas/
* config/obj-elf.h (obj_elf_seen_attribute): Declare. * config/obj-elf.c (recorded_attribute_info): New structure. (recorded_attributes): New variable. (record_attribute, obj_elf_seen_attribute): New functions. (obj_elf_vendor_attribute): Record which attributes have been seen.
Diffstat (limited to 'gas/config/obj-elf.h')
-rw-r--r--gas/config/obj-elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/obj-elf.h b/gas/config/obj-elf.h
index 1e9d5307eec..3f8f8f4947d 100644
--- a/gas/config/obj-elf.h
+++ b/gas/config/obj-elf.h
@@ -165,6 +165,8 @@ extern void obj_elf_change_section
(const char *, int, bfd_vma, int, const char *, int, int);
extern struct fix *obj_elf_vtable_inherit (int);
extern struct fix *obj_elf_vtable_entry (int);
+extern bfd_boolean obj_elf_seen_attribute
+ (int, unsigned int);
extern int obj_elf_vendor_attribute (int);
/* BFD wants to write the udata field, which is a no-no for the