From: Segher Boessenkool Date: Thu, 5 Oct 2017 21:55:50 +0000 (+0200) Subject: rs6000: Fix an error message in sysv4.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b8888a0fe4a94e333a3add0804330ad337c1fd99;p=gcc.git rs6000: Fix an error message in sysv4.h While looking at PR82411, I got the error message error: '-msdata=-mcall' and 'eabi-linux' are incompatible which caused some head-scratching. * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Correct error message for incompatible -msdata=* and -mcall-* options. From-SVN: r253467 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 009a6eb1467..38a86abaa39 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-10-05 Segher Boessenkool + + * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Correct error + message for incompatible -msdata=* and -mcall-* options. + 2017-10-05 Jan Hubicka * i386.c (ia32_multipass_dfa_lookahead): Default to issue rate diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h index e381ce90a8c..37bd63fe19a 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; \