From c5d3d49b5856362ad2e49175147c44afac354c1b Mon Sep 17 00:00:00 2001 From: Steve Ellcey Date: Fri, 4 Oct 2002 16:58:11 +0000 Subject: [PATCH] invoke.texi (HPPA): Add -mlinker-opt, -mgnu-ld, and -mhp-ld options to list of options. * doc/invoke.texi (HPPA): Add -mlinker-opt, -mgnu-ld, and -mhp-ld options to list of options. Add -mgnu-ld and -mhp-ld option descriptions. From-SVN: r57824 --- gcc/ChangeLog | 6 ++++++ gcc/doc/invoke.texi | 27 ++++++++++++++++++++++++++- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ee988c12378..028a383a6fd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2002-10-04 Steve Ellcey + + * doc/invoke.texi (HPPA): Add -mlinker-opt, -mgnu-ld, + and -mhp-ld options to list of options. Add -mgnu-ld + and -mhp-ld option descriptions. + 2002-10-04 Steve Ellcey * fixinc/inclhack.def (hpux11_abs): New. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 65aa2a050bf..f112abe5d1a 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -501,7 +501,8 @@ in the following sections. @gccoptlist{ -march=@var{architecture-type} @gol -mbig-switch -mdisable-fpregs -mdisable-indexing @gol --mfast-indirect-calls -mgas -mjump-in-delay @gol +-mfast-indirect-calls -mgas -mgnu-ld -mhp-ld @gol +-mjump-in-delay -mlinker-opt @gol -mlong-load-store -mno-big-switch -mno-disable-fpregs @gol -mno-disable-indexing -mno-fast-indirect-calls -mno-gas @gol -mno-jump-in-delay -mno-long-load-store @gol @@ -7985,6 +7986,30 @@ Generate the predefine, @code{_SIO}, for server IO. The default is @option{-mwsio}. This generates the predefines, @code{__hp9000s700}, @code{__hp9000s700__} and @code{_WSIO}, for workstation IO. These options are available under HP-UX and HI-UX. + +@item -mgnu-ld +@opindex gnu-ld +Use GNU ld specific options. This passes @option{-shared} to ld when +building a shared library. It is the default when GCC is configured, +explicitly or implicitly, with the GNU linker. This option does not +have any affect on which ld is called, it only changes what parameters +are passed to that ld. The ld that is called is determined by the +@option{--with-ld} configure option, gcc's program search path, and +finally by the user's @env{PATH}. The linker used by GCC can be printed +using @samp{which `gcc -print-prog-name=ld`}. + +@item -mhp-ld +@opindex hp-ld +Use HP ld specific options. This passes @option{-b} to ld when building +a shared library and passes @option{+Accept TypeMismatch} to ld on all +links. It is the default when GCC is configured, explicitly or +implicitly, with the HP linker. This option does not have any affect on +which ld is called, it only changes what parameters are passed to that +ld. The ld that is called is determined by the @option{--with-ld} +configure option, gcc's program search path, and finally by the user's +@env{PATH}. The linker used by GCC can be printed using @samp{which +`gcc -print-prog-name=ld`}. + @end table @node Intel 960 Options -- 2.30.2