Dave Anglin
8973a37d31
PR gas/1804
...
* config/tc-hppa.c (md_apply_fix): Use number_to_chars_bigendian to
output constant data.
2005-11-07 18:53:10 +00:00
Mark Mitchell
a0b7da7978
* doc/Makefile.am (asconfig.texi): Set top_srcdir.
...
* doc/Makefile.in: Regenerated.
* doc/as.texinfo: Document "@FILE".
2005-11-07 18:07:12 +00:00
Nick Clifton
422fee64f8
PR binutils/1568
...
* config/obj-coff.c (obj_coff_section): Set readonly flag with the 'x'
attribute. Remember the actions of the 'w' and 'n' attributes and do not
allow the 'x','s' or 'd' attributes to change them.
2005-11-07 17:57:00 +00:00
Jan Beulich
5ca0ee011b
gas/testsuite/
...
2005-11-07 Jan Beulich <jbeulich@novell.com>
* gas/all/redef2.[sd]: New.
* gas/all/gas.exp: Run new test.
* gas/elf/redef.d: New.
* gas/elf/elf.exp: Run new test.
2005-11-07 08:04:56 +00:00
Alan Modra
5157cd8a4f
* gas/i386/divide.s: Test line comment starting with '/'.
...
* gas/i386/divide.d: Pass --divide to gas.
* gas/i386/intelok.d: Likewise.
* gas/i386/i386.exp (divide): Run for all targets.
2005-11-07 06:03:50 +00:00
Alan Modra
b3b91714e2
* config/tc-i386.h (tc_comment_chars): Define.
...
* config/tc-i386.c (line_comment_chars): Use '/' unconditionally.
(i386_comment_chars): Add.
(md_parse_options): Process OPTION_DIVIDE.
(md_show_usage): Describe --divide option.
* doc/c-i386.texi: Document --divide option.
2005-11-07 06:01:18 +00:00
Alan Modra
fb7ccfc159
* expr.c (op_encoding): Map '=' to O_SINGLE_EQ, if defined.
...
* config/tc-z80.h: Define O_SINGLE_EQ as O_eq.
2005-11-07 02:15:47 +00:00
Alan Modra
0e470c55e8
* macro.c (buffer_and_nest): Skip labels regardless of
...
NO_PSEUDO_DOT and flag_m68k_mri.
2005-11-07 01:47:54 +00:00
Alan Modra
5baab85597
* gas/z80/z80.exp: Added "suffix" test.
...
* gas/z80/suffix.s: New file.
* gas/z80/suffix.d: New file.
2005-11-06 23:04:53 +00:00
Alan Modra
fee9cbc776
* expr.c (integer_constant): Match only 'B' as binary suffix if
...
NUMBERS_WITH_SUFFIX and LOCAL_LABELS_FB. Allow both 'b' and 'B'
otherwise.
2005-11-06 23:04:10 +00:00
H.J. Lu
701aa79212
2005-11-04 H.J. Lu <hongjiu.lu@intel.com>
...
* gas/i386/padlock.d: Support 64bit BFD.
2005-11-04 19:53:02 +00:00
Alexandre Oliva
b54788f893
gas/ChangeLog:
...
* read.c (s_weakref): Do not permit redefinitions.
* symbols.c (colon): Do not permit redefinitions of equated
symbols.
gas/testsuite/ChangeLog:
* gas/all/gas.exp: Remove weakref xfail. Run weakref4.s.
* gas/all/weakref1.s: Move redefinition bits to...
* gas/all/weakref4.s: ... new file.
* gas/all/weakref1.d: Remove command moved to weakref1u. Adjust
remaining command for leading tabs. Regenerate.
* gas/all/weakref1l.d: Regenerate.
* gas/all/weakref1u.d: Likewise.
* gas/all/wealref1w.d: Likewise.
2005-11-04 19:45:25 +00:00
Jan Beulich
774d73da58
gas/testsuite/
...
2005-11-04 Jan Beulich <jbeulich@novell.com>
* gas/all/gas.exp: xfail weakref dump tests for all targets.
2005-11-04 13:25:59 +00:00
Thiemo Seufer
0876dd7ea1
PR gas/1299
...
* Makefile.am: Disable -Werror for the itbl-lex.o rule.
* Makefile.in: Regenerate.
2005-11-01 10:23:56 +00:00
Thiemo Seufer
44075ae21c
* config/tc-mips.c (md_parse_option): Fix typo in comment.
2005-11-01 01:59:28 +00:00
Mark Mitchell
a55ff675f9
* as.c (show_usage): Document "@FILE".
...
* gprof.c (usage): Document "@FILE".
* lexsup.c (help): Document "@FILE".
2005-10-30 18:08:52 +00:00
H.J. Lu
b177c45ccf
2005-10-30 H.J. Lu <hongjiu.lu@intel.com>
...
* Makefile.am (OBJ_FORMATS): Remove vms.
Run "make dep-am".
* Makefile.in: Regenerated.
* dep-in.sed: Replace " ./" with " ".
2005-10-30 17:27:34 +00:00
Hans-Peter Nilsson
a329c72357
PR gas/1630
...
* gas/all/gas.exp <weakref1, weakref1g, weakref1l, weakref1u,
weakref1w>: Xfail for cris-*-* and mmix-*-*.
2005-10-29 10:54:08 +00:00
Dave Brolley
4fb1e3d3e1
2005-10-28 Dave Brolley <brolley@redhat.com>
...
Contribute the following change:
2005-09-19 Dave Brolley <brolley@redhat.com>
* config/tc-m32c.c (default_isa): New static variable.
(m32c_isa): Now of type CGEN_BITSET.
(md_begin): Pass &m32c_isa to m32c_cgen_cpu_open.
2005-10-28 19:37:14 +00:00
Paul Brook
2e10c237f6
2005-10-28 Paul Brook <paul@codesourcery.com>
...
* config/tc-arm.c (aeabi_set_public_attributes): Use selected_cpu
instead of mcpu_cpu_opt.
2005-10-28 00:50:03 +00:00
Bob Wilson
53dfbcc78f
* config/tc-xtensa.c (find_vinsn_conflicts): Change error messages to
...
refer to "ports" instead of "queues".
(check_t1_t2_reads_and_writes): Pass correct interface values to
xtensa_interface_inout.
2005-10-27 22:16:31 +00:00
Jan Beulich
b252df615e
gas/testsuite/
...
2005-10-27 Jan Beulich <jbeulich@novell.com>
* gas/i386/equ.d: Fix typo.
* gas/i386/equ.s: Don't globalize r.
2005-10-27 13:34:14 +00:00
Jan Beulich
6a2b6326c2
gas/
...
2005-10-27 Jan Beulich <jbeulich@novell.com>
* read.c (assign_symbol): Also consider equates already defined.
* symbols.c (symbol_clone): Also clone the underlying BFD symbol.
* config/obj-coff.h (obj_symbol_clone_hook): New.
(coff_obj_symbol_clone_hook): Declare.
* config/obj-coff.c (coff_obj_symbol_clone_hook): New.
gas/testsuite/
2005-10-27 Jan Beulich <jbeulich@novell.com>
* gas/all/gas.exp: Don't xfail equiv1 test anymore.
2005-10-27 07:40:07 +00:00
DJ Delorie
d14c4fad02
* config/tc-m32c.c (md_relax_table, subtype_mappings,
...
md_convert_frag): Add jsr.w support.
2005-10-26 20:42:00 +00:00
DJ Delorie
6b73c529e0
* config/tc-m32c.c (md_assemble): Don't use errmsg as the format
...
itself.
(md_cgen_lookup_reloc): Add m32c bitbase operands. Add 8-s24
and imm-8-HI operands.
2005-10-26 19:24:20 +00:00
Paul Brook
f1022c90ad
2005-10-26 Paul Brook <paul@codesourcery.com>
...
gas/
* config/tc-arm.c (insns): Correct "sel" entry.
gas/testsuite/
* gas/arm/archv6.d: Adjust expected output.
opcodes/
* arm-dis.c (arm_opcodes): Correct "sel" entry.
2005-10-26 14:09:29 +00:00
Jan Beulich
4d1bb7955a
gas/
...
2005-10-26 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.c (i386_operand): Don't check register prefix here.
(parse_real_register): Rename from parse_register.
(parse_register): New.
(i386_parse_name): New.
(md_operand): New.
(intel_e11): Don't tolerate registers in offset expressions anymore.
(intel_get_token): Don't check register prefix here. Copy the actual
register token, not the canonical register name.
* config/tc-i386.h (md_operand): Delete.
(i386_parse_name): Declare.
(md_parse_name): Define.
gas/testsuite/
2005-10-26 Jan Beulich <jbeulich@novell.com>
* gas/i386/intel.s: Replace register used in offset expression.
* gas/i386/intel.e: Adjust.
* gas/i386/intelbad.l: Adjust.
* gas/i386/equ.[sed]: New.
* gas/i386/i386.exp: Run new test.
2005-10-26 12:29:44 +00:00
Hans-Peter Nilsson
be75119426
* gas/z80/z80.exp: Fix misplaced-open-brace typo.
2005-10-26 01:32:25 +00:00
Nick Clifton
b7b8fb1dfa
oops - omitted from previous delta
2005-10-25 17:42:02 +00:00
Nick Clifton
3c9b82baee
Add support for the Z80 processor family
2005-10-25 17:40:19 +00:00
H.J. Lu
50afb01e1a
2005-10-25 H.J. Lu <hongjiu.lu@intel.com>
...
* write.c (adjust_reloc_syms): Undo the change made on
2005-04-26 to allow local symbol set to undefined symbol.
2005-10-25 14:07:44 +00:00
H.J. Lu
7c8d43d827
2005-10-24 H.J. Lu <hongjiu.lu@intel.com>
...
* Makefile.am (bfin-parse.tab.h): Removed.
(bfin-parse.h): Added.
* Makefile.in: Regenerated.
2005-10-25 04:48:04 +00:00
Alan Modra
3caac5b897
Regenerate
2005-10-25 02:20:17 +00:00
Bernd Schmidt
d80930e406
* gas/bfin/flow2.d: Match changed assembler behaviour.
...
* gas/bfin/reloc.d: Likewise.
2005-10-24 18:42:37 +00:00
Bernd Schmidt
beb6bfe84a
* config/tc-bfin.c (Expr_Node_Gen_Reloc): If have symbol + constant,
...
make a single reloc with an offset rather than a stack.
* config/tc-bfin.h (MD_APPLY_SYM_VALUE): Define to 0.
2005-10-24 18:35:59 +00:00
Alexandre Oliva
06e77878ef
gas/ChangeLog:
...
* read.c (potable): Add weakref.
(s_weakref): New.
* read.h (s_weakref): Declare.
* struc-symbol.h (struct symbol): Add sy_weakrefr and sy_weakrefd.
* symbols.c (colon): Clear weakrefr.
(symbol_find_exact): Rename to, and reimplement in terms of...
(symbol_find_exact_noref): ... new function.
(symbol_find): Likewise...
(symbol_find_noref): ... ditto.
(resolve_symbol_value): Resolve weakrefr without setting their
values.
(S_SET_WEAK): Call hook.
(S_GET_VALUE): Follow weakref link.
(S_SET_VALUE): Clear weakrefr.
(S_IS_WEAK): Follow weakref link.
(S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): New.
(S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): New.
(symbol_set_value_expression, symbol_set_frag): Clear weakrefr.
(symbol_mark_used): Follow weakref link.
(print_symbol_value_1): Print weak, weakrefr and weakrefd.
* symbols.h (symbol_find_noref, symbol_find_exact_noref): Declare.
(S_IS_WEAKREFR, S_SET_WEAKREFR, S_CLEAR_WEAKREFR): Declare.
(S_IS_WEAKREFD, S_SET_WEAKREFD, S_CLEAR_WEAKREFD): Declare.
* write.c (adust_reloc_syms): Follow weakref link. Do not
complain if target is undefined.
(write_object_file): Likewise. Remove weakrefr symbols. Drop
unreferenced weakrefd symbols.
* config/obj-coff.c (obj_frob_symbol): Do not force WEAKREFD
symbols EXTERNAL.
(pecoff_obj_set_weak_hook, pecoff_obj_clear_weak_hook): New.
* config/obj-coff.h (obj_set_weak_hook, obj_clear_weak_hook): Define.
* doc/as.texinfo: Document weakref.
* doc/internals.texi: Document new struct members, internal
functions and hooks.
gas/testsuite/ChangeLog:
* gas/all/weakref1.s, gas/all/weakref1.d: New test.
* gas/all/weakref1g.d, gas/all/weakref1l.d: New tests.
* gas/all/weakref1u.d, gas/all/weakref1w.d: New tests.
* gas/all/weakref2.s, gas/all/weakref3.s: New tests.
* gas/all/gas.exp: Run new tests.
2005-10-24 17:51:42 +00:00
Jie Zhang
9ba4c44513
bfd/
...
* elf32-bfin.c (bfd_bfin_elf32_create_embedded_relocs): Fix signedness
warning.
gas/
* Makefile.am (bfin-parse.h): Renamed from bfin-parse.tab.h.
(EXTRA_DIST): Add bfin-parse.h and bfin-lex.c.
* Makefile.in: Regenerate.
* config/bfin-lex.l: Include bfin-parse.h instead of bfin-parse.tab.h.
* config/tc-bfin.c (md_chars_to_number): Change the type of first
argument from unsigned char * to char * to remove signedness warnings.
2005-10-24 16:31:22 +00:00
Jan Beulich
6a2375c6b2
include/opcode/
...
2005-10-24 Jan Beulich <jbeulich@novell.com>
* ia64.h (enum ia64_opnd): Move memory operand out of set of
indirect operands.
bfd/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* cpu-ia64-opc.c (elf64_ia64_operands): Move memory operand out of
set of indirect operands.
gas/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (enum reg_symbol): Delete IND_MEM.
(dot_rot): Change type of num_* variables. Check for positive count.
(ia64_optimize_expr): Re-structure.
(md_operand): Check for general register.
gas/testsuite/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* gas/ia64/index.[sl]: New.
* gas/ia64/rotX.[sl]: New.
* gas/ia64/ia64.exp: Run new tests.
opcodes/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* ia64-asmtab.c: Regenerate.
2005-10-24 07:42:50 +00:00
Jan Beulich
5e0bd1769d
gas/
...
2005-10-24 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.c (declare_register): Call symbol_create.
(md_begin): Remove local variables total, ar_base, and cr_base.
Start loops for registers at their respective first one. Don't
update md.regsym for alias names. Generate alias name tp for r13.
gas/testsuite/
2005-10-24 Jan Beulich <jbeulich@novell.com>
* gas/ia64/regs.pl: Also check tp alias of r13.
* gas/ia64/regs.s: Regenerate.
* gas/ia64/regs.d: Adjust.
2005-10-24 07:36:40 +00:00
DJ Delorie
cab0a0db16
* config/tc-m32c.c (md_cgen_lookup_reloc): Add more relocs. Print
...
names unstead of numbers.
2005-10-22 00:04:26 +00:00
David Ung
290248614c
* config/tc-mips.c (append_insn): Convert MIPS16 jr/jalr jumps
...
into jrc/jalrc versions if ISA_MIPS32+ and not doing the swap,
hence avoiding to emit a nop.
* gas/mips/mips.exp: Run new test.
* gas/testsuite/gas/mips/mips16e-jrc.s: New test for converting
jalr/jr to the compact jalrc/jrc instructions.
* gas/testsuite/gas/mips/mips16e-jrc.d: New.
2005-10-19 18:47:09 +00:00
Martin Schwidefsky
cd0c2720e9
* gas/s390/zarch-z9-109.s: Add tests for unnormalized hfp multiply
...
and multiply-and-add instructions.
* gas/s390/zarch-z9-109.d: Update expected result.
2005-10-19 15:05:50 +00:00
Jie Zhang
9f8e671b12
* config/tc-bfin.c (md_begin): Let the lex_type of '(' be
...
LEX_BEGIN_NAME.
(bfin_start_line_hook): Remove the workaround for LSETUP(.
(bfin_name_is_register): Remove the workarounds for LSETUP(
and SAA(.
(bfin_start_label): Ditto.
2005-10-19 13:15:01 +00:00
Paul Brook
64aacc3eeb
2005-10-08 Paul Brook <paul@codesourcery.com>
...
* gas/arm/eabi_attr_1.s: New test.
* gas/arm/eabi_attr_1.d: New test.
* gas/arm/arm7t.d: Only disassemble code sections.
* gas/arm/bignum1.d: Ignore Arm object attribute sections.
* gas/arm/mapping.d: Ditto.
* gas/arm/unwind.d: Ditto.
* gas/elf/section0.d: Ditto.
* gas/elf/section1.d: Ditto.
* gas/elf/elf.exp: Set target_machine for Arm EABI based targets.
* gas/elf/section2.e-armeabi: New file.
2005-10-19 00:43:59 +00:00
Bob Wilson
e8247da70c
* config/tc-xtensa.c (xtensa_end_directive): Restore
...
default_lit_sections regardless of use_literal_section.
2005-10-18 23:13:48 +00:00
Jie Zhang
1e0486eab8
* Makefile.am (bfin-lex.c): Update ylwrap invocation.
...
* Makefile.in: Regenerated.
2005-10-18 16:10:59 +00:00
Nick Clifton
cd1fcb494f
* doc/as.texinfo (.loc) Fix placement of '@end table'.
2005-10-18 07:47:01 +00:00
Bob Wilson
7c430684d0
* config/xtensa-istack.h (TInsn): Replace dwarf2_line_info with an
...
unsigned line number. Do not include "dwarf2dbg.h".
* config/tc-xtensa.c (md_pseudo_table): Remove entry for "loc".
(xtensa_dwarf2_directive_loc, xtensa_dwarf2_emit_insn): Delete.
(xg_build_to_insn, xg_build_token_insn): Update TInsn uses.
(md_assemble): Use as_where instead of dwarf2_where.
(xg_assemble_vliw_tokens): Use unsigned line numbers instead of
dwarf2_line_infos. Change to call new_logical_line followed by
dwarf2_emit_insn.
2005-10-17 18:17:08 +00:00
Richard Earnshaw
2e803135a9
* gas/arm/copro.d: 'mcrlt' instruction should not be disassembled as
...
'cfsh64lt'.
2005-10-17 15:44:01 +00:00
Nick Clifton
7047dd1ea8
* doc/as.texinfo (Section): Add missing ']' to .section example.
2005-10-14 08:24:48 +00:00