diff options
author | Alexandre Oliva <oliva@adacore.com> | 2023-08-03 03:34:31 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2023-08-03 03:34:31 -0300 |
commit | b6f4b00011690415eb037a5c6f3e605f46d4d392 (patch) | |
tree | 617033ae6f553ebd775aa060530b2dbcaa1d1a0f /gcc/value-range.h | |
parent | 39663298b5934831a0125e12f113ebd83248c3be (diff) | |
download | gcc-b6f4b00011690415eb037a5c6f3e605f46d4d392.zip gcc-b6f4b00011690415eb037a5c6f3e605f46d4d392.tar.gz gcc-b6f4b00011690415eb037a5c6f3e605f46d4d392.tar.bz2 |
Introduce -msmp to select /lib_smp/ on ppc-vx6
The .spec files used for linking on ppc-vx6, when the rtp-smp runtime
is selected, add -L flags for /lib_smp/ and /lib/.
There was a problem, though: although /lib_smp/ and /lib/ were to be
searched in this order, and the specs files do that correctly, the
compiler would search /lib/ first regardless, because
STARTFILE_PREFIX_SPEC said so, and specs files cannot override that.
With this patch, we arrange for the presence of -msmp to affect
STARTFILE_PREFIX_SPEC, so that the compiler searches /lib_smp/ rather
than /lib/ for crt files. A separate patch for GNAT ensures that when
the rtp-smp runtime is selected, -msmp is passed to the compiler
driver for linking, along with the --specs flags.
for gcc/ChangeLog
* config/vxworks-smp.opt: New. Introduce -msmp.
* config.gcc: Enable it on powerpc* vxworks prior to 7r*.
* config/rs6000/vxworks.h (STARTFILE_PREFIX_SPEC): Choose
lib_smp when -msmp is present in the command line.
* doc/invoke.texi: Document it.
Diffstat (limited to 'gcc/value-range.h')
0 files changed, 0 insertions, 0 deletions