projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
52a86f8
)
2017-05-15 Jeff Law <law@redhat.com>
author
Jeff Law
<law@redhat.com>
Mon, 15 May 2017 16:48:41 +0000
(10:48 -0600)
committer
Jeff Law
<law@redhat.com>
Mon, 15 May 2017 16:48:41 +0000
(10:48 -0600)
* readelf.c (display_arc_attribute): Avoid implicit fallthru.
binutils/ChangeLog
patch
|
blob
|
history
binutils/readelf.c
patch
|
blob
|
history
diff --git
a/binutils/ChangeLog
b/binutils/ChangeLog
index 7222d9a1871e7ee2f682f5dad61076c4800cc0cd..675050bce70c1053e62729286345a33fa1671760 100644
(file)
--- a/
binutils/ChangeLog
+++ b/
binutils/ChangeLog
@@
-1,3
+1,7
@@
+2017-05-15 Jeff Law <law@redhat.com>
+
+ * readelf.c (display_arc_attribute): Avoid implicit fallthru.
+
2017-05-15 Maciej W. Rozycki <macro@imgtec.com>
* testsuite/binutils-all/mips/mips16-undecoded.d: Add `-mips3'
diff --git
a/binutils/readelf.c
b/binutils/readelf.c
index 7ff29bc8ba162d14147098dc8b231b7bf053a5ea..bb6bb79d4e0370f05593bed3fb1cfa090b604d65 100644
(file)
--- a/
binutils/readelf.c
+++ b/
binutils/readelf.c
@@
-13586,10
+13586,11
@@
display_arc_attribute (unsigned char * p,
{
default:
if (val > 0 && val < 16)
- {
printf ("Core%d\n", val);
- break;
- }
+ else
+ printf ("Unknown\n");
+ break;
+
case 0:
printf (_("Absent\n"));
break;