linux64.h (SET_CMODEL): Don't expand to empty.

* config/rs6000/linux64.h (SET_CMODEL): Don't expand to empty.

From-SVN: r160978
This commit is contained in:
Alan Modra 2010-06-18 20:27:21 +09:30 committed by Alan Modra
parent fcfb981b1a
commit 9628d8f667
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2010-06-18 Alan Modra <amodra@gmail.com>
* config/rs6000/linux64.h (SET_CMODEL): Don't expand to empty.
2010-06-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR target/43740
@ -358,7 +362,7 @@
* config.in: Regenerate.
* config/rs6000/linux64.opt (mcmodel): New.
* config/rs6000/linux64.h (TARGET_USES_LINUX64_OPT): Define.
(TARGET_CMODEL): Define.
(TARGET_CMODEL, SET_CMODEL): Define.
(SUBSUBTARGET_OVERRIDE_OPTIONS): Check user -mcmodel choice,
select CMODEL_MEDIUM default.
* config/rs6000/rs6000.h (enum rs6000_cmodel): New.

View File

@ -70,7 +70,7 @@ extern enum rs6000_cmodel cmodel;
#define TARGET_CMODEL cmodel
#define SET_CMODEL(opt) cmodel = opt
#else
#define SET_CMODEL(opt)
#define SET_CMODEL(opt) do {} while (0)
#endif
#undef PROCESSOR_DEFAULT