aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2010-09-07 15:02:17 +0000
committerNick Clifton <nickc@redhat.com>2010-09-07 15:02:17 +0000
commit3dbcc61de69ac77c852c865edb2720bc45e13d86 (patch)
tree9506079f65c591a688c24babf84b1312ecb0173d /binutils
parentfc956729733b29650ebd1cfddccb6eaf3a35a9b2 (diff)
downloadgdb-3dbcc61de69ac77c852c865edb2720bc45e13d86.zip
gdb-3dbcc61de69ac77c852c865edb2720bc45e13d86.tar.gz
gdb-3dbcc61de69ac77c852c865edb2720bc45e13d86.tar.bz2
* ldwrite.c (clone_section): Call bfd_copy_private_section_data on
newly cloned section. * ld-x86-64/split-by-file.rd: New test. * ld-x86-64/split-by-file1.s: New test source code. * ld-x86-64/split-by-file2.s: New test source code. * ld-x86-64/x86-64.exp: Run the new test. * readelf.c (process_section_headers): Mention meaning of 'l' section flag for x86-64 targets.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/readelf.c11
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;
}