projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
GNU attribute output on errors
[deliverable/binutils-gdb.git]
/
bfd
/
elf-attrs.c
diff --git
a/bfd/elf-attrs.c
b/bfd/elf-attrs.c
index b3533095fff2ea4d53d7380c95663515435fde74..5c1b96092c2dad6f9baea975c969967a24837814 100644
(file)
--- a/
bfd/elf-attrs.c
+++ b/
bfd/elf-attrs.c
@@
-42,6
+42,8
@@
uleb128_size (unsigned int i)
static bfd_boolean
is_default_attr (obj_attribute *attr)
{
+ if (ATTR_TYPE_HAS_ERROR (attr->type))
+ return TRUE;
if (ATTR_TYPE_HAS_INT_VAL (attr->type) && attr->i != 0)
return FALSE;
if (ATTR_TYPE_HAS_STR_VAL (attr->type) && attr->s && *attr->s)
This page took
0.02894 seconds
and
4
git commands to generate.