While looking at PR82411, I got the error message
error: '-msdata=-mcall' and 'eabi-linux' are incompatible
which caused some head-scratching. Fixed thusly. Will also backport
(to 7 and 6) later.
Segher
2017-10-05 Segher Boessenkool <[email protected]>
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Correct error
message for incompatible -msdata=* and -mcall-* options.
---
gcc/config/rs6000/sysv4.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
index e381ce9..37bd63f 100644
--- a/gcc/config/rs6000/sysv4.h
+++ b/gcc/config/rs6000/sysv4.h
@@ -160,7 +160,7 @@ do {
\
{ \
rs6000_sdata = SDATA_NONE; \
error ("%<%s=%s%> and %<%s-%s%> are incompatible", \
- "-msdata", "-mcall", rs6000_sdata_name, rs6000_abi_name); \
+ "-msdata", rs6000_sdata_name, "-mcall", rs6000_abi_name); \
} \
\
targetm.have_srodata_section = rs6000_sdata == SDATA_EABI; \
--
1.8.3.1