aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-01-14 13:37:10 +0000
committerAlan Modra <amodra@gmail.com>2013-01-14 13:37:10 +0000
commit0d705e9f94332dec93970e80afec6c667c79f555 (patch)
tree72b50754b08938a17dcbddd889102ac21d96d9c2 /ld/ld.texinfo
parentd6391ce5a607711d3db4847d0fa0dd3c00c289e2 (diff)
downloadgdb-0d705e9f94332dec93970e80afec6c667c79f555.zip
gdb-0d705e9f94332dec93970e80afec6c667c79f555.tar.gz
gdb-0d705e9f94332dec93970e80afec6c667c79f555.tar.bz2
* ld.texinfo (-Tldata-segment): Describe.
* ldlex.h (OPTION_TLDATA_SEGMENT): New enum value. * lexsup.c (ld_options): Add -Tldata-segment. (parse_args): Handle OPTION_TLDATA_SEGMENT. * scripttempl/elf.sc: Support LARGE_DATA_ADDR.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo6
1 files changed, 6 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 4777ad5..2429668 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -1846,6 +1846,12 @@ When creating an ELF executable or shared object for a target where
the read-only data is in its own segment separate from the executable
text, it will set the address of the first byte of the read-only data segment.
+@kindex -Tldata-segment=@var{org}
+@item -Tldata-segment=@var{org}
+@cindex ldata segment origin, cmd line
+When creating an ELF executable or shared object for x86-64 medium memory
+model, it will set the address of the first byte of the ldata segment.
+
@kindex --unresolved-symbols
@item --unresolved-symbols=@var{method}
Determine how to handle unresolved symbols. There are four possible