binutils-gdb/gas/doc
Andrew Jenner b8891f8d62 Add support for the C_SKY series of processors.
This patch series is a new binutils port for C-SKY processors, including support for both the V1 and V2 processor variants.  V1 is derived from the MCore architecture while V2 is substantially different, with mixed 16- and 32-bit instructions, a larger register set, a different (but overlapping) ABI, etc.  There is support for bare-metal ELF targets and Linux with both glibc and uClibc.

This code is being contributed jointly by C-SKY Microsystems and Mentor Graphics.  C-SKY is responsible for the technical content and has proposed Lifang Xia and Yunhai Shang as port maintainers.  (Note that C-SKY does have a corporate copyright assignment on file with the FSF.) Mentor Graphics' role has been cleaning up the code, adding documentation and additional test cases, etc, to address issues we anticipated reviewers would complain about.

bfd     * Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES): Add C-SKY.
        (BFD32_BACKENDS, BFD_BACKENDS_CFILES): Likewise.
        * Makefile.in: Regenerated.
        * archures.c (enum bfd_architecture): Add bfd_arch_csky and
        related bfd_mach defines.
        (bfd_csky_arch): Declare.
        (bfd_archures_list): Add C-SKY.
        * bfd-in.h (elf32_csky_build_stubs): Declare.
        (elf32_csky_size_stubs): Declare.
        (elf32_csky_next_input_section: Declare.
        (elf32_csky_setup_section_lists): Declare.
        * bfd-in2.h: Regenerated.
        * config.bfd: Add C-SKY.
        * configure.ac: Likewise.
        * configure: Regenerated.
        * cpu-csky.c: New file.
        * elf-bfd.h (enum elf_target_id): Add C-SKY.
        * elf32-csky.c: New file.
        * libbfd.h: Regenerated.
        * reloc.c: Add C-SKY relocations.
        * targets.c (csky_elf32_be_vec, csky_elf32_le_vec): Declare.
        (_bfd_target_vector): Add C-SKY target vector entries.

binutils* readelf.c: Include elf/csky.h.
        (guess_is_rela): Handle EM_CSKY.
        (dump_relocations): Likewise.
        (get_machine_name): Likewise.
        (is_32bit_abs_reloc): Likewise.

include  * dis-asm.h (csky_symbol_is_valid): Declare.
         * opcode/csky.h: New file.

opcodes  * Makefile.am (TARGET_LIBOPCODES_CFILES): Add csky-dis.c.
         * Makefile.in: Regenerated.
         * configure.ac: Add C-SKY.
         * configure: Regenerated.
         * csky-dis.c: New file.
         * csky-opc.h: New file.
         * disassemble.c (ARCH_csky): Define.
         (disassembler, disassemble_init_for_target): Add case for ARCH_csky.
         * disassemble.h (print_insn_csky, csky_get_disassembler): Declare.

gas      * Makefile.am (TARGET_CPU_CFILES): Add entry for C-SKY.
         (TARGET_CPU_HFILES, TARGET_ENV_HFILES): Likewise.
         * Makefile.in: Regenerated.
         * config/tc-csky.c: New file.
         * config/tc-csky.h: New file.
         * config/te-csky_abiv1.h: New file.
         * config/te-csky_abiv1_linux.h: New file.
         * config/te-csky_abiv2.h: New file.
         * config/te-csky_abiv2_linux.h: New file.
         * configure.tgt: Add C-SKY.
         * doc/Makefile.am (CPU_DOCS): Add entry for C-SKY.
         * doc/Makefile.in: Regenerated.
         * doc/all.texi: Set CSKY feature.
         * doc/as.texi (Overview): Add C-SKY options.
         (Machine Dependencies): Likewise.
         * doc/c-csky.texi: New file.
         * testsuite/gas/csky/*: New test cases.

ld      * Makefile.am (ALL_EMULATION_SOURCES): Add C-SKY emulations.
        (ecskyelf.c, ecskyelf_linux.c): New rules.
        * Makefile.in: Regenerated.
        * configure.tgt: Add C-SKY.
        * emulparams/cskyelf.sh: New file.
        * emulparams/cskyelf_linux.sh: New file.
        * emultempl/cskyelf.em: New file.
        * gen-doc.texi: Add C-SKY.
        * ld.texi: Likewise.
        (Options specific to C-SKY targets): New section.
        * testsuite/ld-csky/*: New tests.
2018-07-30 12:24:14 +01:00
..
all.texi Add support for the C_SKY series of processors. 2018-07-30 12:24:14 +01:00
as.texi Add support for the C_SKY series of processors. 2018-07-30 12:24:14 +01:00
c-aarch64.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-alpha.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-arc.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-arm.texi Clarify doc for .arch/.cpu 2018-07-25 14:12:40 +01:00
c-avr.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-bfin.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-cr16.texi
c-cris.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-csky.texi Add support for the C_SKY series of processors. 2018-07-30 12:24:14 +01:00
c-d10v.texi
c-d30v.texi
c-epiphany.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-h8300.texi
c-hppa.texi
c-i386.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-ia64.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-ip2k.texi
c-lm32.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-m32c.texi
c-m32r.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-m68hc11.texi
c-m68k.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-metag.texi
c-microblaze.texi
c-mips.texi MIPS/GAS: Split Loongson MMI Instructions from loongson2f/3a 2018-07-20 13:21:33 +01:00
c-mmix.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-msp430.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-mt.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-nds32.texi
c-nios2.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-ns32k.texi
c-pdp11.texi
c-pj.texi
c-ppc.texi PowerPC Improve support for Gekko & Broadway 2018-07-26 17:42:47 +09:30
c-pru.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-riscv.texi RISC-V: Add RV32E support. 2018-05-18 14:03:18 -07:00
c-rl78.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-rx.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-s12z.texi Add support for the Freescale s12z processor. 2018-05-18 15:26:18 +01:00
c-s390.texi
c-score.texi
c-sh.texi
c-sparc.texi
c-tic6x.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-tic54x.texi
c-tilegx.texi
c-tilepro.texi
c-v850.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-vax.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-visium.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-wasm32.texi
c-xc16x.texi
c-xgate.texi
c-xstormy16.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-xtensa.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-z8k.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
c-z80.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
fdl.texi
h8.texi Remove i860, i960, bout and aout-adobe targets 2018-04-11 21:49:30 +09:30
internals.texi Fix use of "command line X" in binutils doc 2018-07-02 11:18:24 +01:00
Makefile.am Add support for the C_SKY series of processors. 2018-07-30 12:24:14 +01:00
Makefile.in Add support for the C_SKY series of processors. 2018-07-30 12:24:14 +01:00