aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/msp430/t-msp430
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/msp430/t-msp430')
-rw-r--r--gcc/config/msp430/t-msp43011
1 files changed, 8 insertions, 3 deletions
diff --git a/gcc/config/msp430/t-msp430 b/gcc/config/msp430/t-msp430
index b9565103e9a..f8ba7751123 100644
--- a/gcc/config/msp430/t-msp430
+++ b/gcc/config/msp430/t-msp430
@@ -28,17 +28,22 @@ msp430-devices.o: $(srcdir)/config/msp430/msp430-devices.c \
# Enable multilibs:
-MULTILIB_OPTIONS = mcpu=msp430 mlarge
-MULTILIB_DIRNAMES = 430 large
+MULTILIB_OPTIONS = mcpu=msp430 mlarge mdata-region=none
+MULTILIB_DIRNAMES = 430 large full-memory-range
# Match -mcpu=430
MULTILIB_MATCHES = mcpu?msp430=mcpu?430
+# These options are equivalent in terms of the multilib required for them
+MULTILIB_MATCHES += mdata-region?none=mdata-region?upper
+MULTILIB_MATCHES += mdata-region?none=mdata-region?either
# The correct multilib for a given mmcu is selected without the need for
# hard-coded data here, because DRIVER_SELF_SPECS will place the correct
# -mcpu option for a given mcu onto the command line.
-MULTILIB_EXCEPTIONS = mcpu=msp430/mlarge
+MULTILIB_REQUIRED = mcpu=msp430
+MULTILIB_REQUIRED += mlarge
+MULTILIB_REQUIRED += mlarge/mdata-region=none
MULTILIB_EXTRA_OPTS =