aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-arm.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-10-24 12:52:37 +0000
committerNick Clifton <nickc@redhat.com>2011-10-24 12:52:37 +0000
commitb6009aca9a683ad95502bf895d62a02fa5d72724 (patch)
tree55ddfb4aef0b3642a9197dede990f265e13f8c7f /bfd/elf32-arm.c
parent07725569e1dcd8d62deff455ba7d04dcbd2a6af3 (diff)
downloadgdb-b6009aca9a683ad95502bf895d62a02fa5d72724.zip
gdb-b6009aca9a683ad95502bf895d62a02fa5d72724.tar.gz
gdb-b6009aca9a683ad95502bf895d62a02fa5d72724.tar.bz2
PR ld/13273
* elf32-arm.c (elf32_arm_merge_eabi_attributes): Do not warn about identical TAG_PCS_config attributes.
Diffstat (limited to 'bfd/elf32-arm.c')
-rw-r--r--bfd/elf32-arm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index e663d93..314c6f9 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -11549,7 +11549,7 @@ elf32_arm_merge_eabi_attributes (bfd *ibfd, bfd *obfd)
case Tag_PCS_config:
if (out_attr[i].i == 0)
out_attr[i].i = in_attr[i].i;
- else if (in_attr[i].i != 0 && out_attr[i].i != 0)
+ else if (in_attr[i].i != 0 && out_attr[i].i != in_attr[i].i)
{
/* It's sometimes ok to mix different configs, so this is only
a warning. */