diff options
author | Ben Elliston <bje@au.ibm.com> | 2004-06-24 06:25:35 +0000 |
---|---|---|
committer | Ben Elliston <bje@au.ibm.com> | 2004-06-24 06:25:35 +0000 |
commit | fb7b006ea9c3b6c6dd29ca4e3f47007083c8c0e1 (patch) | |
tree | 9cd705bd314d6d5cb0c08531c7721ba0e2945ee5 | |
parent | eea6121ac0cb22524c627017191ca09825e3d702 (diff) | |
download | gdb-fb7b006ea9c3b6c6dd29ca4e3f47007083c8c0e1.zip gdb-fb7b006ea9c3b6c6dd29ca4e3f47007083c8c0e1.tar.gz gdb-fb7b006ea9c3b6c6dd29ca4e3f47007083c8c0e1.tar.bz2 |
* readelf.c (get_segment_type): Display "GNU_STACK", not just
"STACK", when a PT_GNU_STACK segment is encountered.
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/readelf.c | 2 |
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: |