diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2017-10-05 23:55:50 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2017-10-05 23:55:50 +0200 |
commit | b8888a0fe4a94e333a3add0804330ad337c1fd99 (patch) | |
tree | d2a687191b9244a020915eee095e84db5ef5b860 /gcc | |
parent | b9760b03aaa977e865e375c69138e7bd85a7d6d3 (diff) | |
download | gcc-b8888a0fe4a94e333a3add0804330ad337c1fd99.zip gcc-b8888a0fe4a94e333a3add0804330ad337c1fd99.tar.gz gcc-b8888a0fe4a94e333a3add0804330ad337c1fd99.tar.bz2 |
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
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/sysv4.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 009a6eb..38a86ab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2017-10-05 Segher Boessenkool <segher@kernel.crashing.org> + + * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Correct error + message for incompatible -msdata=* and -mcall-* options. + 2017-10-05 Jan Hubicka <hubicka@ucw.cz> * 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 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; \ |