invoke.texi (HPPA): Add -mlinker-opt, -mgnu-ld, and -mhp-ld options to list of options.
authorSteve Ellcey <sje@cup.hp.com>
Fri, 4 Oct 2002 16:58:11 +0000 (16:58 +0000)
committerSteve Ellcey <sje@gcc.gnu.org>
Fri, 4 Oct 2002 16:58:11 +0000 (16:58 +0000)
* 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
gcc/doc/invoke.texi

index ee988c12378ad9663f22cd787dcf2de7c1381005..028a383a6fdfec98ea0a779ddefc83763e0984aa 100644 (file)
@@ -1,3 +1,9 @@
+2002-10-04  Steve Ellcey  <sje@cup.hp.com>
+
+       * 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  <sje@cup.hp.com>
 
        * fixinc/inclhack.def (hpux11_abs):  New.
index 65aa2a050bf7f9c71794c752ae33d27654ee87c3..f112abe5d1a6f8c84b94c8f5048b40293f4133d9 100644 (file)
@@ -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