Re: [PATCH v2] x86: Warn -pg without -mfentry only on glibc targets

2025-07-16 Thread Uros Bizjak
On Wed, Jul 16, 2025 at 5:15 PM H.J. Lu wrote: > > Since only glibc targets support -mfentry, warn -pg without -mfentry only > on glibc targets. > > gcc/ > > PR target/120881 > PR testsuite/121078 > * config/i386/i386-options.cc (ix86_option_override_internal): > Wa

[PATCH v2] x86: Warn -pg without -mfentry only on glibc targets

2025-07-16 Thread H.J. Lu
Since only glibc targets support -mfentry, warn -pg without -mfentry only on glibc targets. gcc/ PR target/120881 PR testsuite/121078 * config/i386/i386-options.cc (ix86_option_override_internal): Warn -pg without -mfentry only on glibc targets. gcc/testsuite/