* readelf.c (get_segment_type): Display "GNU_STACK", not just

"STACK", when a PT_GNU_STACK segment is encountered.
This commit is contained in:
Ben Elliston 2004-06-24 06:25:35 +00:00
parent eea6121ac0
commit fb7b006ea9
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-06-24 Ben Elliston <bje@au.ibm.com>
* readelf.c (get_segment_type): Display "GNU_STACK", not just
"STACK", when a PT_GNU_STACK segment is encountered.
2004-06-24 Alan Modra <amodra@bigpond.net.au>
* objcopy.c (copy_section): Don't set _cooked_size.

View File

@ -2191,7 +2191,7 @@ get_segment_type (unsigned long p_type)
case PT_GNU_EH_FRAME:
return "GNU_EH_FRAME";
case PT_GNU_STACK: return "STACK";
case PT_GNU_STACK: return "GNU_STACK";
case PT_GNU_RELRO: return "GNU_RELRO";
default: