Apple Rosetta 2 x86-64 emulator is known to not support SAHF
instruction, which otherwise might be generated when targetting
-march=x86-64-v2.
PR target/119781
gcc/ChangeLog:
* doc/invoke.texi: Document lack of SAHF on Apple Rosetta 2.
Signed-off-by: Dimitri John Ledkov
On Thu, 28 Nov 2024 at 15:12, Marek Polacek wrote:
>
> On Thu, Nov 28, 2024 at 11:27:32AM +, Dimitri John Ledkov wrote:
> > Did bootstrap with gcc-14 (clean cherrypick, minor offsets).
> > Built and tested on arm64 & x86_64.
> > It resolved the reported problem.
Did bootstrap with gcc-14 (clean cherrypick, minor offsets).
Built and tested on arm64 & x86_64.
It resolved the reported problem.
Thank you for this patch.
On Tue, 26 Nov 2024, 22:37 Marek Polacek, wrote:
> Bootstrapped/regtested on x86_64-pc-linux-gnu, ok for trunk?
>
> -- >8 --
> As the manu
tware
with common build systems, despite removing linking command and thus
removing `-lgcc_s` from the link command and actually miss-building
lots of things. (Intentionally added invalid arg to prevent others
making the same mistake with a blind copy & paste).
Dimitri John Ledkov (2):
specs: load specs.overlay with all commands enabled
specs: always generate built-in specs, before reading "specs" file
gcc/gcc.cc | 23 +--
1 file changed, 17 insertions(+), 6 deletions(-)
--
2.43.0
ver::set_up_specs): Always load "built-in"
generated specs files, prior to loading "specs" file. Allow
"%include", "%include_noerr" and "%rename" commands in
"specs" file.
Signed-off-by: Dimitri John Ledkov
---
gcc
quot; and "%rename" commands, similar to user provided
`-specs` on the command line.
Then continue to parse and load any user provided `-specs` on the
command line.
gcc/ChangeLog:
* gcc.cc (driver::set_up_specs): Parse and load specs.overlay
by default, with all commands