projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Re: Revise sleb128 and uleb128 reader
[deliverable/binutils-gdb.git]
/
binutils
/
elfedit.c
diff --git
a/binutils/elfedit.c
b/binutils/elfedit.c
index ea261de4244183fb6291679d996c745798bdc29a..da1984e5b1d2a7a83470e1b89812bc6a5ba604bc 100644
(file)
--- a/
binutils/elfedit.c
+++ b/
binutils/elfedit.c
@@
-225,7
+225,7
@@
update_gnu_property (const char *file_name, FILE *file)
if (disable_x86_features)
bitmask &= ~disable_x86_features;
if (old_bitmask != bitmask)
if (disable_x86_features)
bitmask &= ~disable_x86_features;
if (old_bitmask != bitmask)
-
BYTE_PUT (ptr, bitmask
);
+
byte_put (ptr, bitmask, 4
);
goto out;
}
goto out;
}
@@
-260,7
+260,10
@@
elf_x86_feature (const char *feature, int enable)
else if (strcasecmp (feature, "shstk") == 0)
x86_feature = GNU_PROPERTY_X86_FEATURE_1_SHSTK;
else
else if (strcasecmp (feature, "shstk") == 0)
x86_feature = GNU_PROPERTY_X86_FEATURE_1_SHSTK;
else
- return -1;
+ {
+ error (_("Unknown x86 feature: %s\n"), feature);
+ return -1;
+ }
if (enable)
{
if (enable)
{
This page took
0.024654 seconds
and
4
git commands to generate.