public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] doc/invoke.texi: CRIS: Remove references to cris-axis-linux-gnu
@ 2022-04-18 16:51 Hans-Peter Nilsson
  2022-04-18 17:02 ` Hans-Peter Nilsson
  2022-04-19  7:54 ` Richard Biener
  0 siblings, 2 replies; 3+ messages in thread
From: Hans-Peter Nilsson @ 2022-04-18 16:51 UTC (permalink / raw)
  To: gcc-patches

I'm about to commit this to master.

I'd like to also install this on the gcc-11 branch.

Ok?

-- 8< --

...and related options.  These stale bits were overlooked when support
for "Linux/GNU" and CRIS v32 was removed, before the gcc-11 release.

Resulting pdf, html and info inspected for sanity.

gcc:
	* doc/install.texi <CRIS>: Remove references to removed websites and
	adjust for cris-*-elf being the only remaining toolchain.
---
 gcc/doc/invoke.texi | 29 +++++++----------------------
 1 file changed, 7 insertions(+), 22 deletions(-)

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 1a51759e6e45..cee625c92dd6 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -854,12 +854,12 @@ Objective-C and Objective-C++ Dialects}.
 -msim  -msdata=@var{sdata-type}}
 
 @emph{CRIS Options}
-@gccoptlist{-mcpu=@var{cpu}  -march=@var{cpu}  -mtune=@var{cpu} @gol
--mmax-stack-frame=@var{n}  -melinux-stacksize=@var{n} @gol
+@gccoptlist{-mcpu=@var{cpu}  -march=@var{cpu}
+-mtune=@var{cpu} -mmax-stack-frame=@var{n} @gol
 -metrax4  -metrax100  -mpdebug  -mcc-init  -mno-side-effects @gol
 -mstack-align  -mdata-align  -mconst-align @gol
--m32-bit  -m16-bit  -m8-bit  -mno-prologue-epilogue  -mno-gotplt @gol
--melf  -maout  -melinux  -mlinux  -sim  -sim2 @gol
+-m32-bit  -m16-bit  -m8-bit  -mno-prologue-epilogue @gol
+-melf  -maout  -sim  -sim2 @gol
 -mmul-bug-workaround  -mno-mul-bug-workaround}
 
 @emph{CR16 Options}
@@ -22365,8 +22365,7 @@ These options are defined specifically for the CRIS ports.
 Generate code for the specified architecture.  The choices for
 @var{architecture-type} are @samp{v3}, @samp{v8} and @samp{v10} for
 respectively ETRAX@w{ }4, ETRAX@w{ }100, and ETRAX@w{ }100@w{ }LX@.
-Default is @samp{v0} except for cris-axis-linux-gnu, where the default is
-@samp{v10}.
+Default is @samp{v0}.
 
 @item -mtune=@var{architecture-type}
 @opindex mtune
@@ -22450,27 +22449,13 @@ option only together with visual inspection of the compiled code: no
 warnings or errors are generated when call-saved registers must be saved,
 or storage for local variables needs to be allocated.
 
-@item -mno-gotplt
-@itemx -mgotplt
-@opindex mno-gotplt
-@opindex mgotplt
-With @option{-fpic} and @option{-fPIC}, don't generate (do generate)
-instruction sequences that load addresses for functions from the PLT part
-of the GOT rather than (traditional on other architectures) calls to the
-PLT@.  The default is @option{-mgotplt}.
-
 @item -melf
 @opindex melf
-Legacy no-op option only recognized with the cris-axis-elf and
-cris-axis-linux-gnu targets.
-
-@item -mlinux
-@opindex mlinux
-Legacy no-op option only recognized with the cris-axis-linux-gnu target.
+Legacy no-op option.
 
 @item -sim
 @opindex sim
-This option, recognized for the cris-axis-elf, arranges
+This option arranges
 to link with input-output functions from a simulator library.  Code,
 initialized data and zero-initialized data are allocated consecutively.
 
-- 
2.30.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] doc/invoke.texi: CRIS: Remove references to cris-axis-linux-gnu
  2022-04-18 16:51 [PATCH] doc/invoke.texi: CRIS: Remove references to cris-axis-linux-gnu Hans-Peter Nilsson
@ 2022-04-18 17:02 ` Hans-Peter Nilsson
  2022-04-19  7:54 ` Richard Biener
  1 sibling, 0 replies; 3+ messages in thread
From: Hans-Peter Nilsson @ 2022-04-18 17:02 UTC (permalink / raw)
  To: gcc-patches

> From: Hans-Peter Nilsson <hp@axis.com>

> gcc:
> 	* doc/install.texi <CRIS>: Remove references to removed websites and
> 	adjust for cris-*-elf being the only remaining toolchain.

