aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index b50a534..6cb1f69 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -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.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 2866fee..fbafd2b 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -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: