Hi Andrew, The attached three patches are required to reduce/enable glibc builds. Although not all of them are glibc related they are found when porting this library to ARC.
OK to apply? Claudiu Claudiu Zissulescu (3): [ARC] Update EH code. [ARC] Do not emit ZOL in the presence of text jump tables. [ARC] Add support for profiling in glibc. gcc/config/arc/arc-protos.h | 2 +- gcc/config/arc/arc.c | 25 +++++++++++++++++------ gcc/config/arc/arc.h | 14 +++---------- gcc/config/arc/arc.md | 15 ++++++++++++++ gcc/config/arc/elf.h | 9 ++++++++ gcc/config/arc/linux.h | 10 +++++++++ gcc/testsuite/gcc.target/arc/builtin_eh.c | 22 ++++++++++++++++++++ 7 files changed, 79 insertions(+), 18 deletions(-) create mode 100644 gcc/testsuite/gcc.target/arc/builtin_eh.c -- 2.19.1