diff options
Diffstat (limited to 'contrib/gcc/config/arm/elf.h')
-rw-r--r-- | contrib/gcc/config/arm/elf.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/gcc/config/arm/elf.h b/contrib/gcc/config/arm/elf.h index c27daca..1cab2c4 100644 --- a/contrib/gcc/config/arm/elf.h +++ b/contrib/gcc/config/arm/elf.h @@ -103,7 +103,9 @@ Boston, MA 02111-1307, USA. */ /* Define this macro if jump tables (for `tablejump' insns) should be output in the text section, along with the assembler instructions. Otherwise, the readonly data section is used. */ -#define JUMP_TABLES_IN_TEXT_SECTION 1 +/* We put ARM jump tables in the text section, because it makes the code + more efficient, but for Thumb it's better to put them out of band. */ +#define JUMP_TABLES_IN_TEXT_SECTION (TARGET_ARM) #ifndef LINK_SPEC #define LINK_SPEC "%{mbig-endian:-EB} -X" |