Patches of bfd and opcodes are modified according your reviews. Building configuration for gas and ld are new. LIU Zhiyou (5): Add definition of bfd_unicore32_arch Add definitions and stubs for building bfd. Building support for opcodes. Building support for gas. ld build support bfd/Makefile.am | 4 ++ bfd/Makefile.in | 8 ++- bfd/archures.c | 1 + bfd/bfd-in2.h | 2 + bfd/configure | 2 +- bfd/configure.in | 1 + bfd/cpu-unicore32.c | 44 +++++++++++++ bfd/elf32-unicore32.c | 20 +++++- gas/Makefile.am | 2 + gas/Makefile.in | 17 +++++ gas/config/tc-unicore32.c | 135 +++++++++++++++++++++++++++++++++++++++ gas/config/tc-unicore32.h | 39 +++++++++++ gas/configure.tgt | 3 + include/dis-asm.h | 1 + include/elf/common.h | 2 +- include/opcode/unicore32.h | 26 ++++++++ ld/Makefile.am | 5 ++ ld/Makefile.in | 6 ++ ld/configure.tgt | 1 + ld/emulparams/elf32unicore32.sh | 7 ++ ld/emultempl/unicore32elf.em | 61 ++++++++++++++++++ ld/scripttempl/elf32unicore32.sc | 13 ++++ opcodes/Makefile.am | 5 ++ opcodes/Makefile.in | 7 ++ opcodes/configure | 1 + opcodes/configure.in | 1 + opcodes/disassemble.c | 6 ++ opcodes/unicore32-dis.c | 34 ++++++++++ opcodes/unicore32-opc.c | 26 ++++++++ 29 files changed, 476 insertions(+), 4 deletions(-) create mode 100644 bfd/cpu-unicore32.c create mode 100644 gas/config/tc-unicore32.c create mode 100644 gas/config/tc-unicore32.h create mode 100644 include/opcode/unicore32.h create mode 100644 ld/emulparams/elf32unicore32.sh create mode 100644 ld/emultempl/unicore32elf.em create mode 100644 ld/scripttempl/elf32unicore32.sc create mode 100644 opcodes/unicore32-dis.c create mode 100644 opcodes/unicore32-opc.c -- 1.8.1.1