aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf-bfd.h
diff options
context:
space:
mode:
authorAndrew Stubbs <andrew.stubbs@st.com>2009-01-19 11:50:31 +0000
committerAndrew Stubbs <andrew.stubbs@st.com>2009-01-19 11:50:31 +0000
commit2d0bb7614be1a94ab9051c35fe95514b05fc0823 (patch)
tree248548d3974efc4e89823e0ca4dcde4967e8d2cb /bfd/elf-bfd.h
parenta77e83b76e29dd542c48e2edb3c3980a6c790262 (diff)
downloadgdb-2d0bb7614be1a94ab9051c35fe95514b05fc0823.zip
gdb-2d0bb7614be1a94ab9051c35fe95514b05fc0823.tar.gz
gdb-2d0bb7614be1a94ab9051c35fe95514b05fc0823.tar.bz2
2009-01-19 Andrew Stubbs <ams@codesourcery.com>
bfd/ * elf-attrs.c (is_default_attr): Support defaultless attributes. (bfd_elf_add_obj_attr_int): Get type from _bfd_elf_obj_attrs_arg_type. (bfd_elf_add_obj_attr_string): Likewise. (bfd_elf_add_obj_attr_int_string): Likewise. (_bfd_elf_parse_attributes): Allow for unknown flag bits in type. * elf-bfd.h (struct obj_attribute): Document new flag bit. * elf32-arm.c (elf32_arm_obj_attrs_arg_type): Specify that Tag_nodefaults has no default value. (elf32_arm_merge_eabi_attributes): Modify the Tag_nodefaults comment to reflect the new state. gas/ * read.c (s_vendor_attribute): Allow for unknown flag bits in type.
Diffstat (limited to 'bfd/elf-bfd.h')
-rw-r--r--bfd/elf-bfd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 14825a4..267b4b4 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -1373,7 +1373,8 @@ struct elf_find_verdep_info
/* The value of an object attribute. type & 1 indicates whether there
is an integer value; type & 2 indicates whether there is a string
- value. */
+ value; type & 4 indicates whether the type has a default value
+ (i.e. is there a value that need not be written to file). */
typedef struct obj_attribute
{