diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2008-10-21 12:47:18 -0400 |
---|---|---|
committer | Sandra Loosemore <sandra@gcc.gnu.org> | 2008-10-21 12:47:18 -0400 |
commit | 3027350e73e58ea1f808d6ce005044e58777692f (patch) | |
tree | 7181cfc2ed93e59d9e1fd2b2ec79ea28410542ec /gcc/doc | |
parent | 106580684f1027790dd169adea22d06b76ad7b35 (diff) | |
download | gcc-3027350e73e58ea1f808d6ce005044e58777692f.zip gcc-3027350e73e58ea1f808d6ce005044e58777692f.tar.gz gcc-3027350e73e58ea1f808d6ce005044e58777692f.tar.bz2 |
config.gcc (powerpc-*): Make t-ppcgas imply usegas.h.
2008-10-21 Sandra Loosemore <sandra@codesourcery.com>
gcc/
* config.gcc (powerpc-*): Make t-ppcgas imply usegas.h.
* config/svr4.h (SVR4_ASM_SPEC): New.
(ASM_SPEC): Inherit from SVR4_ASM_SPEC.
* config/rs6000/sysv4.h (ASM_SPEC): Inherit from SVR4_ASM_SPEC.
* doc/invoke.texi (Option Summary): Add -T to linker options.
(Link Options): Document -T.
From-SVN: r141267
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index c05ced4..7319b90d 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -406,7 +406,7 @@ Objective-C and Objective-C++ Dialects}. @gccoptlist{@var{object-file-name} -l@var{library} @gol -nostartfiles -nodefaultlibs -nostdlib -pie -rdynamic @gol -s -static -static-libgcc -shared -shared-libgcc -symbolic @gol --Wl,@var{option} -Xlinker @var{option} @gol +-T @var{script} -Wl,@var{option} -Xlinker @var{option} @gol -u @var{symbol}} @item Directory Options @@ -7857,6 +7857,14 @@ about any unresolved references (unless overridden by the link editor option @samp{-Xlinker -z -Xlinker defs}). Only a few systems support this option. +@item -T @var{script} +@opindex T +@cindex linker script +Use @var{script} as the linker script. This option is supported by most +systems using the GNU linker. On some targets, such as bare-board +targets without an operating system, the @option{-T} option may be required +when linking to avoid references to undefined symbols. + @item -Xlinker @var{option} @opindex Xlinker Pass @var{option} as an option to the linker. You can use this to |