Commit 9628d8f6 by Alan Modra Committed by Alan Modra

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

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

From-SVN: r160978
parent fcfb981b
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> 2010-06-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR target/43740 PR target/43740
...@@ -358,7 +362,7 @@ ...@@ -358,7 +362,7 @@
* config.in: Regenerate. * config.in: Regenerate.
* config/rs6000/linux64.opt (mcmodel): New. * config/rs6000/linux64.opt (mcmodel): New.
* config/rs6000/linux64.h (TARGET_USES_LINUX64_OPT): Define. * config/rs6000/linux64.h (TARGET_USES_LINUX64_OPT): Define.
(TARGET_CMODEL): Define. (TARGET_CMODEL, SET_CMODEL): Define.
(SUBSUBTARGET_OVERRIDE_OPTIONS): Check user -mcmodel choice, (SUBSUBTARGET_OVERRIDE_OPTIONS): Check user -mcmodel choice,
select CMODEL_MEDIUM default. select CMODEL_MEDIUM default.
* config/rs6000/rs6000.h (enum rs6000_cmodel): New. * config/rs6000/rs6000.h (enum rs6000_cmodel): New.
......
...@@ -70,7 +70,7 @@ extern enum rs6000_cmodel cmodel; ...@@ -70,7 +70,7 @@ extern enum rs6000_cmodel cmodel;
#define TARGET_CMODEL cmodel #define TARGET_CMODEL cmodel
#define SET_CMODEL(opt) cmodel = opt #define SET_CMODEL(opt) cmodel = opt
#else #else
#define SET_CMODEL(opt) #define SET_CMODEL(opt) do {} while (0)
#endif #endif
#undef PROCESSOR_DEFAULT #undef PROCESSOR_DEFAULT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment