use USE_NOEXECONLY and disable jump tables so this gcc derivative builds

This commit is contained in:
phessler 2023-01-15 19:15:48 +00:00
parent 2065b0c141
commit 4068377e7e
2 changed files with 15 additions and 1 deletions

View File

@ -1,9 +1,11 @@
BROKEN-alpha = relocation truncated to fit: GPRELHIGH against symbol default_target_hard_regs
USE_NOEXECONLY=Yes
COMMENT = TI's open source compiler for MSP430 microcontrollers#'
V = 3_03_04_00
REVISION = 6
REVISION = 7
PKGNAME = ti-msp430gcc-${V:S/_/./g}
GCC_V = 4.9.1
CATEGORIES = devel

View File

@ -0,0 +1,12 @@
Index: sources/tools/gcc/common.opt
--- sources/tools/gcc/common.opt.orig
+++ sources/tools/gcc/common.opt
@@ -1468,7 +1468,7 @@ Common Report Var(flag_ivopts) Init(1) Optimization
Optimize induction variables on trees
fjump-tables
-Common Var(flag_jump_tables) Init(1) Optimization
+Common Var(flag_jump_tables) Init(0) Optimization
Use jump tables for sufficiently large switch statements
fkeep-inline-functions