aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-05-22 21:58:40 +0000
committerNick Clifton <nickc@redhat.com>2000-05-22 21:58:40 +0000
commit176355da9935d29e302b00cef227c2c9946492c3 (patch)
treeb359ee540423bdf84b39452b0ee7183e9dd7599e /ld/ld.texinfo
parent5110c57e8e960ab73903ff4e3e1a13fe42012a1f (diff)
downloadgdb-176355da9935d29e302b00cef227c2c9946492c3.zip
gdb-176355da9935d29e302b00cef227c2c9946492c3.tar.gz
gdb-176355da9935d29e302b00cef227c2c9946492c3.tar.bz2
Patch from Thomas de Lellis to implement --section-start
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo12
1 files changed, 12 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 1ff0ecb..22684c1 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -1143,6 +1143,18 @@ full debugging information by over 30 percent. Unfortunately, the SunOS
trouble). The @samp{--traditional-format} switch tells @code{ld} to not
combine duplicate entries.
+@kindex --section-start @var{sectionname}=@var{org}
+@item --section-start @var{sectionname}=@var{org}
+Locate a section in the output file at the absolute
+address given by @var{org}. You may use this option as many
+times as necessary to locate multiple sections in the command
+line.
+@var{org} must be a single hexadecimal integer;
+for compatibility with other linkers, you may omit the leading
+@samp{0x} usually associated with hexadecimal values. @emph{Note:} there
+should be no white space between @var{sectionname}, the equals
+sign (``@key{=}''), and @var{org}.
+
@kindex -Tbss @var{org}
@kindex -Tdata @var{org}
@kindex -Ttext @var{org}