diff options
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/readelf.c | 11 |
2 files changed, 15 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index fa83d02..d42141e 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2010-09-07 Nick Clifton <nickc@redhat.com> + + * readelf.c (process_section_headers): Mention meaning of 'l' + section flag for x86-64 targets. + 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com> Jakub Jelinek <jakub@redhat.com> diff --git a/binutils/readelf.c b/binutils/readelf.c index b345afb..b91c5ba 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -4861,10 +4861,19 @@ process_section_headers (FILE * file) } if (!do_section_details) - printf (_("Key to Flags:\n\ + { + if (elf_header.e_machine == EM_X86_64 + || elf_header.e_machine == EM_L1OM) + printf (_("Key to Flags:\n\ + W (write), A (alloc), X (execute), M (merge), S (strings), l (large)\n\ + I (info), L (link order), G (group), T (TLS), E (exclude), x (unknown)\n\ + O (extra OS processing required) o (OS specific), p (processor specific)\n")); + else + printf (_("Key to Flags:\n\ W (write), A (alloc), X (execute), M (merge), S (strings)\n\ I (info), L (link order), G (group), T (TLS), E (exclude), x (unknown)\n\ O (extra OS processing required) o (OS specific), p (processor specific)\n")); + } return 1; } |