aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-01-16 14:14:07 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-01-16 14:14:07 +0000
commit258795f524fca9d5b98441b81684c331c4d721b1 (patch)
tree365c275b1bbaade138d48bf73fb98ddbd26f7a70 /ld/ld.texinfo
parent3493e7b072fcca9911dd102bbcb6a1fc61012f95 (diff)
downloadgdb-258795f524fca9d5b98441b81684c331c4d721b1.zip
gdb-258795f524fca9d5b98441b81684c331c4d721b1.tar.gz
gdb-258795f524fca9d5b98441b81684c331c4d721b1.tar.bz2
ld/
2009-01-16 H.J. Lu <hongjiu.lu@intel.com> * lexsup.c (option_values): Add OPTION_TTEXT_SEGMENT. (ld_options): Add -Ttext-segment. (parse_args): Handle OPTION_TTEXT_SEGMENT. * ld.texinfo: Document -Ttext-segment. * NEWS: Mention -Ttext-segment. * scripttempl/elf.sc (TEXT_START_ADDR): Use SEGMENT_START. (SHLIB_TEXT_START_ADDR): Likewise. ld/testsuite/ 2009-01-16 H.J. Lu <hongjiu.lu@intel.com> * ld-elf/textaddr1.d: New. * ld-elf/textaddr2.d: Likewise.
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 3f16546..3543505 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -1723,6 +1723,12 @@ sign (``@key{=}''), and @var{org}.
Same as --section-start, with @code{.bss}, @code{.data} or
@code{.text} as the @var{sectionname}.
+@kindex -Ttext-segment @var{org}
+@itemx -Ttext-segment @var{org}
+@cindex text segment origin, cmd line
+When creating an ELF executable or shared object, it will set the address
+of the first byte of the text segment.
+
@kindex --unresolved-symbols
@item --unresolved-symbols=@var{method}
Determine how to handle unresolved symbols. There are four possible