aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/split-by-file.rd
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 /ld/testsuite/ld-x86-64/split-by-file.rd
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 'ld/testsuite/ld-x86-64/split-by-file.rd')
-rw-r--r--ld/testsuite/ld-x86-64/split-by-file.rd17
1 files changed, 17 insertions, 0 deletions
diff --git a/ld/testsuite/ld-x86-64/split-by-file.rd b/ld/testsuite/ld-x86-64/split-by-file.rd
new file mode 100644
index 0000000..7c63aaa
--- /dev/null
+++ b/ld/testsuite/ld-x86-64/split-by-file.rd
@@ -0,0 +1,17 @@
+There are 9 section headers, starting at offset 0x80:
+
+Section Headers:
+ \[Nr\] Name Type Address Off Size ES Flg Lk Inf Al
+ \[ 0\] NULL 0000000000000000 000000 000000 00 0 0 0
+ \[ 1\] .text PROGBITS 0000000000000000 000040 000000 00 AX 0 0 4
+ \[ 2\] .foo PROGBITS 0000000000000000 000040 000003 00 AXl 0 0 1
+ \[ 3\] .data PROGBITS 0000000000000000 000044 000000 00 WA 0 0 4
+ \[ 4\] .bss NOBITS 0000000000000000 000044 000000 00 WA 0 0 4
+ \[ 5\] .foo.0 PROGBITS 0000000000000003 000044 000003 00 AXl 0 0 1
+ \[ 6\] .shstrtab STRTAB 0000000000000000 000047 000038 00 0 0 1
+ \[ 7\] .symtab SYMTAB 0000000000000000 0002c0 0000d8 18 8 6 8
+ \[ 8\] .strtab STRTAB 0000000000000000 000398 000016 00 0 0 1
+Key to Flags:
+ W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\), l \(large\)
+ I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\)
+ O \(extra OS processing required\) o \(OS specific\), p \(processor specific\)