aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf32-arm.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 6b396db..a18f205 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2007-06-26 Joseph Myers <joseph@codesourcery.com>
+
+ * elf32-arm.c (copy_eabi_attributes): Copy type of attributes.
+
2007-06-25 Richard Sandiford <richard@codesourcery.com>
* elfxx-mips.c (mips_elf_calculate_relocation): Allow local stubs
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);