Oops, cutnpasto for the ChangeLog entry. :(
This one fits better:

	* doc/invoke.texi <CRIS>: Remove references to options for removed
	subtarget cris-axis-linux-gnu and tweak wording accordingly.

brgds, H-P

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] doc/invoke.texi: CRIS: Remove references to cris-axis-linux-gnu
  2022-04-18 16:51 [PATCH] doc/invoke.texi: CRIS: Remove references to cris-axis-linux-gnu Hans-Peter Nilsson
  2022-04-18 17:02 ` Hans-Peter Nilsson
@ 2022-04-19  7:54 ` Richard Biener
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Biener @ 2022-04-19  7:54 UTC (permalink / raw)
  To: Hans-Peter Nilsson; +Cc: GCC Patches

On Mon, Apr 18, 2022 at 6:51 PM Hans-Peter Nilsson <hp@axis.com> wrote:
>
> I'm about to commit this to master.
>
> I'd like to also install this on the gcc-11 branch.
>
> Ok?

OK.

> -- 8< --
>
> ...and related options.  These stale bits were overlooked when support
> for "Linux/GNU" and CRIS v32 was removed, before the gcc-11 release.
>
> Resulting pdf, html and info inspected for sanity.
>
> gcc:
>         * doc/install.texi <CRIS>: Remove references to removed websites and
>         adjust for cris-*-elf being the only remaining toolchain.
> ---
>  gcc/doc/invoke.texi | 29 +++++++----------------------
>  1 file changed, 7 insertions(+), 22 deletions(-)
>
> diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
> index 1a51759e6e45..cee625c92dd6 100644
> --- a/gcc/doc/invoke.texi
> +++ b/gcc/doc/invoke.texi
> @@ -854,12 +854,12 @@ Objective-C and Objective-C++ Dialects}.
>  -msim  -msdata=@var{sdata-type}}
>
>  @emph{CRIS Options}
> -@gccoptlist{-mcpu=@var{cpu}  -march=@var{cpu}  -mtune=@var{cpu} @gol
> --mmax-stack-frame=@var{n}  -melinux-stacksize=@var{n} @gol
> +@gccoptlist{-mcpu=@var{cpu}  -march=@var{cpu}
> +-mtune=@var{cpu} -mmax-stack-frame=@var{n} @gol
>  -metrax4  -metrax100  -mpdebug  -mcc-init  -mno-side-effects @gol
>  -mstack-align  -mdata-align  -mconst-align @gol
> --m32-bit  -m16-bit  -m8-bit  -mno-prologue-epilogue  -mno-gotplt @gol
> --melf  -maout  -melinux  -mlinux  -sim  -sim2 @gol
> +-m32-bit  -m16-bit  -m8-bit  -mno-prologue-epilogue @gol
> +-melf  -maout  -sim  -sim2 @gol
>  -mmul-bug-workaround  -mno-mul-bug-workaround}
>
>  @emph{CR16 Options}
> @@ -22365,8 +22365,7 @@ These options are defined specifically for the CRIS ports.
>  Generate code for the specified architecture.  The choices for
>  @var{architecture-type} are @samp{v3}, @samp{v8} and @samp{v10} for
>  respectively ETRAX@w{ }4, ETRAX@w{ }100, and ETRAX@w{ }100@w{ }LX@.
> -Default is @samp{v0} except for cris-axis-linux-gnu, where the default is
> -@samp{v10}.
> +Default is @samp{v0}.
>
>  @item -mtune=@var{architecture-type}
>  @opindex mtune
> @@ -22450,27 +22449,13 @@ option only together with visual inspection of the compiled code: no
>  warnings or errors are generated when call-saved registers must be saved,
>  or storage for local variables needs to be allocated.
>
> -@item -mno-gotplt
> -@itemx -mgotplt
> -@opindex mno-gotplt
> -@opindex mgotplt
> -With @option{-fpic} and @option{-fPIC}, don't generate (do generate)
> -instruction sequences that load addresses for functions from the PLT part
> -of the GOT rather than (traditional on other architectures) calls to the
> -PLT@.  The default is @option{-mgotplt}.
> -
>  @item -melf
>  @opindex melf
> -Legacy no-op option only recognized with the cris-axis-elf and
> -cris-axis-linux-gnu targets.
> -
> -@item -mlinux
> -@opindex mlinux
> -Legacy no-op option only recognized with the cris-axis-linux-gnu target.
> +Legacy no-op option.
>
>  @item -sim
>  @opindex sim
> -This option, recognized for the cris-axis-elf, arranges
> +This option arranges
>  to link with input-output functions from a simulator library.  Code,
>  initialized data and zero-initialized data are allocated consecutively.
>
> --
> 2.30.2
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-04-19  7:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-18 16:51 [PATCH] doc/invoke.texi: CRIS: Remove references to cris-axis-linux-gnu Hans-Peter Nilsson
2022-04-18 17:02 ` Hans-Peter Nilsson
2022-04-19  7:54 ` Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).