Age | Commit message (Collapse) | Author | Files | Lines |
|
from the opcode.
|
|
word fixups too.
Fixes "difference between forward references".
|
|
(do_jumps): Likewise.
Now that we can resolve known branch targets.
|
|
routines to fetch/store the updated instruction from/to memory.
(v850_insert_operand): If the operand has a specialized insert
routine, call it.
Getting fixups closer. At least br <target> works now.
|
|
be like identical function found in tc-ppc.c.
(get_reloc): Removed.
(v850_reloc_prefix): New function, parse lo(), hi() and hi0().
(md_assemble): emit fixups.
(md_pcrel_from): renamed from md_pcrel_from_section, emit proper
displacement.
(md_apply_fix3): handle fixups/relocs.
* config/tc-v850.h (MD_PCREL_FROM_SECTION): Removed definition.
|
|
* configure.in (sh-*-elf*): New target.
* config/tc-sh.h (TARGET_ARCH): Define.
(WORKING_DOT_WORD): Define.
(TC_COFF_FIX2RTYPE): Only define if OBJ_COFF.
(BFD_ARCH, COFF_MAGIC, TC_COUNT_RELOC): Likewise.
(TC_RELOC_MANGLE, tc_coff_symbol_emit_hook): Likewise.
(DO_NOT_STRIP, NEED_FX_R_TYPE, TC_KEEP_FX_OFFSET): Likewise.
(TC_COFF_SIZEMACHDEP, tc_frob_file): Likewise.
(SUB_SEGMENT_ALIGN): Likewise.
(RELOC_32): Don't define.
(tc_frob_file_before_adjust): Define if BFD_ASSEMBLER.
(target_big_endian): Declare if OBJ_ELF.
(TARGET_FORMAT): Define if OBJ_ELF.
* config/tc-sh.c: Use BFD reloc codes instead of SH COFF reloc
numbers throughout.
(tc_crawl_symbol_chain): Only define if OBJ_COFF.
(tc_headers_hook, tc_coff_sizemachdep): Likewise.
(struct sh_count_relocs): Define.
(sh_count_relocs): New static function, broken out of
sh_frob_file. Add BFD_ASSEMBLER code.
(sh_frob_section): Likewise.
(sh_frob_file): Call sh_frob_section.
(md_convert_frag): If BFD_ASSEMBLER, change type of headers, and
call section_symbol rather than seg_info (seg)->dot.
(md_section_align): Add OBJ_ELF version.
(SWITCH_TABLE_CONS): Define.
(SWITCH_TABLE): Use SWITCH_TABLE_CONS.
(md_apply_fix): Change parameter types if BFD_ASSEMBLER. Only
handle fx_r_type == 0 if not BFD_ASSEMBLER. Return 0 if
BFD_ASSEMBLER.
(struct reloc_map): Define if not BFD_ASSEMBLER.
(coff_reloc_map): Likewise.
(sh_coff_reloc_mangle): Use coff_reloc_map to convert fx_r_type.
(tc_gen_reloc): New function if BFD_ASSEMBLER.
* write.c (write_relocs): Ifdef out fx_where test which triggers
inappropriately for SH ELF.
(write_object_file): Call tc_frob_file_before_adjust and
obj_frob_file_before_adjust if they are defined.
* write.c (write_object_file): Use BFD_RELOC_16, not
BFD_RELOC_NONE, when calling fix_new_exp for a broken word.
|
|
* config/tc-d10v.c (find_opcode): Fix problem with calculating
branch sizes in across sections.
|
|
* gas/v850/basic.exp (misc_tests): Corresponding changes.
|
|
hi0() too.
Bugfix.
|
|
* gas/v850/basic.exp: Run hilo tests.
|
|
* gas/arm/arm7t.d: Explicitly force little-endian assembly.
|
|
* config/tc-d10v.c (find_opcode): Fix a bug which could generate
the wrong opcode for cases like st2w where there are many forms
of the same instruction.
|
|
calling symbol_find_or_make.
* config/tc-ppc.h (md_parse_name): Define.
(ppc_parse_name): Declare.
* config/tc-ppc.c (reg_name_search): Add regs and regcount
parameters.
(register_name): Update call to reg_name_search.
(cr_operand): New static variable.
(cr_names): New static const array.
(ppc_parse_name): New function.
(md_assemble): If PPC_OPERAND_CR is set in the operand flags, set
cr_operand before calling expression.
PR 10460.
|
|
hppa_gen_reloc_type call.
Fixing a problem with -mlinker-opt.
|
|
* tc-d10v.c: Fixed ".word". Fixed problem with range checking
on addresses. Improved error messages.
|
|
* config/tc-d10v.c: Fixed ".word". Fixed problem with range checking
on addresses. Improved error messages.
* doc/c-d10v.texi: Added docs for register pairs.
|
|
* tc-d10v.c (parallel_ok): Fix bug in parallel
checking code.
|
|
* config/tc-d10v.c (parallel_ok): Fix bug in parallel
checking code.
|
|
(add_file): Restore old file merging code, but only merge files if
fMerge is set.
(ecoff_directive_loc): Clear fMerge field of current file.
(ecoff_generate_asm_lineno): Likewise.
|
|
"ep" or "r30" in sst and sld instructions.
(md_apply_fix3): Don't abort. Just warn that we don't
have relocs yet.
|
|
* gas/v850/move.s: Tweak constants for better testing.
|
|
xfail sst and sld tests.
(mov_tests): Remove bogus xfail.
* gas/v850/mem.s: sst and sld instructions can only index from
"ep" register.
|
|
Update addresses.
* gas/v850/logical.s: Tweak constants for better testing.
|
|
but not displacements (yet).
|
|
(cc_name): New function.
(md_assemble): Handle V850_OPERAND_CC correctly.
setf stuff
|
|
|
|
* doc/c-d10v.texi: Fix typo.
|
|
but not displacements (yet).
|
|
|
|
"insn"!
|
|
* gas/v850/arith.s: Tweak constants for better testing.
|
|
assembling "ldsr" and "stsr" opcodes.
* gas/v850/misc.s: Re-enable assembling of "ldsr" and "stsr"
opcodes.
|
|
any given register table.
(register_name): Pass appropriate table and size to reg_name_search.
(system_register_name): New function.
(SYSREG_NAME_CNT): Define.
(md_assemble): Handle operands which are system registers.
Still working on the parser..
|
|
assembling "trap" opcodes.
* gas/v850/misc.s: Re-enable assembling of "trap" opcodes.
|
|
Beginnings of a gas testsuite for the v850.
|
|
opcode doesn't want a register, then we don't have a match.
(md_assemble): Get size of the instruction from the opcode table.
So we choose the right opcode and so that we get the sizes right.
|
|
|
|
* configure: Rebuild.
* Makefile.in (HLDENV): New variable.
(as.new): Use $(HLDENV).
|
|
if an array dimension is not known.
PR 10426.
|
|
* doc/c-d10v.texi: Cleanup.
|
|
* config/tc-d10v.c: Fix a reloc bug caused by my last change.
* doc/c-d10v.texi: Cleanup.
|
|
|
|
* config/tc-v850.h: New file.
* configure (v850-*-elf): New target.
* configure.in (v850-*-elf): New target.
|
|
* c-d10v.texi: New file.
* all.texi: Added D10V stuff.
* as.texinfo: Added D10V stuff.
|
|
* doc/c-d10v.texi: New file.
* doc/all.texi: Added D10V stuff.
* doc/as.texinfo: Added D10V stuff.
|
|
* tc-d10v.c: All references to defined symbols should
now use the optimal instruction. .float and .double now work.
|
|
* config/tc-d10v.c: All references to defined symbols should
now use the optimal instruction. .float and .double now work.
|
|
section address for the i960 as is done for the i386.
PR 10344.
|
|
case, forward-include bfd/elf-bfd.h.
|
|
* config/tc-d10v.c: Add additional information to the opcode
table to help determinine which instructions can be done
in parallel.
|