Alan Modra
c46b75158b
Use SEGREL32 relocs for elf32-hppa unwind.
26 years ago
Alan Modra
1328dc9844
Adds assembly and dis-assembly support for the HPPA wide
mode, 16 bit forms of ldi, ldo, ldw and stw instructions.
26 years ago
Jan Hubicka
b9d79e0379
* tc-i386.h (TARGET_MACH): New macro.
26 years ago
Jan Hubicka
e2914f484e
* i386.c (md_assemble): Check cpu_flags even for nullary instructions.
26 years ago
Alan Modra
6e0b89ee6c
Cure recent x86 warts.
26 years ago
Nick Clifton
0d2bcfafbf
Updated ARC assembler from arccores.com
26 years ago
Stephane Carrez
8805103910
Fix gas 68HC12 indexed addressing code generation
26 years ago
Stephane Carrez
d8273f3bf3
Fix weak symbols for 68HC11 as
26 years ago
Andreas Jaeger
eea2ad4501
* config/tc-i386.h (TC_RELOC_GLOBAL_OFFSET_TABLE): Removed, it's
26 years ago
Nick Clifton
7a91e76ad1
Allow ADRL relocs to be adjusted in arm-coff
26 years ago
Andreas Jaeger
b77a7acd1b
2001-01-08 Bo Thorsen <bo@suse.de>
* config/tc-i386.c (i386_immediate, i386_displacement):
GOTPCREL check fix.
26 years ago
Jan Hubicka
b96d3a207a
* configure.in: Define DEFAULT_ARCH for i386.
* tc-i386.c (md_assemble): Return after the error message;
move testing for 64bit operands to proper place.
* i386.exp: Add tests for presence of 32bit versus 64bit output
format; run both 64bit and 32bit tests when format is available;
add x86_64 test.
* x86_64.s: New file.
* x86_64.d: New file.
26 years ago
Jan Hubicka
7bc70a8e57
* tc-i386.c (md_assemble): Handle third byte of the opcode as prefix.
* i386.h (i386_optab): Make [sml]fence template to use immext field.
26 years ago
Jan Hubicka
a167610dd0
* tc-i386.c (cpu_arch): Add Pentium4 and modify sledgehammer entry.
26 years ago
Jan Hubicka
09f131f2b6
* tc-i387.c (pi, pte, pt): Update.
26 years ago
Jan Hubicka
6f8c0c4ccc
* tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,
26 years ago
Phil Blundell
b96ed59a57
2001-01-03 Philip Blundell <pb@futuretv.com>
* config/tc-alpha.c (alpha_force_relocation): Handle vtable
relocs.
(alpha_fix_adjustable): Likewise.
(md_apply_fix): Likewise.
26 years ago
Richard Henderson
0a9ef43907
* as.h (rs_align_test): New.
* frags.c (NOP_OPCODE): Move default from read.c.
(MAX_MEM_FOR_RS_ALIGN_CODE): New default.
(frag_align_code): New.
* frags.h (frag_align_code): Declare.
* read.c (NOP_OPCODE): Remove.
(do_align): Use frag_align_code.
* write.c (NOP_OPCODE): Remove.
(get_recorded_alignment): New.
(cvt_frag_to_fill): Handle rs_align_test.
(relax_segment): Likewise.
(subsegs_finish): Align last subseg in section to the
section alignment. Use frag_align_code.
* write.h (get_recorded_alignment): Declare.
* config/obj-coff.c (size_section): Handle rs_align_test.
(fill_section, fixup_mdeps): Likewise.
(write_object_file): Use frag_align_code.
* config/tc-alpha.c (alpha_align): Use frag_align_code.
(alpha_handle_align): New.
* config/tc-alpha.h (HANDLE_ALIGN): New.
(MAX_MEM_FOR_RS_ALIGN_CODE): New.
* config/tc-i386.h (md_do_align): Use frag_align_code.
(MAX_MEM_FOR_RS_ALIGN_CODE): New.
* config/tc-ia64.c (ia64_md_do_align): Don't do code alignment.
(ia64_handle_align): New.
* config/tc-ia64.h (HANDLE_ALIGN): New.
(MAX_MEM_FOR_RS_ALIGN_CODE): New.
* config/tc-m32r.c (m32r_do_align): Remove.
(m32r_handle_align): New.
(fill_insn): Use frag_align_code.
* config/tc-m32r.h (md_do_align): Remove.
(HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): New.
* config/tc-m88k.c, config/tc-m88k.h: Similarly.
* config/tc-mips.c, config/tc-mips.h: Similarly.
* config/tc-sh.c (sh_cons_align): Use rs_align_test.
(sh_handle_align): Likewise. Handle rs_align_code.
(sh_do_align): Remove.
* config/tc-sh.h (md_do_align): Remove.
(MAX_MEM_FOR_RS_ALIGN_CODE): New.
* config/tc-sparc.c (sparc_cons_align): Use rs_align_test.
(sparc_handle_align): Likewise. Handle rs_align_code.
* config/tc-sparc.h (md_do_align): Remove.
(MAX_MEM_FOR_RS_ALIGN_CODE): New.
26 years ago
DJ Delorie
3cd4dda73e
* config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg
when we assemble the first half of a pair.
26 years ago
H.J. Lu
ec56dfb4b0
2000-12-22 H.J. Lu <hjl@gnu.org>
* config/tc-i386.c (reloc): Update the macro for non-bfd
assembler.
(BFD_RELOC_X86_64_GOTPCREL): Set to 0 for non-bfd assembler.
26 years ago
Jan Hubicka
3e73aa7c95
* tc-i386.h (i386_target_format): Define even for ELFs.
26 years ago
Diego Novillo
21d6c4af5d
2000-12-15 Diego Novillo <dnovillo@redhat.com>
* config/tc-i386.c (intel_e09_1): Only flag as a memory operand if
it's not an offset expression.
(intel_e10_1): Ditto. Also, if the operand is an offset expression,
keep the braces '[' and ']' in the output string.
(intel_e11): Ditto. Also remove comparison intel_parser.op_modifier
!= FLAT. There is no such op_modifier.
26 years ago
Alan Modra
0485cba3d3
Rodney Brown's CHECK_FIELD typo fixes.
26 years ago
Jim Wilson
514829c3af
Eliminate ia64 compiler warnings. Fix ia64 gas testsuite again.
* elfxx-ia64.c (get_dyn_sym_info): Cast %p argument to void *.
* config/tc-ia64.h (ia64_init): Add prototype.
* gas/ia64/dv-imply.d, gas/ia64/dv-mutex.d, gas/ia64/dv-safe.d,
gas/ia64/dv-srlz.d, gas/ia64/opc-m.d: Update.
* ia64-dis.c (print_insn_ia64): Cast away const on ia64_free_opcode
argument.
* ia64_gen.c (insert_deplist): Cast sizeof result to int.
(print_dependency_table): Print NULL if semantics field not set.
(insert_opcode_dependencies): Mark cmp parameter as unused.
(print_main_table): Use fprintf_vma to print long long fields.
(main): Mark argv paramter as unused. Convert to old style definition.
* ia64-opc.c (ia64_find_dependency): Cast sizeof result to int.
* ia64-asmtab.c: Regnerate.
26 years ago
Geoffrey Keating
8141c27d66
* config/obj-bout.c (obj_crawl_symbol_chain): Don't take
the address of a function result.
26 years ago
Geoffrey Keating
5d6f4f1679
2000-12-12 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
* config/tc-ppc.c (md_pseudo_table): Add .file and .loc.
(md_assemble): Call dwarf2_emit_insn.
(shlib): Fix typo SHILB -> SHLIB.
(md_parse_option): Likewise.
(ppc_elf_validate_fix): Likewise:
* config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
26 years ago
Nick Clifton
e972090a04
Fix formatting
26 years ago
Jan Hubicka
f16b83dfe5
* tc-i386.c (md_assemble): Refuse 's' and 'l' suffixes in the intel
mode; convert 'd' suffix to 's' or 'l'; remove all DWORD_MNEM_SUFFIX
references.
(intel_e09_1): Convert QWORD to 'l' suffix for FP operations; refuse
otherwise.
* tc-i386.h (DWORD_MNEM_SUFFIX): Kill.
(No_dSuf): Kill.
* i386.h (*_Suf): Remove No_dSuf.
(d_suf, wld_Suf,sld_Suf, sldx_Suf, bwld_Suf, d_FP, sld_FP, sldx_FP)
Remove.
(i386_optab): Remove 'd' in the suffixes.
26 years ago
Alan Modra
50705ef487
Fix T_SHORT macro conflict.
26 years ago
Kazu Hirata
beae10d5eb
2000-12-05 Kazu Hirata <kazu@hxi.com>
* config/tc-mips.c: Fix formatting.
26 years ago
Nick Clifton
bccba5f08c
Add outputting_stabs_line_debug varaible and D10v code to use it
26 years ago
Kazu Hirata
bc80588841
2000-12-03 Kazu Hirata <kazu@hxi.com>
* tc-a29k.c: Fix formatting.
* tc-alpha.c: Likewise.
* tc-arm.c: Likewise.
* tc-cris.c: Likewise.
* tc-hppa.c: Likewise.
* tc-i370.c: Likewise.
* tc-i386.c: Likewise.
* tc-i860.c: Likewise.
* tc-i960.c: Likewise.
* tc-ia64.c: Likewise.
* tc-m68hc11.c: Likewise.
* tc-m68k.c: Likewise.
* tc-m88k.c: Likewise.
* tc-pj.c: Likewise.
* tc-ppc.c: Likewise.
* tc-sh.c: Likewise.
* tc-sparc.c: Likewise.
* tc-tahoe.c: Likewise.
* tc-vax.c: Likewise.
26 years ago
Nick Clifton
c6c98b3833
Add MIPS SB1 machine
26 years ago
Nick Clifton
84ea6cf2c5
Add MIPS V and MIPS 64 machine numbers
26 years ago
Nick Clifton
e7af610e14
Add MIPS32 as a seperate MIPS architecture
26 years ago
Nick Clifton
4372b67322
Improve MIPS32 support
26 years ago
Nick Clifton
3dacdf2eb1
When calculating offsets, don't accept as constant the difference between the
addresses of symbols in two different sections.
26 years ago
Phil Blundell
4ce3447c16
2000-11-30 Philip Blundell <pb@futuretv.com>
* config/obj-coff.c (obj_coff_weak): Use S_SET_WEAK if it exists,
even in non BFD_ASSEMBLER case.
26 years ago
Diego Novillo
76a0ddacc0
2000-11-30 Diego Novillo <dnovillo@redhat.com>
* tc-i386.c (md_assemble): Swap i.disp_relocs when using intel
syntax.
2000-11-30 Diego Novillo <dnovillo@redhat.com>
* intel.s, intel.d: New test for @GOT references.
26 years ago
Hans-Peter Nilsson
e46fee7099
(parse_reg): Parse names case-insensitively.
26 years ago
Hans-Peter Nilsson
dda5ecfc74
(sh_elf_cons): Cast *input_line_pointer to unsigned char when
indexing is_end_of_line[].
(md_assemble): Initialize size to 0.
(md_section_align): Mark parameter seg as unused.
26 years ago
Hans-Peter Nilsson
99b222b479
* config/tc-sh.c (md_convert_frag) <undefined symbol, conditional
jump>: Use as_bad_where instead of as_bad. Tweak error message
accordingly. Stabilize frag by updating fix part and resetting
variant part.
<undefined symbol, unconditional jump>: Ditto.
26 years ago
Kazu Hirata
814f664127
2000-11-27 Kazu Hirata <kazu@hxi.com>
* config/obj-aout.h: Fix formatting.
* config/obj-bout.h: Likewise.
* config/obj-coff.c: Likewise.
* config/obj-coff.h: Likewise.
* config/obj-elf.h: Likewise.
* config/obj-som.h: Likewise.
* config/obj-vms.c: Likewise.
* config/obj-vms.h: Likewise.
* config/tc-h8300.h: Likewise.
* config/tc-ns32k.h: Likewise.
* config/tc-sparc.h: Likewise.
* config/tc-tic54x.h: Likewise.
* config/tc-z8k.h: Likewise.
26 years ago
Hans-Peter Nilsson
fcdc20a4d3
* config/tc-cris.c: Include dwarf2dbg.h.
(md_pseudo_table): Add .file and .loc.
(md_assemble): Call dwarf2_emit_insn if generating ELF.
(s_cris_file, s_cris_loc): New.
* config/tc-cris.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
* Makefile.am: Regenerate dependencies.
* Makefile.in: Regenerate.
26 years ago
Stephane Carrez
ae3e85dd27
Fix movw/movb operands for 68HC12
26 years ago
Nick Clifton
077b8428ab
Add ARM v5t, v5te and XScale support
26 years ago
Jim Wilson
2434f56546
Eliminate compiler warnings from IA-64 port.
* config/tc-ia64.c (pseudo_func): Add missing initializers.
(struct rsrc): Make line unsigned.
(gr_values): Add missing initializer.
(SLOT_NUM_NOT_SET): Add unsigned cast.
(ia64_elf_section_flags, output_vbyte_mem, count_output, dot_radix,
dot_fframe, dot_vframe, dot_vframesp, dot_vframepsp, dot_save,
dot_restore, dot_restorereg, dot_restorereg_p, dot_handlerdata,
dot_unwentry, dot_altrp, dot_saveg, dot_savef, dot_saveb, dot_savegf,
dot_spill, dot_spillreg, dot_spillreg_p, dot_label_state,
dot_copy_state, dot_unwabi, dot_personality, dot_proc, dot_body,
dot_prologue, dot_endp, dot_regstk, dot_psr, dot_alias, dot_ln,
dot_reg_val, dot_entry, dot_mem_offset, ia64_init, mark_resource,
md_undefined_symbol, md_apply_fix3, tc_gen_reloc, ia64_md_do_align):
Add ATTRIBUTE_UNUSED to unused parameters.
(convert_expr_to_ab_reg): Add parens.
(convert_expr_to_xy_reg): Add parens. Comment out >= REG_GR test.
(dot_prologue): Initialize grsave when declared.
(md_pseudo_table): Add missing initializers.
(operand_match): Add casts to bfd_vma.
(emit_one_bundle): Delete unused local prev. Make required_template
unsigned.
(specify_resource): Cast i to unsigned.
(note_register_values): Use fprintf_vma.
(print_dependency): Likewise.
26 years ago
Jim Wilson
5e7474a7c9
Fix linux kernel unwind section alignment failure.
* config/tc-ia64.c (generate_unwind_image): Call record_alignment
for unwind info section.
(dot_endp): Likewise for unwind section.
26 years ago
Jim Wilson
5a080f897a
Fix assembler error on linux kernel mm/memory.c file.
* config/tc-ia64.c (emit_one_bundle): Pass size of 8 not 4 to
fix_new_exp.
26 years ago
Jakub Jelinek
b8e904dce5
* config/tc-sparc.h (DWARF2_LINE_MIN_INSN_LENGTH): New.
26 years ago