aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sh/linux.h
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2013-03-26 10:33:36 +0000
committerDiego Novillo <dnovillo@google.com>2013-03-26 10:33:36 +0000
commit2a98a4059372b93af919c05fd68f3364e56c7008 (patch)
tree61b7552b10852929b89f1cb93878fadffc1885c2 /gcc/config/sh/linux.h
parentf13a2ceb6b815892f592d14cf87edf1c17383457 (diff)
parentdf552eec2bd8a867e1ce28b33d62a1aac099c4d1 (diff)
Merged revisions 196607-196608,196611-196614,196625,196629-196634,196636,196639,196645-196647,196649-196650,196654-196659,196666,196669,196671-196675,196682-196683,196694-196695,196697-196698,196700-196701,196704-196706,196709,196721-196748,196750-196751,196753,196755-196758,196762,196764-196765,196767-196771,196773-196779,196781-196784,196788-196792,196795-196797,196799-196800,196804-196807,196810-196814,196821,196823-196825,196828-196829,196831-196832,196834,196841-196842,196847-196853,196855-196856,196858,196860-196861,196864-196866,196868,196870-196872,196874,196876,196878-196879,196882,196884-196890,196896-196897,196899-196902,196954,196956-196961,196964-196965,196970,196977-196978,196981-196983,196989,197002-197005,197007,197011-197012,197016-197019,197021,197023-197025,197029-197034,197036-197042 via svnmerge from cxx-conversion
svn+ssh://gcc.gnu.org/svn/gcc/trunk git-svn-id: https://gcc.gnu.org/svn/gcc/branches/cxx-conversion@197098 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sh/linux.h')
-rw-r--r--gcc/config/sh/linux.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/config/sh/linux.h b/gcc/config/sh/linux.h
index 8bc7de83ab0..9e8f32d06d1 100644
--- a/gcc/config/sh/linux.h
+++ b/gcc/config/sh/linux.h
@@ -39,8 +39,7 @@ along with GCC; see the file COPYING3. If not see
#undef TARGET_DEFAULT
#define TARGET_DEFAULT \
- (TARGET_CPU_DEFAULT | MASK_USERMODE | TARGET_ENDIAN_DEFAULT \
- | TARGET_OPT_DEFAULT)
+ (TARGET_CPU_DEFAULT | TARGET_ENDIAN_DEFAULT | TARGET_OPT_DEFAULT)
#define TARGET_ASM_FILE_END file_end_indicate_exec_stack
@@ -146,5 +145,8 @@ along with GCC; see the file COPYING3. If not see
else if (TARGET_SH1) \
sh_atomic_model_str = "soft-imask"; \
} \
+ /* Set -musermode if it hasn't been specified. */ \
+ if (global_options_set.x_TARGET_USERMODE == 0) \
+ TARGET_USERMODE = true; \
} \
while (0)