From: Ben Elliston Date: Thu, 24 Jun 2004 06:25:35 +0000 (+0000) Subject: * readelf.c (get_segment_type): Display "GNU_STACK", not just X-Git-Tag: csl-arm-2004-q3~1108 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb7b006ea9c3b6c6dd29ca4e3f47007083c8c0e1;p=thirdparty%2Fbinutils-gdb.git * readelf.c (get_segment_type): Display "GNU_STACK", not just "STACK", when a PT_GNU_STACK segment is encountered. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index b50a534c16e..6cb1f691a4a 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2004-06-24 Ben Elliston + + * readelf.c (get_segment_type): Display "GNU_STACK", not just + "STACK", when a PT_GNU_STACK segment is encountered. + 2004-06-24 Alan Modra * objcopy.c (copy_section): Don't set _cooked_size. diff --git a/binutils/readelf.c b/binutils/readelf.c index 2866fee688d..fbafd2bac39 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: