]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* readelf.c (get_segment_type): Display "GNU_STACK", not just
authorBen Elliston <bje@au.ibm.com>
Thu, 24 Jun 2004 06:25:35 +0000 (06:25 +0000)
committerBen Elliston <bje@au.ibm.com>
Thu, 24 Jun 2004 06:25:35 +0000 (06:25 +0000)
"STACK", when a PT_GNU_STACK segment is encountered.

binutils/ChangeLog
binutils/readelf.c

index b50a534c16e4f26df6633734e6db4552cc4c9dbe..6cb1f691a4a97f083fb62483ccba3fe371e5eab0 100644 (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.
index 2866fee688dc0e307d8f5b03b5b6ab10c23e4ce7..fbafd2bac39b95532659622d424ff3c34c2ace29 100644 (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: