summaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2013-01-14 13:37:07 +0000
committerAlan Modra <amodra@bigpond.net.au>2013-01-14 13:37:07 +0000
commitf767babf512130fdcfa0bac71fe82251d58463ca (patch)
tree2c79911d24c1cb67ce4959e75a8e7b7df38692fe /ld/ld.texinfo
parenta9aea02ade16877c3436ccc3ce0463ba616af152 (diff)
downloadbinutils-redhat-f767babf512130fdcfa0bac71fe82251d58463ca.tar.gz
* 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 4777ad50ac..2429668728 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