aboutsummaryrefslogtreecommitdiff
path: root/gas/po/POTFILES.in
AgeCommit message (Collapse)AuthorFilesLines
2017-03-30Add support for the WebAssembly file format and the wasm32 ELF conversion to ↵Pip Cet1-0/+2
gas and the binutils. binutils * readelf.c: Add support for wasm32 ELF format WebAssembly files. (guess_is_rela): Likewise. (dump_relocations): Likewise. (is_32bit_abs_reloc): Likewise. (is_none_reloc_): Likewise. * NEWS: Mention the new support. * testsuite/lib/binutils-common.exp (is_elf_format): Mark wasm32 as ELF target. (supports_gnu_unique): Mark wasm32 as supporting STB_GNU_UNIQUE. * testsuite/binutils-all/nm.exp: Mark wasm32 as requiring .size annotations. * testsuite/binutils-all/wasm32: New directory. * testsuite/binutils-all/wasm32/create-wasm.d: New file. * testsuite/binutils-all/wasm32/create-wasm.s: Likewise. * testsuite/binutils-all/wasm32/custom-section.d: Likewise. * testsuite/binutils-all/wasm32/custom-section.s: Likewise. * testsuite/binutils-all/wasm32/invalid-wasm-1.d: Likewise. * testsuite/binutils-all/wasm32/invalid-wasm-1.s: Likewise. * testsuite/binutils-all/wasm32/long-sections.d: Likewise. * testsuite/binutils-all/wasm32/long-sections.s: Likewise. * testsuite/binutils-all/wasm32/parse-wasm.d: Likewise. * testsuite/binutils-all/wasm32/parse-wasm.s: Likewise. * testsuite/binutils-all/wasm32/parse-wasm-2.d: Likewise. * testsuite/binutils-all/wasm32/parse-wasm-2.s: Likewise. * testsuite/binutils-all/wasm32/prepared-section.d: Likewise. * testsuite/binutils-all/wasm32/prepared-section.s: Likewise. * testsuite/binutils-all/wasm32/wasm32.exp: New file, run tests. gas * config/tc-wasm32.h: New file: Add WebAssembly assembler target. * config/tc-wasm32.c: New file: Add WebAssembly assembler target. * Makefile.am: Add WebAssembly assembler target. * configure.tgt: Add WebAssembly assembler target. * doc/c-wasm32.texi: New file: Start documenting WebAssembly assembler. * doc/all.texi: Define WASM32. * doc/as.texinfo: Add WebAssembly entries. * NEWS: Mention the new support. * Makefile.in: Regenerate. * po/gas.pot: Regenerate. * po/POTFILES.in: Regenerate. * testsuite/gas/wasm32: New directory. * testsuite/gas/wasm32/allinsn.d: New file. * testsuite/gas/wasm32/allinsn.s: New file. * testsuite/gas/wasm32/illegal.l: New file. * testsuite/gas/wasm32/illegal.s: New file. * testsuite/gas/wasm32/illegal-2.l: New file. * testsuite/gas/wasm32/illegal-2.s: New file. * testsuite/gas/wasm32/illegal-3.l: New file. * testsuite/gas/wasm32/illegal-3.s: New file. * testsuite/gas/wasm32/illegal-4.l: New file. * testsuite/gas/wasm32/illegal-4.s: New file. * testsuite/gas/wasm32/illegal-5.l: New file. * testsuite/gas/wasm32/illegal-5.s: New file. * testsuite/gas/wasm32/illegal-6.l: New file. * testsuite/gas/wasm32/illegal-6.s: New file. * testsuite/gas/wasm32/illegal-7.l: New file. * testsuite/gas/wasm32/illegal-7.s: New file. * testsuite/gas/wasm32/illegal-8.l: New file. * testsuite/gas/wasm32/illegal-8.s: New file. * testsuite/gas/wasm32/illegal-9.l: New file. * testsuite/gas/wasm32/illegal-9.s: New file. * testsuite/gas/wasm32/illegal-10.l: New file. * testsuite/gas/wasm32/illegal-10.s: New file. * testsuite/gas/wasm32/illegal-11.l: New file. * testsuite/gas/wasm32/illegal-11.s: New file. * testsuite/gas/wasm32/illegal-12.l: New file. * testsuite/gas/wasm32/illegal-12.s: New file. * testsuite/gas/wasm32/illegal-13.l: New file. * testsuite/gas/wasm32/illegal-13.s: New file. * testsuite/gas/wasm32/illegal-14.l: New file. * testsuite/gas/wasm32/illegal-14.s: New file. * testsuite/gas/wasm32/illegal-15.l: New file. * testsuite/gas/wasm32/illegal-15.s: New file. * testsuite/gas/wasm32/illegal-16.l: New file. * testsuite/gas/wasm32/illegal-16.s: New file. * testsuite/gas/wasm32/illegal-17.l: New file. * testsuite/gas/wasm32/illegal-17.s: New file. * testsuite/gas/wasm32/illegal-18.l: New file. * testsuite/gas/wasm32/illegal-18.s: New file. * testsuite/gas/wasm32/illegal-19.l: New file. * testsuite/gas/wasm32/illegal-19.s: New file. * testsuite/gas/wasm32/illegal-20.l: New file. * testsuite/gas/wasm32/illegal-20.s: New file. * testsuite/gas/wasm32/illegal-21.l: New file. * testsuite/gas/wasm32/illegal-21.s: New file. * testsuite/gas/wasm32/illegal-22.l: New file. * testsuite/gas/wasm32/illegal-22.s: New file. * testsuite/gas/wasm32/illegal-24.l: New file. * testsuite/gas/wasm32/illegal-24.s: New file. * testsuite/gas/wasm32/illegal-25.l: New file. * testsuite/gas/wasm32/illegal-25.s: New file. * testsuite/gas/wasm32/reloc.d: New file. * testsuite/gas/wasm32/reloc.s: New file. * testsuite/gas/wasm32/wasm32.exp: New tests for WebAssembly architecture. opcodes * configure.ac: Add (empty) bfd_wasm32_arch target. * configure: Regenerate * po/opcodes.pot: Regenerate. include * opcode/wasm.h: New file to support wasm32 architecture. * elf/wasm32.h: Add R_WASM32_32 relocation. bfd * elf32-wasm32.c: Add relocation code, two relocs. * reloc.c: Add wasm32 relocations. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * bfd/po/bfd.pot: Regenerate.
2016-12-31PRU GAS PortDimitar Dimitrov1-0/+2
* NEWS: Mention new PRU target. * Makefile.am: Add PRU target. * config/obj-elf.c: Ditto. * configure.tgt: Ditto. * config/tc-pru.c: New file. * config/tc-pru.h: New file. * doc/Makefile.am: Add documentation for PRU GAS port. * doc/all.texi, Ditto. * doc/as.texinfo: Ditto. * doc/c-pru.texi: Document PRU GAS options. * Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. * po/POTFILES.in: Regenerate. * testsuite/gas/pru/alu.d: New file for PRU GAS testsuite. * testsuite/gas/pru/alu.s: Ditto. * testsuite/gas/pru/branch.d: Ditto. * testsuite/gas/pru/branch.s: Ditto. * testsuite/gas/pru/illegal.l: Ditto. * testsuite/gas/pru/illegal.s: Ditto. * testsuite/gas/pru/ldi.d: Ditto. * testsuite/gas/pru/ldi.s: Ditto. * testsuite/gas/pru/ldst.d: Ditto. * testsuite/gas/pru/ldst.s: Ditto. * testsuite/gas/pru/loop.d: Ditto. * testsuite/gas/pru/loop.s: Ditto. * testsuite/gas/pru/misc.d: Ditto. * testsuite/gas/pru/misc.s: Ditto. * testsuite/gas/pru/pru.exp: Ditto. * testsuite/gas/pru/pseudo.d: Ditto. * testsuite/gas/pru/pseudo.s: Ditto. * testsuite/gas/pru/warn_reglabel.l: Ditto. * testsuite/gas/pru/warn_reglabel.s: Ditto. * testsuite/gas/pru/xfr.d: Ditto. * testsuite/gas/pru/xfr.s: Ditto. * testsuite/gas/lns/lns.exp: Mark lns-common-1-alt variant for PRU. Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
2016-11-23Regen POTFILES.inAlan Modra1-0/+2
bfd/ * po/BLD-POTFILES.in: Regenerate. * po/SRC-POTFILES.in: Regenerate. gas/ * po/POTFILES.in: Regenerate.
2015-01-28FT32 initial supportAlan Modra1-0/+2
FT32 is a new 32-bit RISC core developed by FTDI for embedded applications. * configure.ac: Add FT32 support. * configure: Regenerate. bfd/ * Makefile.am: Add FT32 files. * archures.c (enum bfd_architecture): Add bfd_arch_ft32. (bfd_mach_ft32): Define. (bfd_ft32_arch): Declare. (bfd_archures_list): Add bfd_ft32_arch. * config.bfd: Handle FT32. * configure.ac: Likewise. * cpu-ft32.c: New file. * elf32-ft32.c: New file. * reloc.c (BFD_RELOC_FT32_10, BFD_RELOC_FT32_20, BFD_RELOC_FT32_17, BFD_RELOC_FT32_18): Define. * targets.c (_bfd_target_vector): Add ft32_elf32_vec. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * Makefile.in: Regenerate. * configure: Regenerate. * po/SRC-POTFILES.in: Regenerate. binutils/ * readelf.c: Add FT32 support. gas/ * Makefile.am: Add FT32 files. * config/tc-ft32.c: New file. * config/tc-ft32.h: New file. * configure.tgt: Add FT32 support. * Makefile.in: Regenerate. * po/POTFILES.in: Regenerate. gas/testsuite/ * gas/ft32/ft32.exp: New file. * gas/ft32/insn.d: New file. * gas/ft32/insn.s: New file. include/ * dis-asm.h (print_insn_ft32): Declare. include/elf/ * common.h (EM_FT32): Define. * ft32.h: New file. include/opcode/ * ft32.h: New file. ld/ * Makefile.am: Add FT32 files. * configure.tgt: Handle FT32 target. * emulparams/elf32ft32.sh: New file. * scripttempl/ft32.sc: New file. * Makefile.in: Regenerate. opcodes/ * Makefile.am: Add FT32 files. * configure.ac: Handle FT32. * disassemble.c (disassembler): Call print_insn_ft32. * ft32-dis.c: New file. * ft32-opc.c: New file. * Makefile.in: Regenerate. * configure: Regenerate. * po/POTFILES.in: Regenerate.
2014-12-06Add Visium support to gasEric Botcazou1-0/+2
gas/ * configure.tgt: Add Visium support. * Makefile.am (TARGET_CPU_CFILES): Move config/tc-vax.c around and add config/tc-visium.c. (TARGET_CPU_HFILES): Move config/tc-vax.h around and add config/tc-visium.h. * Makefile.in: Regenerate. * config/tc-visium.c: New file. * config/tc-visium.h: Likewise. * po/POTFILES.in: Regenerate. gas/testsuite/ * gas/elf/elf.exp: Skip ifunc-1 for Visium. * gas/visium/: New directory.
2014-08-20Fix typo in f7f2534eAlan Modra1-0/+2
* Makefile.am: Typo fix. * Makefile.in: Regenerate. * po/POTFILES.in: Regenerate.
2014-04-26Regenerate files for openrisk -> or1k changeAlan Modra1-4/+2
bfd/ * po/SRC-POTFILES.in: Regenerate. * configure: Regenerate. gas/ * po/POTFILES.in: Regenerate. opcodes/ * po/POTFILES.in: Regenerate.
2014-02-10binutils potfiles regenAlan Modra1-0/+2
Adds nds32 files to POTFILES.in
2013-08-05bfd/Richard Sandiford1-2/+2
2013-08-05 John Tytgat <john@bass-software.com> * po/BLD-POTFILES.in: Regenerate. * po/SRC-POTFILES.in: Likewise. gas/ 2013-08-05 John Tytgat <john@bass-software.com> * po/POTFILES.in: Regenerate. gprof/ 2013-08-05 John Tytgat <john@bass-software.com> * po/POTFILES.in: Regenerate.
2013-02-04 * po/POTFILES.in: Regenerate.Alan Modra1-0/+2
2012-11-08Regenerate.Alan Modra1-0/+4
2012-02-14RegenerateAlan Modra1-0/+2
2011-10-25bfd:Nick Clifton1-0/+2
* Makefile.am (ALL_MACHINES): Add cpu-epiphany.lo . (ALL_MACHINES_CFILES): Add cpu-epiphany.c . (BFD32_BACKENDS): Add elf32-epiphany.lo . (BFD32_BACKENDS_CFILES): Add elf32-epiphany.c . * Makefile.in, bfd-in2.h, configure, libbfd.h: Regenerate. * archures.c (bfd_arch_epiphany): Add. (bfd_mach_epiphany16, bfd_mach_epiphany32): Define. (bfd_epiphany_arch): Declare. (bfd_archures_list): Add &bfd_epiphany_arch. * config.bfd (epiphany-*-elf): New target case. * configure.in (bfd_elf32_epiphany_vec): New target vector case. * reloc.c (BFD_RELOC_EPIPHANY_SIMM8): New relocation. (BFD_RELOC_EPIPHANY_SIMM24, BFD_RELOC_EPIPHANY_HIGH): Likewise. (BFD_RELOC_EPIPHANY_LOW, BFD_RELOC_EPIPHANY_SIMM11): Likewise. (BFD_RELOC_EPIPHANY_IMM11, BFD_RELOC_EPIPHANY_IMM8): Likewise. * targets.c (bfd_elf32_epiphany_vec): Declare. (_bfd_target_vector): Add bfd_elf32_epiphany_vec. * po/SRC-POTFILES.in, po/bfd.pot: Regenerate. * cpu-epiphany.c, elf32-epiphany.c: New files. binutils: * readelf.c (include "elf/epiphany.h") (guess_is_rela, dump_relocation): Handle EM_ADAPTEVA_EPIPHANY. (get_machine_name, is_32bit_abs_reloc, is_32bit_pcrel_reloc): Likewise. (is_16bit_abs_reloc, is_none_reloc): Likewise. * po/binutils.pot: Regenerate. cpu: * cpu/epiphany.cpu, cpu/epiphany.opc: New files. gas: * NEWS: Mention addition of Adapteva Epiphany support. * config/tc-epiphany.c, config/tc-epiphany.h: New files. * Makefile.am (TARGET_CPU_CFILES): Add config/tc-epiphany.c . (TARGET_CPU_HFILES): Add config/tc-epiphany.h . * Makefile.in, configure, doc/Makefile.in, po/POTFILES.in: Regenerate. * configure.in: Also set using_cgen for epiphany. * configure.tgt: Handle epiphany. * doc/Makefile.am (CPU_DOCS): Add c-epiphany.texi . * doc/all.texi: Set EPIPHANY. * doc/as.texinfo: Add EPIPHANY-specific text. * doc/c-epiphany.texi: New file. * po/gas.pot: Regenerate. gas/testsuite: * gas/epiphany: New directory. include: * dis-asm.h (print_insn_epiphany): Declare. * elf/epiphany.h: New file. * elf/common.h (EM_ADAPTEVA_EPIPHANY): Define. ld: * NEWS: Mention addition of Adapteva Epiphany support. * Makefile.am (ALL_EMULATION_SOURCES): Add eelf32epiphany.c . (eelf32epiphany.c): New rule. * Makefile.in: Regenerate. * configure.tgt: Handle epiphany-*-elf. * po/ld.pot: Regenerate. * testsuite/ld-srec/srec.exp: xfail epiphany. * emulparams/elf32epiphany.sh: New file. opcodes: * Makefile.am (HFILES): Add epiphany-desc.h and epiphany-opc.h . (TARGET_LIBOPCODES_CFILES): Add epiphany-asm.c, epiphany-desc.c, epiphany-dis.c, epiphany-ibld.c and epiphany-opc.c . (CLEANFILES): Add stamp-epiphany. (EPIPHANY_DEPS): Set. Make CGEN-generated Epiphany files depend on it. (stamp-epiphany): New rule. * Makefile.in, configure, po/POTFILES.in, po/opcodes.pot: Regenerate. * configure.in: Handle bfd_epiphany_arch. * disassemble.c (ARCH_epiphany): Define. (disassembler): Handle bfd_arch_epiphany. * epiphany-asm.c, epiphany-desc.c, epiphany-desc.h: New files. * epiphany-dis.c, epiphany-ibld.c, epiphany-opc.c: Likewise. * epiphany-opc.h: Likewise.
2011-06-14 * po/POTFILES.in: Regenerate.Alan Modra1-0/+4
2010-11-05bfd/Tristan Gingold1-0/+2
2010-11-05 Tristan Gingold <gingold@adacore.com> * po/bfd.pot: Regenerate binutils/ 2010-11-05 Tristan Gingold <gingold@adacore.com> * po/binutils.pot: Regenerate gas/ 2010-11-05 Tristan Gingold <gingold@adacore.com> * po/gas.pot: Regenerate * po/POTFILES.in: Regenerate gprof/ 2010-11-05 Tristan Gingold <gingold@adacore.com> * po/gprof.pot: Regenerate ld/ 2010-11-05 Tristan Gingold <gingold@adacore.com> * po/ld.pot: Regenerate * po/POTFILES.in: Regenerate opcodes/ 2010-11-05 Tristan Gingold <gingold@adacore.com> * po/opcodes.pot: Regenerate
2010-06-29remove maxq-coff portAlan Modra1-2/+4
2009-09-07bfdTristan Gingold1-0/+1
2009-09-07 Tristan Gingold <gingold@adacore.com> * po/SRC-POTFILES.in: Regenerate. * po/bfd.pot: Regenerate. binutils 2009-09-07 Tristan Gingold <gingold@adacore.com> * po/binutils.pot: Regenerate. gas 2009-09-07 Tristan Gingold <gingold@adacore.com> * po/POTFILES.in: Regenerate. * po/gas.pot: Regenerate. gprof 2009-09-07 Tristan Gingold <gingold@adacore.com> * po/gprof.pot: Regenerate. ld 2009-09-07 Tristan Gingold <gingold@adacore.com> * po/ld.pot: Regenerate. opcodes 2009-09-07 Tristan Gingold <gingold@adacore.com> * po/opcodes.pot: Regenerate.
2009-08-26moxie fixes in gas.Ralf Wildenhues1-0/+1
gas/: * Makefile.am (TARGET_CPU_CFILES): Add config/tc-moxie.c. * config/tc-moxie.c (md_assemble): Fix typos in strings. Fix syntax error. * Makefile.in: Regenerate. * po/POTFILES.in: Likewise. * po/gas.pot: Likewise.
2009-08-22dependency tracking in gasRalf Wildenhues1-0/+6
gas/: * Makefile.am (AUTOMAKE_OPTIONS): Remove 1.8 cygnus, add 1.11, foreign and no-dist. (all): Remove now-unneeded dependency upon info. (DIST_SUBDIRS, MKDEP, DEP_INCLUDES, DEP_FLAGS, CLEANFILES) (DEP_FILE_DEPS): Remove variables. (OBJ_FORMAT_CFILES): Add config/obj-multi.c. (OBJ_FORMAT_HFILES): Add config/obj-multi.h. ($(OBJS), ecoff.o): Remove now-unneeded manual dependencies. ($(TARG_CPU_O), $(ATOF_TARG_O), obj-aout.o, obj-coff.o obj-ecoff.o) (obj-elf.o obj-evax.o, obj-fdpicelf.o, obj-multi.o, obj-som.o) (e-mipself.o, e-mipsecoff.o, e-i386aout.o, e-i386coff.o, e-i386elf.o) (e-crisaout.o, e-criself.o, tc-i386.o, xtensa-relax.o): Remove now-unneeded rules. (EXTRA_as_new_SOURCES): Add $(CFILES), $(HFILES), $(TARGET_CPU_CFILES), $(TARGET_CPU_HFILES), $(OBJ_FORMAT_CFILES), $(OBJ_FORMAT_HFILES), $(CONFIG_ATOF_CFILES), $(MULTI_CFILES), so their dependency fragments are picked up in the Makefile. (itbl-lex.c, itbl-ops.o): Remove manual dependencies. (m68k-parse.o, bfin-lex.o, itbl-lex.o, itbl-parse.o, itbl-tops.o) (itbl-test.o): Rewrite using automake-style dependency tracking rules; only list the dependency upon the primary source file, but no included headers. (DEP, DEP1, DEPTC, DEPOBJ, DEP2, dep.sed, dep, dep-in, dep-am): Remove. (mkdep section): Remove. * Makefile.in: Regenerate. * gas/po/POTFILES.in, gas/po/gas.pot: Regenerate.
2009-01-16bfd/Alan Modra1-0/+3
* Makefile.am (libbfd_la_LIBADD, libbfd_la_LDFLAGS): Substitute SHARED_LIBADD and SHARED_LDFLAGS rather than WIN32LIBADD, WIN32LDFLAGS. * configure.in (commonbfdlib): Delete. (SHARED_LDFLAGS): Rename from WIN32LDFLAGS/ (SHARED_LIBADD): Rename from WIN32LIBADD. Add pic libiberty if such is available, not just for linux. * po/SRC-POTFILES.in: Regenerate. * Makefile.in: Regenerate. * configure: Regenerate. opcodes/ * configure.in (commonbfdlib): Delete. (SHARED_LIBADD): Add pic libiberty if such is available. * configure: Regenerate. * po/POTFILES.in: Regenerate. binutils/ * configure.in (commonbfdlib): Delete. * configure: Regenerate. gas/ * configure.in (commonbfdlib): Delete. * configure: Regenerate. * po/POTFILES.in: Regenerate.
2008-08-04Set LC_ALL=C rather than unsetting LC_COLLATE for sort.Alan Modra1-6/+6
2008-05-14update dependenciesAlan Modra1-0/+2
2007-10-11PR gas/5158Nick Clifton1-0/+48
* config/tc-h8300.c (tc_gen_reloc): Allow for translation of error message. * po/gas.pot: Regenerate.
2007-07-02Regenerate files.Alan Modra1-0/+2
2007-03-08 * Makefile.am: Run "make dep-am".Alan Modra1-0/+2
* Makefile.in: Regenerate. * po/POTFILES.in: Regenerate.
2006-10-25New Cell SPU port.Alan Modra1-0/+2
2006-09-29Regenerate.Alan Modra1-0/+2
2006-06-01 * config/obj-ieee.c: Delete.Alan Modra1-2/+0
* config/obj-ieee.h: Delete. * Makefile.am (OBJ_FORMATS): Remove ieee. (OBJ_FORMAT_CFILES, OBJ_FORMAT_HFILES): Similarly. (obj-ieee.o): Remove rule. * Makefile.in: Regenerate. * configure.in (atof): Remove tahoe. (OBJ_MAYBE_IEEE): Don't define. * configure: Regenerate. * config.in: Regenerate. * doc/Makefile.in: Regenerate. * po/POTFILES.in: Regenerate.
2006-04-16Update POTFILES.in.Daniel Jacobowitz1-0/+2
2005-12-27 * Makefile.am: Run "make dep-am".Alan Modra1-0/+2
* Makefile.in: Regenerate. * po/POTFILES.in: Regenerate.
2005-10-25RegenerateAlan Modra1-0/+2
2005-08-11 * README-vms: Delete.Alan Modra1-16/+0
* config-gas.com: Delete. * makefile.vms: Delete. * vmsconf.sh: Delete. * config/atof-tahoe.c: Delete. * config/m88k-opcode.h: Delete. * config/obj-bout.c: Delete. * config/obj-bout.h: Delete. * config/obj-hp300.c: Delete. * config/obj-hp300.h: Delete. * config/tc-a29k.c: Delete. * config/tc-a29k.h: Delete. * config/tc-h8500.c: Delete. * config/tc-h8500.h: Delete. * config/tc-m88k.c: Delete. * config/tc-m88k.h: Delete. * config/tc-tahoe.c: Delete. * config/tc-tahoe.h: Delete. * config/tc-tic80.c: Delete. * config/tc-tic80.h: Delete. * config/tc-w65.c: Delete. * config/tc-w65.h: Delete. * config/te-aux.h: Delete. * config/te-delt88.h: Delete. * config/te-delta.h: Delete. * config/te-dpx2.h: Delete. * config/te-hp300.h: Delete. * config/te-ic960.h: Delete. * config/vms-a-conf.h: Delete. * doc/c-a29k.texi: Delete. * doc/c-h8500.texi: Delete. * doc/c-m88k.texi: Delete. * README: Remove obsolete examples, and list of supported targets. * Makefile.am: Remove a29k, h8500, m88k, tahoe, tic80, w65, bout and hp300 support. (DEP_FLAGS): Don't define BFD_ASSEMBLER. * configure.in: Remove --enable-bfd-assembler, need_bfd, primary_bfd_gas. * configure.tgt: Remove a29k, h8300-coff, h8500-*, i960 non-elf, m68k non bfd, m88k, or32-coff, tic80-*, vax non-bfd, w65k-*, *-nindy. * as.c: Remove all non-BFD_ASSEMBLER code, support for above targets. * as.h: Likewise. * dw2gencfi.c: Likewise. * dwarf2dbg.c: Likewise. * ehopt.c: Likewise. * input-file.c: Likewise. * listing.c: Likewise. * literal.c: Likewise. * messages.c: Likewise. * obj.h: Likewise. * output-file.c: Likewise. * read.c: Likewise. * stabs.c: Likewise. * struc-symbol.h: Likewise. * subsegs.c: Likewise. * subsegs.h: Likewise. * symbols.c: Likewise. * symbols.h: Likewise. * tc.h: Likewise. * write.c: Likewise. * write.h: Likewise. * config/aout_gnu.h: Likewise. * config/obj-aout.c: Likewise. * config/obj-aout.h: Likewise. * config/obj-coff.c: Likewise. * config/obj-coff.h: Likewise. * config/obj-evax.h: Likewise. * config/obj-ieee.h: Likewise. * config/tc-arm.c: Likewise. * config/tc-arm.h: Likewise. * config/tc-avr.c: Likewise. * config/tc-avr.h: Likewise. * config/tc-crx.h: Likewise. * config/tc-d10v.h: Likewise. * config/tc-d30v.h: Likewise. * config/tc-dlx.h: Likewise. * config/tc-fr30.h: Likewise. * config/tc-frv.h: Likewise. * config/tc-h8300.c: Likewise. * config/tc-h8300.h: Likewise. * config/tc-hppa.h: Likewise. * config/tc-i370.h: Likewise. * config/tc-i386.c: Likewise. * config/tc-i386.h: Likewise. * config/tc-i860.h: Likewise. * config/tc-i960.c: Likewise. * config/tc-i960.h: Likewise. * config/tc-ip2k.h: Likewise. * config/tc-iq2000.h: Likewise. * config/tc-m32c.h: Likewise. * config/tc-m32r.h: Likewise. * config/tc-m68hc11.h: Likewise. * config/tc-m68k.c: Likewise. * config/tc-m68k.h: Likewise. * config/tc-maxq.c: Likewise. * config/tc-maxq.h: Likewise. * config/tc-mcore.c: Likewise. * config/tc-mcore.h: Likewise. * config/tc-mn10200.h: Likewise. * config/tc-mn10300.c: Likewise. * config/tc-mn10300.h: Likewise. * config/tc-ms1.h: Likewise. * config/tc-msp430.c: Likewise. * config/tc-msp430.h: Likewise. * config/tc-ns32k.c: Likewise. * config/tc-ns32k.h: Likewise. * config/tc-openrisc.h: Likewise. * config/tc-or32.c: Likewise. * config/tc-or32.h: Likewise. * config/tc-ppc.c: Likewise. * config/tc-ppc.h: Likewise. * config/tc-s390.h: Likewise. * config/tc-sh.c: Likewise. * config/tc-sh.h: Likewise. * config/tc-sparc.c: Likewise. * config/tc-tic30.c: Likewise. * config/tc-tic30.h: Likewise. * config/tc-tic4x.c: Likewise. * config/tc-tic4x.h: Likewise. * config/tc-tic54x.c: Likewise. * config/tc-tic54x.h: Likewise. * config/tc-v850.h: Likewise. * config/tc-vax.c: Likewise. * config/tc-vax.h: Likewise. * config/tc-xstormy16.h: Likewise. * config/tc-xtensa.h: Likewise. * config/tc-z8k.c: Likewise. * config/tc-z8k.h: Likewise. * config/vms-a-conf.h * doc/Makefile.am: Likewise. * doc/all.texi: Likewise. * doc/as.texinfo: Likewise. * doc/Makefile.in: Regenerate. * Makefile.in: Regenerate. * configure: Regenerate. * config.in: Regenerate. * po/POTFILES.in: Regenerate.
2005-07-14ChangeLog:Jim Blandy1-0/+2
2005-07-14 Jim Blandy <jimb@redhat.com> * configure.in: Add cases for Renesas m32c. * configure: Regenerated. bfd/ChangeLog: 2005-07-14 Jim Blandy <jimb@redhat.com> Add support for m32c-*-elf (Renesas m32c and m16c). * Makefile.am (ALL_MACHINES): Add cpu-m32c.lo. (ALL_MACHINES_CFILES): Add cpu-m32c.c. (BFD32_BACKENDS): Add elf32-m32c.lo. (BFD32_BACKENDS_CFILES): Add elf32-m32c.c. (cpu-m32c.lo, elf32-m32c.lo): New rules, generated by 'make dep-am'. * Makefile.in: Regenerated. * archures.c (bfd_arch_m32c, bfd_mach_m16c, bfd_mach_m32c): New arch and mach codes. (bfd_m32c_arch): New arch info object. (bfd_archures_list): List bfd_m32c_arch. * bfd-in2.h: Regenerated. * config.bfd: Add case for the m32c. * configure.in: Add case for the m32c. * configure: Regenerated. * cpu-m32c.c, elf32-m32c.c: New files. * libbfd.h: Regenerated. * targets.c (bfd_elf32_m32c_vec): Declare. (_bfd_target_vector): List bfd_elf32_m32c_vec. binutils/ChangeLog: 2005-07-14 Jim Blandy <jimb@redhat.com> * readelf.c: #include "elf/m32c.h" (guess_is_rela, dump_relocations, get_machine_name): Add cases for EM_M32C. * Makefile.am (readelf.o): Update dependencies. * Makefile.in: Regenerated. cpu/ChangeLog: 2005-07-14 Jim Blandy <jimb@redhat.com> * m32c.cpu, m32c.opc: Machine description for the Renesas M32C. gas/ChangeLog: 2005-07-14 Jim Blandy <jimb@redhat.com> Add support for the Renesas M32C. * Makefile.am (CPU_TYPES): List m32c. (TARGET_CPU_CFILES): List config/tc-m32c.c. (TARGET_CPU_HFILES): List config/tc-m32c.h. * configure.in: Add case for m32c. * configure.tgt: Add cases for m32c and m32c-*-elf. * configure: Regenerated. * config/tc-m32c.c, config/tc-m32c.h: New files. * doc/Makefile.am (CPU_DOCS): Add c-m32c.texi. * doc/Makefile.in: Regenerated. * doc/all.texi: Set M32C. * doc/as.texinfo: Add text for the M32C-specific options and line comment characters, and refer to c-m32c.texi. * doc/c-m32c.texi: New file. include/ChangeLog: 2005-07-14 Jim Blandy <jimb@redhat.com> * dis-asm.h (print_insn_m32c): New declaration. include/elf/ChangeLog: 2005-07-14 Jim Blandy <jimb@redhat.com> Add support for Renesas M32C and M16C. * common.h (EM_M32C): New machine number. * m32c.h: New file. ld/ChangeLog: 2005-07-14 Jim Blandy <jimb@redhat.com> Add support for the Renesas M32C and M16C. * Makefile.am (ALL_EMULATIONS): Add eelf32m32c.o. (eelf32m32c.c): New target. * Makefile.in: Regenerated. * configure.tgt: Add case for m32c-*-elf. * emulparams/elf32m32c.sh: New file. opcodes/ChangeLog: 2005-07-14 Jim Blandy <jimb@redhat.com> Add support for the Renesas M32C and M16C. * m32c-asm.c, m32c-desc.c, m32c-dis.c, m32c-ibld.c, m32c-opc.c: New. * m32c-desc.h, m32c-opc.h: New. * Makefile.am (HFILES): List m32c-desc.h and m32c-opc.h. (CFILES): List m32c-asm.c, m32c-desc.c, m32c-dis.c, m32c-ibld.c, m32c-opc.c. (ALL_MACHINES): List m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo, m32c-opc.lo. (CLEANFILES): List stamp-m32c. (M32C_DEPS): List stamp-m32c, if CGEN_MAINT. (CGEN_CPUS): Add m32c. (m32c-asm.c, m32c-desc.c, m32c-dis.c, m32c-ibld.c, m32c-opc.c) (m32c-desc.h, m32c-opc.h): Depend on M32C_DEPS. (m32c_opc_h): New variable. (stamp-m32c, m32c-asm.lo, m32c-desc.lo, m32c-dis.lo, m32c-ibld.lo) (m32c-opc.lo): New rules. * Makefile.in: Regenerated. * configure.in: Add case for bfd_m32c_arch. * configure: Regenerated. * disassemble.c (ARCH_m32c): New. [ARCH_m32c]: #include "m32c-desc.h". (disassembler) [ARCH_m32c]: Add case for bfd_arch_m32c. (disassemble_init_for_target) [ARCH_m32c]: Same. * cgen-ops.h, cgen-types.h: New files. * Makefile.am (HFILES): List them. * Makefile.in: Regenerated.
2005-06-07gas:Zack Weinberg1-30/+0
* cgen.c, cgen.h, tc.h, write.c, config/obj-coff.c * config/tc-a29k.c, config/tc-alpha.c, config/tc-alpha.h * config/tc-arc.c, config/tc-arc.h, config/tc-arm.c * config/tc-arm.h, config/tc-avr.c, config/tc-avr.h * config/tc-cris.c, config/tc-crx.c, config/tc-d10v.c * config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h * config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.h * config/tc-frv.c, config/tc-frv.h, config/tc-h8300.c * config/tc-h8500.c, config/tc-hppa.c, config/tc-hppa.h * config/tc-i370.c, config/tc-i370.h, config/tc-i386.c * config/tc-i386.h, config/tc-i860.c, config/tc-i860.h * config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c * config/tc-ip2k.c, config/tc-ip2k.h, config/tc-iq2000.c * config/tc-iq2000.h, config/tc-m32r.c, config/tc-m32r.h * config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c * config/tc-m68k.h, config/tc-m88k.c, config/tc-maxq.c * config/tc-mcore.c, config/tc-mcore.h, config/tc-mips.c * config/tc-mips.h, config/tc-mmix.c, config/tc-mn10200.c * config/tc-mn10300.c, config/tc-msp430.c, config/tc-ns32k.c * config/tc-openrisc.h, config/tc-or32.c, config/tc-or32.h * config/tc-pdp11.c, config/tc-pj.c, config/tc-pj.h * config/tc-ppc.c, config/tc-ppc.h, config/tc-s390.c * config/tc-s390.h, config/tc-sh64.c, config/tc-sh.c * config/tc-sh.h, config/tc-sparc.c, config/tc-sparc.h * config/tc-tahoe.c, config/tc-tic30.c, config/tc-tic4x.c * config/tc-tic54x.c, config/tc-tic80.c, config/tc-v850.c * config/tc-v850.h, config/tc-vax.c, config/tc-vax.h * config/tc-w65.c, config/tc-xstormy16.c, config/tc-xstormy16.h * config/tc-xtensa.c, config/tc-z8k.c: Replace all instances of the string "_apply_fix3" with "_apply_fix". * po/POTFILES.in, po/gas.pot: Regenerate. bfd: * coff-i386.c: Change md_apply_fix3 to md_apply_fix in comment. cgen: * doc/porting.texi: Change all mention of md_apply_fix3 and gas_cgen_md_apply_fix3 to md_apply_fix and gas_cgen_md_apply_fix respectively.
2005-03-21 * Makefile.am (OBJ_FORMAT_CFILES): Prune config/obj-vms.c.Alan Modra1-2/+0
(OBJ_FORMAT_HFILES): Prune config/obj-vms.h. (obj-vms.o): Delete rule. Run "make dep-am". * Makefile.in: Regenerate. * aclocal.m4: Regenerate. * doc/Makefile.in: Regenerate. * po/POTFILES.in: Regenerate.
2005-02-21 * Makefile.am (HFILES): Add itbl-lex.h.Alan Modra1-0/+1
(itbl-lex.o, itbl-parse.o): Depend on itbl-lex.h * Makefile.in: Regenerate. * configure: Regenerate. * po/POTFILES.in: Regenerate.
2004-09-17 * Makefile.am: Run "make dep-am".Alan Modra1-0/+2
* Makefile.in: Regenerate. * aclocal.m4: Regenerate. * configure: Regenerate. * doc/Makefile.in: Regenerate. * po/POTFILES.in: Regenerate. * po/gas.pot: Regenerate.
2003-07-14Update Turkish translation files for bfd, gas and opcodesNick Clifton1-4/+4
2003-06-10* bfd/Makefile.am (config.status): Depend on version.h.Alan Modra1-4/+4
Run "make dep-am" in bfd/ and elsewhere, and regen files.
2003-05-21Move .file and .loc pseudo ops into obj-elf.cNick Clifton1-4/+4
2003-05-20 * dw2gencfi.c, dw2gencfi.h: New files.Alan Modra1-0/+5
* config/tc-i386.c (tc_x86_cfi_init): New function. * config/tc-i386.h (TARGET_USE_CFIPOP, tc_cfi_init): New defines. * as.c (parse_args): Set verbose flag on --verbose. (main): Call tc_cfi_init()/cfi_finish(). * as.h (verbose): New external variable. * read.c (pobegin): Insert CFI pops to the list. * symbols.c (local_symbol_make): Make symbol external. * symbols.h (local_symbol_make): New prototype. * Makefile.am: Add dw2gencfi.[ch] files. Run "make dep-am". * Makefile.in: Regenerate. * doc/as.texinfo: Added node "CFI directives" with description of all implemented .cfi_* directives. * doc/Makefile.in: Regenerate. * po/POTFILES.in: Regenerate.
2003-01-16 * Makefile.am: Run "make dep-am".Alan Modra1-0/+2
* Makefile.in: Regenerate. * po/POTFILES.in: Regenerate.
2002-12-03 * config/tc-w65.c (s_longa): Prototype. Make static, specify int arg.Alan Modra1-1/+0
(cons, s_align_bytes): Delete declaration. (relax): Delete. (md_begin): Constify "struct opinfo *" var. Don't try to make "name" strings common. (dot): Delete unused function. (w65_expression): Remove unused arg. (parse_exp): Prototype. Remove unused arg. Adjust w65_expression call. (get_operands): Prototype. Constify "struct opinfo *" arg. Fix parse_exp call. (get_specific): Prototype. Constify "struct opinfo *" arg and return value. (check): Remove unused function. (build_Mytes): Prototype. Constify "struct opinfo *" arg. Abort on unhandled switch case. (md_assemble): Remove unused op_start, op_end, nlen, p vars. Constify "opcode". (tc_crawl_symbol_chain): Delete unused function. (tc_headers_hook): Likewise. (tc_Nout_fix_to_chars): Likewise. (md_undefined_symbol): Add ATTRIBUTE_UNUSED. (md_parse_option): Likewise. (md_convert_frag): Likewise. (tc_coff_symbol_emit_hook): Likewise. (md_show_usage): Likewise. * config/tc-w65.h (tc_coff_sizemachdep): Declare. (TC_PARSE_CONS_EXPRESSION): w65_expression takes one arg. (w65_expression): Declare. * po/POTFILES.in: Regenerate.
2002-07-23 * Makefile.am: Run "make dep-am".Alan Modra1-0/+2
* Makefile.in: Regenerate. * doc/Makefile.in: Regenerate. * config.in: Regenerate. * po/POTFILES.in: Regenerate.
2002-06-182002-06-18 Dave Brolley <brolley@redhat.com>Dave Brolley1-0/+2
From Catherine Moore, Michael Meissner, Richard Sandiford, Dave Brolley: * po/POTFILES.in: Add tc-frv.c, tc-frv.h. * configure.in: Support frv-*-*. * Makefile.am (CPU_TYPES): Add frv. (TARGET_CPU_CFILES): Add tc-frv.c. (TARGET_CPU_HFILES): Add tc-frv.h. (DEPTC_frv_coff): New variable. (DEPTC_frv_elf): New variable. (DEPOBJ_frv_coff): New variable. (DEPOBJ_frv_elf): New variable. (DEP_frv_coff): New variable. (DEP_frv_elf): New variable. * tc-frv.c: New file. * tc-frv.h: New file.
2002-05-31 * Makefile.am: Run "make dep-am".Alan Modra1-0/+2
* Makefile.in: Regenerate. * po/POTFILES.in: Regenerate.
2002-02-08Contribute sh64-elf.Alexandre Oliva1-0/+2
2002-02-08 Alexandre Oliva <aoliva@redhat.com> Stephen Clarke <Stephen.Clarke@st.com> * doc/c-sh64.texi: Fix citation of SH64 architecture manual. 2002-01-31 Alexandre Oliva <aoliva@redhat.com> * config/tc-sh.c (md_relax_table): Added default sizes for non-PC-relative UNDEF_MOVI, and relaxation sequences for MOVI_16, MOVI_32 and MOVI_48. * config/tc-sh64.c (shmedia_md_apply_fix3): Fix warning. (shmedia_md_convert_frag): Handle non-PC-relative UNDEF_MOVI and MOVI_16. (shmedia_md_estimate_size_before_relax): Remove redundant blocks. Set fragP->fr_var even if relaxation type unchanged. Retain UNDEF_MOVI until expression decays to number. 2002-01-24 Alexandre Oliva <aoliva@redhat.com> * config/tc-sh64.c (shmedia_init_reloc): Handle new SHmedia PIC relocation types. Take fixP->fx_addnumber into account too. (shmedia_md_apply_fix): Likewise. (shmedia_md_convert_frag): Likewise. (shmedia_build_Mytes): Likewise. (sh64_consume_datalabel): Complain about nested datalabel. Support PIC relocs. Call sh_parse_name. * config/tc-sh64.h (TC_RELOC_RTSYM_LOC_FIXUP): Extend definition in tc-sh.h to SHmedia reloc types. * config/tc-sh.c (SH64PCRELPLT, MOVI_PLT, MOVI_GOTOFF, MOVI_GOTPC): New relaxation constants. (md_relax_table): Introduce relaxation directives for PIC-related constants. (sh_PIC_related_p): Handle datalabel. (sh_check_fixup): Choose SH5 PIC relocations. (sh_cons_fix_new): Added BDF_RELOC_64. (md_apply_fix3, sh_parse_name): Handle GOTPLT. 2002-01-18 Alexandre Oliva <aoliva@redhat.com> * config/tc-sh64.c (sh64_max_mem_for_rs_align_code): If the current ISA is SHmedia, get 7 bytes. 2001-11-28 Nick Clifton <nickc@cambridge.redhat.com> * config/tc-sh.c (md_apply_fix3): Treat shmedia_md_apply_fix3 as a void function. * config/tc-sh64.c (shmedia_apply_fix): Rename to shmedia_apply_fix3 and make void. 2001-05-17 Alexandre Oliva <aoliva@redhat.com> * config/tc-sh64.c (s_sh64_abi): Remove unused arguments passed to as_bad. 2001-04-12 Alexandre Oliva <aoliva@redhat.com> * config/tc-sh64.h (md_parse_name): Take &c as argument. 2001-03-14 DJ Delorie <dj@redhat.com> * doc/Makefile.am (CPU_DOCS): Added c-sh64.texi * doc/Makefile.in(CPU_DOCS): Ditto. * doc/c-sh64.texi: New file. * doc/as.texinfo: Add SH64 support. 2001-03-13 DJ Delorie <dj@redhat.com> * config/tc-sh64.c (shmedia_get_operands): Rename A_RESV_Fx to A_REUSE_PREV so that its purpose is more obvious. (shmedia_build_Mytes): Ditto. 2001-03-07 DJ Delorie <dj@redhat.com> * config/tc-sh64.c (sh64_vtable_entry): New, strip datalabels before processing. (sh64_vtable_inherit): Ditto. (strip_datalabels): New, strip "datalabel" from given line. * config/tc-sh.c (md_pseudo_table): Add sh64-specific vtable pseudos. 2001-03-06 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c (shmedia_md_assemble): Move dwarf2_emit_insn call ... (shmedia_build_Mytes): ... to here. 2001-03-06 DJ Delorie <dj@redhat.com> * config/tc-sh.c: Remove sh64-specific uaquad now that there is a generic one. 2001-01-21 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.h (DWARF2_LINE_MIN_INSN_LENGTH): Override. * config/tc-sh64.c (shmedia_md_assemble): Offset recorded insn address by one in call to dwarf2_emit_insn. 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com> Implement ".abi" pseudo and correct .cranges descriptors. Correct alignment handling broken by imported changes. * config/tc-sh64.h (HANDLE_ALIGN): Override definition in tc-sh.h. (sh64_handle_align): Declare. (MAX_MEM_FOR_RS_ALIGN_CODE): Override definition in tc-sh.h. (sh64_max_mem_for_rs_align_code): Declare. (enum sh64_isa_values): Moved here from tc-sh64.c. (md_do_align): Define. (sh64_do_align): Declare. (struct sh64_tc_frag_data): New. (TC_FRAG_TYPE): Change to struct sh64_tc_frag_data. Users changed. (TC_FRAG_INIT): Change to set new datatype. (struct sh64_segment_info_type): Rename member last_flushed_location to last_contents_mark. All users changed. (md_elf_section_change_hook, TC_CONS_FIX_NEW): Do not define. (shmedia_elf_new_section, sh64_tc_cons_fix_new): Do not prototype. * config/tc-sh.c (md_pseudo_table): Add ".abi". (sh_elf_cons) [HAVE_SH64]: Call sh64_update_contents_mark instead of unsetting seen_insn. (md_assemble) [HAVE_SH64] <before new SHcompact sequence>: Also call sh64_update_contents_mark. (sh_handle_align): Remove HAVE_SH64-conditioned code. * config/tc-sh64.c (sh64_isa_mode): Correct type from boolean to enum sh64_isa_values. (sh64_set_contents_type): Drop segT parameter. All callers changed. (emitting_crange): Boolean guard moved to file scope from function scope in sh64_set_contents_type. (s_sh64_abi): New. (sh64_update_contents_mark): New; most split out from sh64_flush_pending_output. (shmedia_md_end): Call sh64_update_contents_mark. Set sh64_isa_mode to sh64_isa_sh5_guard unless sh64_isa_unspecified. (sh64_do_align): New function. (sh64_max_mem_for_rs_align_code): New function. (sh64_handle_align): Rename from shmedia_do_align. Make non-static. Add head comment. Emit zero bytes for n bytes modulo four. Change return-type to void. (shmedia_elf_new_section): Remove. (shmedia_md_assemble): Call sh64_update_contents_mark. (s_sh64_mode): Ditto. Do not call md_flush_pending_output. Make new frag. Call sh64_update_contents_mark after making the new frag. (sh64_flush_pending_output): Just call sh64_update_contents_mark and sh_flush_pending_output. (sh64_flag_output): Also call md_flush_pending_output, but add condition on not emitting_crange. (sh64_tc_cons_fix_new): Remove. 2001-01-12 Nick Clifton <nickc@redhat.com> * config/tc-sh64.c (shmedia_do_align): Fix to work with new alignment handling scheme imported from sourceware. 2001-01-12 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.h (TARGET_FORMAT): Define. (sh64_target_format): Prototype. * config/tc-sh64.c (sh64_target_mach): New function. 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c (shmedia_md_end): When equating a symbol, use zero_address_frag instead of copying the frag of the symbol. (shmedia_frob_file_before_adjust): Ditto. (shmedia_md_apply_fix) <case BFD_RELOC_SH_IMM_MEDLOW16>: Cast mask to valueT to remove signedness. (shmedia_md_convert_frag): Add parameter final. Rename parameter headers to output_bfd. Do not evaluate symbols if final is false; do emit fixups. (shmedia_md_estimate_size_before_relax) <case C (MOVI_IMM_32, UNDEF_MOVI) et al>: If symbol cannot be modified to be PC-relative to the current frag, call shmedia_md_convert_frag to emit fixups and make frag_wane neutralize the frag. Update comments. * config/tc-sh.c (md_convert_frag): Change caller of shmedia_md_convert_frag. 2001-01-06 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.h: Tweak comments and correct formatting. * config/tc-sh64.c: Ditto. (shmedia_md_convert_frag) <PT/PTA/PTB 32, 48 and 64 bit expansion, MOVI pcrel expansion>: Fix thinko calculating offset for the no-relocation case. (shmedia_check_limits): Fix range check being off-by-one for PTA. * config/tc-sh.c: Ditto. Add proper comments to #ifdef/#ifndef wrappers. (SH64PCREL16_F): Increment for proper max-PTA handling. Update comment. (SH64PCREL16_M, MOVI_16_M): Correct range thinko. (SH64PCREL48_M, MOVI_48_M): Similar; don't count in length of expansion. (SH64PCREL32_M, MOVI_32_M): Ditto; handle overflowing expression. Correct comment. 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c (shmedia_md_apply_fix) <second switch, case BFD_RELOC_SH_PT_16>: Set lowest bit in field to be relocated to 1. (shmedia_md_convert_frag) <case C (SH64PCREL16_32, SH64PCREL16) et al>: Set lowest bit of field to relocate to 1 and rest to empty, if reloc is emitted. 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com> New options plus bugfixes. * config/tc-sh.c (md_longopts): New options "-no-expand" and "-expand-pt32". (md_parse_option): Handle new options. (md_show_usage): Add blurb for new options. * config/tc-sh64.c (SHMEDIA_BFD_RELOC_PT): New macro. (sh64_expand, sh64_pt32): New variables. (shmedia_init_reloc): Handle BFD_RELOC_SH_PT_16. (shmedia_md_apply_fix): Hold original fixP->fx_r_type in orig_fx_r_type. Change SHMEDIA_BFD_RELOC_PT into BFD_RELOC_SH_PT_16. Handle BFD_RELOC_SH_PT_16 as pc-relative. <resolved previously-pc-relative relocs>: Handle SHMEDIA_BFD_RELOC_PT and BFD_RELOC_SH_PT_16. (shmedia_md_convert_frag) <case C (SH64PCREL16PT_64, SH64PCREL16), case C (SH64PCREL16PT_32, SH64PCREL16)>: Modify to PTB if operand points to SHcompact code. <case C (SH64PCREL16_32, SH64PCREL16), case C (SH64PCREL16_64, SH64PCREL16)>: Check that ISA of what operand points at and PTA/PTB matches, or emit error. (shmedia_check_limits): Handle BFD_RELOC_SH_PT_16 and SHMEDIA_BFD_RELOC_PT. (shmedia_immediate_op): If pcrel, emit fixup also for constant operand. (shmedia_build_Mytes) <case A_IMMS16>: Also check sh64_expand in condition for MOVI expansion. <case A_PCIMMS16BY4>: Handle expansion to 32 bits only, if sh64_pt32. Emit only a BFD_RELOC_SH_PT_16 fixup if not sh64_expand. <case A_PCIMMS16BY4_PT>: Likewise, but emit a SHMEDIA_BFD_RELOC_PT fixup. (sh64_target_format): Error-check setting of sh64_pt32 and sh64_expand. Fix typo in check for sh64_shcompact_const_crange. (shmedia_md_pcrel_from_section): Handle BFD_RELOC_SH_PT_16 and SHMEDIA_BFD_RELOC_PT as coming from SHmedia code. 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c: Improve comments. (shmedia_md_convert_frag): Remove inactive is_pt_variant code. Do not say the linker will check correctness of PTA/PTB expansion. (shmedia_md_end): Make non-static. * config/tc-sh64.h (md_end): Define to shmedia_md_end. Add prototype. * config/tc-sh.c (sh_finalize): Remove. * config/tc-sh.h (md_end): Do not define. Remove prototype for sh_finalize. 2000-12-30 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c (shmedia_frob_section_type): Use a struct sh64_section_data container when storing section type in tdata field in elf_section_data. * config/tc-sh.c (sh_elf_final_processing): Change from EF_SH64 to EF_SH5. * Makefile.am: Update dependencies. * Makefile.in: Regenerate. 2000-12-22 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c (shmedia_md_assemble): Don't protect dwarf2_emit_insn call with test on debug_type. 2000-12-19 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c (sh64_set_contents_type): Make contents-type CRT_SH5_ISA32 sticky for 64-bit. 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> Generate .crange sections when switching ISA mode or emitting constants in same section as code. * config/tc-sh64.c: Reformat structure definitions. (sh64_end_of_assembly, sh64_mix, sh64_shcompact_const_crange): New variables. (sh64_set_contents_type): Rename from sh64_init_section. Rewrite to emit a .cranges descriptor when contents type changes. Only emit error if changing contents type and -no-mix is in effect. (sh64_emit_crange, sh64_flush_last_crange, sh64_flag_output, sh64_flush_pending_output, sh64_tc_cons_fix_new): New functions. (shmedia_md_end): Set sh64_end_of_assembly. Pass sh64_flush_last_crange over sections. When checking main symbol of datalabel symbol, check for STO_SH5_ISA32, not ISA type of section in definition. (shmedia_frob_file_before_adjust): Check main symbol for STO_SH5_ISA32; don't check ISA type of section in definition. (shmedia_frob_section_type): Adjust for .cranges; set section flag to SHF_SH5_ISA32_MIXED or SHF_SH5_ISA32 according to whether .cranges entries have been output. (shmedia_elf_new_section): Just call md_flush_pending_output. (shmedia_md_assemble): Do not emit a BFD_RELOC_SH_SHMEDIA_CODE fix. Do not set tc_segment_info_data.in_code for section. Call sh64_set_contents_type for SHmedia code. (s_sh64_mode): Do not call sh64_init_section or set seen_insn to false. Call md_flush_pending_output. (sh64_target_format): Check that -no-mix and -shcompact-const-crange are used in sane combination with other options. (shmedia_md_pcrel_from_section): Check type of fix for how to adjust pc-relative. (sh64_consume_datalabel): Check symbol for having STO_SH5_ISA32, not ISA type of section in definition. * config/tc-sh64.h (struct sh64_segment_info_type): Rewrite to hold contents-type state. (md_flush_pending_output): Redefine to sh64_flush_pending_output. (sh64_flush_pending_output): Declare. (TC_CONS_FIX_NEW): Define to sh64_tc_cons_fix_new. (sh64_tc_cons_fix_new): Declare. * config/tc-sh.c (sh_elf_cons) [HAVE_SH64]: Unset seen_insn and call sh64_flag_output. (md_assemble) [HAVE_SH64]: Do not emit BFD_RELOC_SH_CODE. Just call sh64_set_contents_type to mark SHcompact code and set seen_insn. (md_longopts): New options "-no-mix" and "-shcompact-const-crange". (md_parse_option): Handle new options. (md_show_usage): Add blurb for new options. (md_number_to_chars) [HAVE_SH64]: Call sh64_flag_output. 2000-12-15 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c: Delete investigated and obsolete fixme:s. (sh64_last_insn_frag): New. (shmedia_md_convert_frag): Use tc_frag_data field of incoming frag to get frag for insn opcode for generating fixups; do not assume it is the same frag. (shmedia_build_Mytes): Set sh64_last_insn_frag after growing frag for new insn. * config/tc-sh64.h (ELF_TC_SPECIAL_SECTIONS): Define for .cranges section. (TC_FRAG_TYPE): Define as fragS *. (TC_FRAG_INIT): Define to set tc_frag_data to sh64_last_insn_frag. (sh64_last_insn_frag): Declare. (sh64_consume_datalabel): Fix typo; check for seginfo != NULL, not == NULL before dereferencing. 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com> Get rid of BFD section flag and EF_SH64_ABI64. * config/tc-sh64.c (shmedia_frob_section_type): Use elf_section_data (sec)->tdata, not a specific BFD section flag, to communicate the section as containing SHmedia code. Describe why. * config/tc-sh.c (sh_elf_final_processing): Tweak comment. Set EF_SH64 regardless of ABI. * config/tc-sh64.c (shmedia_md_apply_fix): Decapitalize "invalid" in error message. Handle resolved expressions for BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2, BFD_RELOC_SH_IMMS10BY4 and BFD_RELOC_64. (shmedia_check_limits): Handle BFD_RELOC_64. (sh64_adjust_symtab): Do not decrement the GAS symbol value for a STO_SH5_ISA32 symbol, only the BFD value. 2000-12-11 Ben Elliston <bje@redhat.com> * config/tc-sh64.c: Call dwarf2_emit_insn, not the defunct dwarf2_generate_asm_lineno. 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com> Handle PC-relative MOVI expansions with assembler relaxation. Generate PC-relative relocs from 16-bit PC-relative expressions. * config/tc-sh64.c (SHMEDIA_MD_PCREL_FROM_FIX): Break out from... (shmedia_md_pcrel_from_section): ...here. (shmedia_md_apply_fix): Handle fixups for 16-bit operands that has turned completely resolved. Adjust relocation type for 16-bit immediate operands that has turned PC-relative. Adjust back for MD_PCREL_FROM_SECTION being applied twice. (shmedia_md_convert_frag): Always emit reloc for expression with global or weak symbol. Handle relaxation result for PC-relative expressions. (shmedia_md_estimate_size_before_relax): An expression with a weak or global symbol can not be relaxed. Break out tests for relaxable symbol into variable sym_relaxable. <cases C (MOVI_IMM_64, UNDEF_MOVI) and C (MOVI_IMM_32, UNDEF_MOVI)>: Break out any PC-relative expression and change relaxation type. (shmedia_build_Mytes): CSE &operands->operands[j] into variable opjp. <case A_IMMS16>: Fix typo for initial minor relaxation type of MOVI expansion. If X_op_symbol of the immediate expression is set, make an expression symbol for the argument to frag_var. * config/tc-sh.c (MOVI_IMM_32_PCREL, MOVI_IMM_64_PCREL): New relaxations. (END): Adjust for new relaxations. (md_relax_table): Add entries for new relaxations. 2000-12-07 Ben Elliston <bje@redhat.com> * config/tc-sh64.c (shmedia_parse_reg): Initialize variable len. 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c (shmedia_md_convert_frag): Correct all MOVI and SHORI operand offsets in PT/PTA/PTB expansions. 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com> Implement DataLabel semantics. * config/tc-sh.c (sh_frob_file) [HAVE_SH64]: Call shmedia_frob_file_before_adjust. * config/tc-sh64.c [! OBJ_ELF]: Emit #error. (DATALABEL_SUFFIX): Define. (shmedia_md_end) <before adjusting STO_SH5_ISA32 symbols>: Walk symbol list to update "datalabel" symbols to their main symbol counterparts. (shmedia_frob_file_before_adjust): New. (sh64_adjust_symtab): For remaining datalabel symbols, set to undefined and set STT_DATALABEL. (sh64_frob_label): Initialize TC symbol field. (sh64_consume_datalabel): Actually implement semantics. New parameter operandf, call it instead of expression. (sh64_exclude_symbol): New. * config/tc-sh64.h (md_parse_name): Pass on the function operand to sh64_consume_datalabel. (tc_symbol_new_hook): Define to tc_frob_symbol. (TC_SYMFIELD_TYPE): Define to symbolS *. (tc_frob_symbol): Define to call sh64_exclude_symbol. 2000-12-01 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c (shmedia_init_reloc): Tweak comment for default case. (shmedia_md_assemble): Call dwarf2_generate_asm_lineno if generating dwarf2 debug information. 2000-11-30 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c (sh64_target_format): Use elf64-sh64l and elf64-sh64 for the 64-bit ABI. * config/tc-sh.c (md_show_usage): Tweak usage output for -abi=* option. 2000-11-29 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh.c: Remove conditionalizing on HAVE_SH64 for case-insensitivity. 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c: Tweak comments, formatting and error messages. (enum sh64_abi_values): New type. (enum sh64_isa_values): New type. (sh64_isa_mode): Replace shmedia_mode. All referers changed. (seen_shcompact_mode, seen_shmedia_mode): Delete. (sh64_abi): Replace shmedia_64. (shmedia_md_convert_frag) <C (MOVI_IMM_64, MOVI_64), C (MOVI_IMM_32, MOVI_32)>: Correct register number handling. (s_sh64_mode): Check validity for this target. (sh64_target_format): Initialize defaults for ISA and ABI. Fallback to old object format if no SH64 ISA or ABI has been specified. * config/tc-sh.c (md_parse_option): Check combinations for errors. (sh_elf_final_processing): Change to have EF_SH64_ABI64 for 64-bit ABI and EF_SH64 for 32-bit ABI, if SH64 options are specified. * config/tc-sh64.h: Fix typo in comment. 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com> * config/tc-sh64.c (shmedia_md_estimate_size_before_relax) <PT fixups for absolute values>: Size will be longest, not shortest. (shmedia_md_convert_frag): Disable PTB-warning machinery. Correct all MOVI and SHORI operand offsets in PT/PTA/PTB expansions. * config/tc-sh.c (parse_reg) [HAVE_SH64]: Add local variables l0 and l1 to hold lowercase of two first characters. Change all remaining TO_LOWER to tolower. * config/tc-sh64.c (TO_LOWER): Delete. (shmedia_find_cooked_opcode): Use tolower, not TO_LOWER. (md_parse_name): Define. (sh64_consume_datalabel): Declare. (DOLLAR_DOT): Define. * config/tc-sh64.c (shmedia_parse_exp): New. (sh64_consume_datalabel): New; just ignoring datalabel semantics. (shmedia_parse_reg): Remove const from src parameter. (shmedia_get_operands): Ditto for args parameter and ptr variable. (shmedia_md_assemble): Ditto for op_end variable. (shmedia_get_operand): Ditto for ptr parameter and src variable. Use shmedia_parse_exp, not parse_exp. * config/tc-sh64.c (shmedia_parse_reg): Add shmedia_arg_type parameter. All callers changed. (shmedia_get_operand): Add shmedia_arg_type parameter. All callers changed. (shmedia_parse_reg): Put first two character in local variables. Use tolower, not TO_LOWER. If no register is found and argtype indicates a control register, scan shmedia_creg_table case-insensitive. 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com> * Makefile.am (CPU_TYPES): Add sh64. (TARGET_CPU_CFILES): Add config/tc-sh64.c. (TARGET_CPU_HFILES): Add config/tc-sh64.h. Regenerate dependencies. * Makefile.in: Regenerate. * configure.in: Add support for sh64-*-elf*. * configure: Regenerate. * config/tc-sh64.h: New. * config/tc-sh64.c: New. * config/tc-sh.c (md_pseudo_table) [HAVE_SH64]: New pseudos .mode, .isa and .uaquad. [HAVE_SH64] (SH64PCREL16_32, SH64PCREL16_64, SH64PCREL16PT_32, SH64PCREL16PT_64, MOVI_IMM_32, MOVI_IMM_64): Define. [HAVE_SH64] (END): Define as 10. [HAVE_SH64] (UNDEF_SH64PCREL, SH64PCREL16, SH64PCREL32, SH64PCREL48, SH64PCREL64, UNDEF_MOVI, MOVI_16, MOVI_32, MOVI_48, MOVI_64): Define. [HAVE_SH64] (SH64PCREL16_F, SH64PCREL16_M, SH64PCREL16_LENGTH, SH64PCREL32_F, SH64PCREL32_M, SH64PCREL32_LENGTH, SH64PCREL48_F, SH64PCREL48_M, SH64PCREL48_LENGTH, SH64PCREL64_LENGTH, MOVI_16_LENGTH, MOVI_32_LENGTH, MOVI_48_LENGTH, MOVI_64_LENGTH): Define. (md_relax_table) [HAVE_SH64]: Provide relaxations for SHmedia. (md_begin) [HAVE_SH64]: Call shmedia_md_begin. (parse_reg) [HAVE_SH64]: Parse register names case-insensitive. (md_assemble) [HAVE_SH64]: Call shmedia_md_assemble if assembling SHmedia instructions. Handle state-change after switching to SHcompact. (md_longopts) [HAVE_SH64]: New options --isa=* and --abi=*. (md_parse_option) [HAVE_SH64]: Parse new options. (md_show_usage) [HAVE_SH64]: Show usage of new options. (md_convert_frag) [HAVE_SH64] <default>: Call shmedia_md_convert_frag instead of abort. (sh_force_relocation) [HAVE_SH64]: Also force relocation for BFD_RELOC_SH_SHMEDIA_CODE. (sh_elf_final_processing) [HAVE_SH64]: Set flags identifying SHcompact or SHmedia code. (md_apply_fix) [HAVE_SH64] <default>: Return result from calling shmedia_md_apply_fix instead of abort. (md_estimate_size_before_relax) [HAVE_SH64] <default>: Return result from calling shmedia_md_estimate_size_before_relax instead of calling abort. (sh_do_align) [HAVE_SH64]: If shmedia_mode, let shmedia_do_align do the work. (tc_gen_reloc) [HAVE_SH64]: For unrecognized relocs, call shmedia_init_reloc and do nothing more if it returns non-zero. (sh_finalize) [HAVE_SH64]: Call shmedia_md_end. * po/POTFILES.in: Regenerate. * po/gas.pot: Regenerate.
2002-01-31Add support for OpenRISC 32-bit embedded processorNick Clifton1-0/+2
2002-01-22run "make dep-am"; automakeAlan Modra1-0/+2
regenerate po/POTFILES.in
2001-11-15 * po/POTFILES.in: Regenerate.Alan Modra1-0/+2