1 From https://github.com/crystax/android-toolchain-gcc-6/blob/master/gcc/config/arm/elf.h
2 diff -u -r ../gcc-6.1.0/gcc/config/arm/elf.h ./gcc/config/arm/elf.h
3 --- ../gcc-6.1.0/gcc/config/arm/elf.h 2016-01-04 09:30:50.000000000 -0500
4 +++ ./gcc/config/arm/elf.h 2016-04-29 04:47:31.773001584 -0400
6 #undef SUBSUBTARGET_EXTRA_SPECS
7 #define SUBSUBTARGET_EXTRA_SPECS
11 +#define DEFAULT_ASM_SPEC "\
13 %{mlittle-endian:-EL} \
16 %{mthumb-interwork:-mthumb-interwork} \
17 %{mfloat-abi=*} %{mfpu=*} \
18 %(subtarget_extra_asm_spec)"
21 + #define ASM_SPEC DEFAULT_ASM_SPEC
24 /* The ARM uses @ are a comment character so we need to redefine
26 the code more efficient, but for Thumb-1 it's better to put them out of
27 band unless we are generating compressed tables. */
28 #define JUMP_TABLES_IN_TEXT_SECTION \
29 - (TARGET_32BIT || (TARGET_THUMB && (optimize_size || flag_pic)))
30 + (TARGET_32BIT || (TARGET_THUMB && !inline_thumb1_jump_table \
31 + && (optimize_size || flag_pic)))
34 #define LINK_SPEC "%{mbig-endian:-EB} %{mlittle-endian:-EL} -X"