aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-06-21 03:30:32 +0000
committerNick Clifton <nickc@redhat.com>1999-06-21 03:30:32 +0000
commit6f798e5c174ed44a384c889a73a02e4f454b0f4c (patch)
treeb9e6c0d7551c7b6af2c48b57fc64cd238a4468f8 /ld/ld.texinfo
parent74479bd3b9ac63f0237661ce42f3bb1c0f4b7ad3 (diff)
downloadfsf-binutils-gdb-6f798e5c174ed44a384c889a73a02e4f454b0f4c.zip
fsf-binutils-gdb-6f798e5c174ed44a384c889a73a02e4f454b0f4c.tar.gz
fsf-binutils-gdb-6f798e5c174ed44a384c889a73a02e4f454b0f4c.tar.bz2
Add new command line switch --thumb-entry.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo11
1 files changed, 10 insertions, 1 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index 43e7e82..9e720de 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -3879,7 +3879,7 @@ not itself call any subroutines).
@section @code{ld}'s support for interworking between ARM and Thumb code
@cindex ARM interworking support
-@cindex --support-old-code
+@kindex --support-old-code
For the ARM, @code{ld} will generate code stubs to allow functions calls
betweem ARM and Thumb code. These stubs only work with code that has
been compiled and assembled with the @samp{-mthumb-interwork} command
@@ -3891,6 +3891,15 @@ which will work with non-interworking aware ARM code. Note, however,
the linker does not support generating stubs for function calls to
non-interworking aware Thumb code.
+@cindex thumb entry point
+@cindex entry point, thumb
+@kindex --thumb-entry=@var{entry}
+The @samp{--thumb-entry} switch is a duplicate of the generic
+@samp{--entry} switch, in that it sets the program's starting address.
+But it also sets the bottom bit of the address, so that it can be
+branched to using a BX instruction, and the program will start
+executing in Thumb mode straight away.
+
@ifclear GENERIC
@lowersections
@end ifclear