diff options
author | Andreas Tobler <andreast@gcc.gnu.org> | 2024-06-09 23:18:04 +0200 |
---|---|---|
committer | Gerald Pfeifer <gerald@pfeifer.com> | 2024-06-09 23:18:04 +0200 |
commit | 48abb540701447b0cd9df7542720ab65a34fc1b1 (patch) | |
tree | e85f5dfbd3581557056269aa853e19e3b0500edd /gcc/ada | |
parent | 932c6f8dd8859afb13475c2de466bd1a159530da (diff) | |
download | gcc-48abb540701447b0cd9df7542720ab65a34fc1b1.zip gcc-48abb540701447b0cd9df7542720ab65a34fc1b1.tar.gz gcc-48abb540701447b0cd9df7542720ab65a34fc1b1.tar.bz2 |
FreeBSD: Stop linking _p libs for -pg as of FreeBSD 14
As of FreeBSD version 14, FreeBSD no longer provides profiled system
libraries like libc_p and libpthread_p. Stop linking against them if
the FreeBSD major version is 14 or more.
gcc:
* config/freebsd-spec.h: Change fbsd-lib-spec for FreeBSD > 13,
do not link against profiled system libraries if -pg is invoked.
Add a define to note about this change.
* config/aarch64/aarch64-freebsd.h: Use the note to inform if
-pg is invoked on FreeBSD > 13.
* config/arm/freebsd.h: Likewise.
* config/i386/freebsd.h: Likewise.
* config/i386/freebsd64.h: Likewise.
* config/riscv/freebsd.h: Likewise.
* config/rs6000/freebsd64.h: Likewise.
* config/rs6000/sysv4.h: Likeise.
Diffstat (limited to 'gcc/ada')
0 files changed, 0 insertions, 0 deletions