diff options
author | Joseph Myers <joseph@codesourcery.com> | 2007-06-26 13:55:04 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2007-06-26 13:55:04 +0000 |
commit | 3d3e6f9a7c84090b7955feddb458bab21314714d (patch) | |
tree | 2b87df84d6d154008ab72730670aa8d6634692c7 /bfd/elf32-arm.c | |
parent | a46ed97fe4659094a3835a3909813b6ee1ff02c9 (diff) | |
download | gdb-3d3e6f9a7c84090b7955feddb458bab21314714d.zip gdb-3d3e6f9a7c84090b7955feddb458bab21314714d.tar.gz gdb-3d3e6f9a7c84090b7955feddb458bab21314714d.tar.bz2 |
bfd:
* elf32-arm.c (copy_eabi_attributes): Copy type of attributes.
ld/testsuite:
* ld-arm/attr-merge.s, ld-arm/attr-merge.attr: New.
* ld-arm/arm-elf.exp (armelftests): Add new test.
Diffstat (limited to 'bfd/elf32-arm.c')
-rw-r--r-- | bfd/elf32-arm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c index 6c85e52..bf4f49f 100644 --- a/bfd/elf32-arm.c +++ b/bfd/elf32-arm.c @@ -6969,6 +6969,7 @@ copy_eabi_attributes (bfd *ibfd, bfd *obfd) out_attr = &elf32_arm_tdata (obfd)->known_eabi_attributes[4]; for (i = 4; i < NUM_KNOWN_ATTRIBUTES; i++) { + out_attr->type = in_attr->type; out_attr->i = in_attr->i; if (in_attr->s && *in_attr->s) out_attr->s = attr_strdup (obfd, in_attr->s); |