This is the continuation of previous series aiming at better supporting arch specificities. Further changes in this area should now be much easier. This series can also be found a: git://github.com/lucvoo/sparse-dev.git arch-spec Luc Van Oostenryck (10): cgcc: add support for riscv32 cgcc: rename 'ppc64+{be,le}' to 'ppc64{be,le}' arch: move arch-specificities to their own files arch: move parsing of --arch=<ARCH> to target.c arch: move handle_arch_finalize() into target_init() arch: use an arch-specific default for -msize-long arch: move target-specific predefines to the target files. arch: move cmodel predefines to the target files. arch: use arch_target for INT128's predefine arch: arch_mach is not needed anymore Makefile | 10 ++ cgcc | 13 ++- lib.c | 247 +++----------------------------------------- lib.h | 3 +- machine.h | 2 +- symbol.h | 1 - target-arm.c | 36 +++++++ target-arm64.c | 39 +++++++ target-default.c | 11 ++ target-m68k.c | 23 +++++ target-mips.c | 53 ++++++++++ target-ppc.c | 58 +++++++++++ target-riscv.c | 53 ++++++++++ target-s390.c | 48 +++++++++ target-sparc.c | 66 ++++++++++++ target-x86.c | 73 +++++++++++++ target.c | 262 +++++++++++++++++++++++------------------------ target.h | 48 +++++++++ 18 files changed, 673 insertions(+), 373 deletions(-) create mode 100644 target-arm.c create mode 100644 target-arm64.c create mode 100644 target-default.c create mode 100644 target-m68k.c create mode 100644 target-mips.c create mode 100644 target-ppc.c create mode 100644 target-riscv.c create mode 100644 target-s390.c create mode 100644 target-sparc.c create mode 100644 target-x86.c base-commit: 817270f9e1de294bd2a82514142544b273f7428a -- 2.24.0