From fb7b006ea9c3b6c6dd29ca4e3f47007083c8c0e1 Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Thu, 24 Jun 2004 06:25:35 +0000 Subject: [PATCH] * readelf.c (get_segment_type): Display "GNU_STACK", not just "STACK", when a PT_GNU_STACK segment is encountered. --- binutils/ChangeLog | 5 +++++ binutils/readelf.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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: -- 2.30.2