aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2016-01-04 23:16:45 +0000
committerMaciej W. Rozycki <macro@imgtec.com>2016-01-04 23:16:45 +0000
commit43d223b5430a93dc0d777276471128800b9887cf (patch)
tree562eafc4e6e6f93971fc3f197df83b9798779d1f /bfd/elfxx-mips.c
parentb2e9744f80a002c06504ac1ef41ae1f7e48167c8 (diff)
downloadgdb-43d223b5430a93dc0d777276471128800b9887cf.zip
gdb-43d223b5430a93dc0d777276471128800b9887cf.tar.gz
gdb-43d223b5430a93dc0d777276471128800b9887cf.tar.bz2
MIPS/BFD: Propagate the return status in attribute merging
Fix the issue of any failure from `_bfd_elf_merge_object_attributes' not being propagated by `mips_elf_merge_obj_attributes'. bfd/ * elfxx-mips.c (mips_elf_merge_obj_attributes): Propagate the return status from `_bfd_elf_merge_object_attributes'.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index f71be49..a5d47d6 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -15206,9 +15206,7 @@ mips_elf_merge_obj_attributes (bfd *ibfd, bfd *obfd)
}
/* Merge Tag_compatibility attributes and any common GNU ones. */
- _bfd_elf_merge_object_attributes (ibfd, obfd);
-
- return TRUE;
+ return _bfd_elf_merge_object_attributes (ibfd, obfd);
}
/* Merge backend specific data from an object file to the output