Maciej W. Rozycki
f0cd06677b
* doc/c-arm.texi (ARM Options): Document -mfpu=fp4-sp-d16.
2010-08-20 20:53:28 +00:00
H.J. Lu
43f3e2ee94
Fix a typo in comments.
...
2010-08-19 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (VEX_check_operands): Fix a typo in comments.
2010-08-19 21:04:36 +00:00
H.J. Lu
9f2670f27b
Check i.imm_operands VEXXDS.
...
2010-08-18 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (build_modrm_byte): Check i.imm_operands
instead of VEXXDS.
2010-08-18 19:36:41 +00:00
Alan Modra
d1f52f54d5
* macro.c (sub_actual): Add back ampersand suffix when no
...
substitution.
(macro_expand_body): Correct comment.
2010-08-18 05:56:41 +00:00
H.J. Lu
f9818820ab
Add missing files.
2010-08-18 00:43:46 +00:00
Roland McGrath
01642c122a
Add "?" pseudo-flag to ELF .section/.pushsection directives.
2010-08-17 20:03:41 +00:00
Cary Coutant
955974c6c5
* as.c (show_usage): Don't list --compress-debug-sections if zlib not
...
installed.
(main): Warn if --compress-debug-sections requested and zlib not
installed.
* doc/as.texinfo: Add --compress-debug-sections,
--nocompress-debug-sections.
2010-08-09 18:08:18 +00:00
H.J. Lu
49021df25c
Re-indent config/tc-i386.c.
...
2010-08-06 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (set_cpu_arch): Re-indent.
(md_parse_option): Likewise.
2010-08-06 19:47:00 +00:00
H.J. Lu
2210942396
Don't generate multi-byte NOPs for i686.
...
gas/
2010-08-06 Quentin Neill <quentin.neill@amd.com>
* config/tc-i386.c (arch_entry): Add negated bit to
disambiguate flag names starting with "no".
(cpu_arch): Add negated bit definitions. Add
".nop" CPU extension.
(i386_align_code): Use new .cpunop bit to decide
when to generate alignment using nops.
(set_cpu_arch): Use negated bit instead to decide
when to use cpu_flags or vs. cpu_flags_and_not.
(md_parse_option): Likewise.
gas/testsuite/
2010-08-06 Quentin Neill <quentin.neill@amd.com>
* gas/i386/arch-10-1.l: Add nopl instruction.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/arch-10.s: Likewise.
* gas/i386/arch-10.d: Add nopl instruction, and +nopl extension
flag to as flags.
* gas/i386/nops-5-i686.d: Change alignment code generated for
-mtune=i686.
* gas/i386/nops-5.d: Change alignment code generated for
.arch i686.
* gas/i386/x86-64-nops-5-k8.d: Likewise.
* gas/i386/x86-64-nops-5.d: Likewise.
opcodes/
2010-08-06 Quentin Neill <quentin.neill@amd.com>
* i386-gen.c (cpu_flag_init): Define CpuNop extension flag, add
to processor flags for PENTIUMPRO processors and later.
* i386-opc.h (enum): Add CpuNop.
(i386_cpu_flags): Add cpunop bit.
* i386-opc.tbl: Change nop cpu_flags.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
2010-08-06 18:22:50 +00:00
H.J. Lu
b414985b9e
Add ud1 to x86.
...
gas/testsuite/
2010-08-05 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Run arch-4.
* gas/i386/arch-4.d: New.
* gas/i386/arch-4.s: Likewise.
* gas/i386/intel.d: Replace ud2a/ud2b with ud2/ud1.
* gas/i386/opcode-intel.d: Likewise.
* gas/i386/opcode-suffix.d: Likewise.
* gas/i386/opcode.d: Likewise.
opcodes/
2010-08-05 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (dis386_twobyte): Replace ud2a/ud2b with ud2/ud1.
* i386-opc.tbl: Add ud1. Remove Cpu686 from ud2/ud2a/ud2b.
* i386-tbl.h: Regenerated.
2010-08-06 00:52:57 +00:00
H.J. Lu
01559eccf0
Move the first i.error out of the loop.
...
2010-08-04 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (match_template): Move the first i.error
out of the loop.
2010-08-04 20:52:20 +00:00
Alan Modra
b96282be2d
* configure.tgt (m32c): Set endian=little.
...
* config/tc-m32c.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
* config/tc-m32c.c (md_number_to_chars): Revert last change.
2010-08-04 04:21:06 +00:00
Tristan Gingold
1222b29101
bfd/
...
2010-08-03 Tristan Gingold <gingold@adacore.com>
* makefile.vms (OBJS): Update list.
gas/
Index: gas/ChangeLog
2010-08-03 Tristan Gingold <gingold@adacore.com>
* makefile.vms (OBJS): Add Add compress-debug.c.
2010-08-03 14:29:00 +00:00
Alan Modra
e4d9f07834
* config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1.
...
* config/tc-m32c.c (md_number_to_chars): Call bigendian
form of number_to_chars, not littleendian.
2010-08-03 10:53:10 +00:00
Alan Modra
7b0a0875b2
* gas/all/octa.s, * gas/all/octa.d: New test.
...
* gas/all/gas.exp: Run octa.
* gas/elf/data-1.s, * gas/elf/data-1.d: Delete.
* gas/elf/elf.exp: Don't run data-1.
2010-08-03 10:30:52 +00:00
H.J. Lu
ed9465a713
Run data-1 only for i*86, x86_64 and ia64.
...
2010-08-02 H.J. Lu <hongjiu.lu@intel.com>
* elf/elf.exp: Run data-1 only for i*86, x86_64 and ia64.
2010-08-02 22:05:23 +00:00
H.J. Lu
317bc8c820
Add a testcase for PR gas/11867.
...
2010-08-02 H.J. Lu <hongjiu.lu@intel.com>
PR gas/11867
* gas/elf/data-1.d: New.
* gas/elf/data-1.s: Likewise.
* elf/elf.exp: Run data-1.
2010-08-02 20:10:45 +00:00
Alan Modra
69da848e6e
* config/tc-d30v.c (d30v_cons_align): Don't align constants
...
in debug sections.
2010-08-02 13:53:29 +00:00
Alan Modra
93d90f466b
PR gas/11867
...
* expr.c (operand <'-' and '~'>): Widen bignums.
(operand <'!'>): Correct bignum result and convert to O_constant.
* read.c (emit_expr): Don't assert on .byte bignum. Don't display
bignum truncated warning for sign extended bignums.
2010-08-02 13:19:44 +00:00
Tristan Gingold
b27423bb54
2010-08-02 Tristan Gingold <gingold@adacore.com>
...
* lib/gas-defs.exp (get_standard_section_names): New function.
(run_dump_tests): Document the new behavior for objdump,
document to new section-subst option. Automatically perform
substitutions for objdump.
(objdump_finish): Add REF_SUBST argument.
(run_list_test): Adjust call of regexp_diff.
(run_list_test_stdin): Ditto.
* gas/all/gas.exp (test_cond): Adjust call of regexp_diff.
* gas/symver/symver.exp (run_error_test): Ditto.
* gas/mt/relocs.exp (regexp_test): Ditto.
* gas/mep/complex-relocs.exp (regexp_test): Ditto.
* gas/m68k/all.exp: Ditto.
* gas/elf/elf.exp (run_elf_list_test): Ditto.
* gas/rx/rx-asm-good.d: Set section-subst to no.
2010-08-02 08:48:57 +00:00
Alan Modra
cd94c7fbb3
* config/tc-v850.c (md_assemble): Always pass format string to
...
as_warn.
(md_apply_fix): Similarly for as_warn_where.
2010-08-02 08:43:18 +00:00
Alan Modra
089b899275
* gas/i386/i386.exp (dw2-compress-1): Only run on ELF targets.
...
(dw2-compress-2, x86-64-dw2-compress-2): Remove unnecessary linux
target test.
2010-08-02 08:38:45 +00:00
Alan Modra
09fe853bd0
Update for ppc_fix_adjustable change.
2010-08-02 08:22:53 +00:00
H.J. Lu
f09c177238
Reformat config/tc-i386-intel.c.
...
2010-07-29 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386-intel.c: Reformat.
2010-07-29 19:23:38 +00:00
Alan Modra
cc9edbf353
* config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
...
in large toc code.
2010-07-29 07:48:43 +00:00
H.J. Lu
75bc1f8113
Correct date.
2010-07-28 16:17:06 +00:00
H.J. Lu
525285d881
Xfail dw2-compress-2 and x86-64-dw2-compress-2.
...
2010-07-27 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Xfail dw2-compress-2 and
x86-64-dw2-compress-2.
2010-07-28 15:59:05 +00:00
Alan Modra
25313d6a3f
PR gas/11841
...
* symbols.c (symbol_clone): Correct typo in previous patch.
2010-07-28 09:36:22 +00:00
Alan Modra
9d75b2885f
PR gas/11841
...
* symbols.c (symbol_clone): Clear BSF_SECTION_SYM flag.
2010-07-28 08:43:46 +00:00
Alan Modra
5a93804749
* config/tc-ppc.c (md_assemble): Don't attempt to print NUL in
...
syntax error message.
2010-07-28 05:21:38 +00:00
Maciej W. Rozycki
2b2c11bd2d
Fix up last ChangeLog entry in gas/ and bfd/.
2010-07-27 21:14:49 +00:00
Maciej W. Rozycki
667bf02aed
* elf64-mips.c (mips_elf64_howto_table_rela)
...
[R_MIPS_TLS_DTPMOD64]: Clear partial_inplace.
[R_MIPS_TLS_DTPREL64, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise.
[R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise.
[R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL64]: Likewise.
[R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise.
* elfn32-mips.c (elf_mips_howto_table_rela)
[R_MIPS_TLS_DTPMOD32]: Likewise.
[R_MIPS_TLS_DTPREL32, R_MIPS_TLS_GD, R_MIPS_TLS_LDM]: Likewise.
[R_MIPS_TLS_DTPREL_HI16, R_MIPS_TLS_DTPREL_LO16]: Likewise.
[R_MIPS_TLS_GOTTPREL, R_MIPS_TLS_TPREL32]: Likewise.
[R_MIPS_TLS_TPREL_HI16, R_MIPS_TLS_TPREL_LO16]: Likewise.
2010-07-27 21:08:33 +00:00
Maciej W. Rozycki
03ea81db63
* config/tc-mips.c (mips16_macro_build): Pass "args" by
...
reference rather than value.
(macro_build): Update accordingly.
2010-07-27 21:04:59 +00:00
Maciej W. Rozycki
8680f6e184
* config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create
...
a fake label.
2010-07-27 21:02:34 +00:00
Maciej W. Rozycki
d3fca0b5d4
gas/
...
* config/tc-mips.c (macro)[M_JAL_1, M_JAL_2]: Handle the JALR
delay slot in the noreorder mode with the o32 ABI.
gas/testsuite/
* gas/mips/jal-svr4pic-noreorder.d: New test case.
* gas/mips/mips1@jal-svr4pic-noreorder.d: New test
subarchitecture.
* gas/mips/r3000@jal-svr4pic-noreorder.d: Likewise.
* gas/mips/jal-svr4pic-noreorder.s: Source for the new test
case.
* gas/mips/mips.exp: Run the new test case.
2010-07-24 01:51:53 +00:00
Maciej W. Rozycki
4d2ad3b06d
* gas/mips/jal-svr4pic.d: Rename to...
...
* gas/mips/mips1@jal-svr4pic.d: ... this.
* gas/mips/r3000@jal-svr4pic.d: New test subarchitecture.
* gas/mips/jal-svr4pic.d: New default subarchitecture patterns.
* gas/mips/mips.exp: Run jal-svr4pic with run_dump_test_arches
rather than run_dump_test.
2010-07-24 01:43:32 +00:00
Maciej W. Rozycki
6f02363dde
* gas/mips/jal-svr4pic.d: Reformat. Use --show-raw-insn with
...
`objdump'.
* gas/mips/jal-svr4pic.s: Reformat. Fix up trailing zeroes.
2010-07-24 01:39:21 +00:00
Maciej W. Rozycki
89210bdc8f
* lib/gas-defs.exp (run_dump_test): Handle the "dump" option.
2010-07-24 01:36:16 +00:00
Nick Clifton
1cd986c585
Add support for v850E2 and v850E2V3
2010-07-23 14:52:54 +00:00
Alan Modra
c0ba1095fd
PR gas/11834
...
* macro.c (macro_expand): Recover gracefully from named args that
don't match params.
2010-07-23 06:44:25 +00:00
Thomas Schwinge
1575952e13
2010-07-22 Thomas Schwinge <thomas@codesourcery.com>
...
Switch MIPS to 32-bit DWARF format.
* config/tc-mips.h (DWARF2_FORMAT): Only define for [TE_IRIX].
* config/tc-mips.c (mips_dwarf2_format): Likewise.
2010-07-22 07:39:20 +00:00
Alan Modra
dad7c68012
* gas/arm/mapdir.s: Don't specify attr/type for .fini_array.
...
* gas/elf/dwarf2-3.s: Don't specify attr for .init_array.
* gas/elf/dwarf2-3.d: Don't run on h8300.
2010-07-22 04:48:18 +00:00
H.J. Lu
0af8aa50ec
Add missing ChangeLog entry.
2010-07-20 21:31:13 +00:00
Alan Modra
33740db9cd
* config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.
2010-07-20 05:07:23 +00:00
Andreas Schwab
3437afb199
binutils/testsuite/:
...
* binutils-all/readelf.s: Ignore "Key to Flags" contents.
* binutils-all/readelf.s-64: Likewise.
* binutils-all/i386/compressed-1b.d: Likewise.
* binutils-all/i386/compressed-1c.d: Likewise.
* binutils-all/x86-64/compressed-1b.d: Likewise.
* binutils-all/x86-64/compressed-1c.d: Likewise.
gas/testsuite/:
* gas/i386/x86-64-unwind.d: Ignore "Key to Flags" contents.
* gas/ia64/alias-ilp32.d: Likewise.
* gas/ia64/alias.d: Likewise.
* gas/ia64/group-1.d: Likewise.
* gas/ia64/group-2.d: Likewise.
* gas/ia64/secname-ilp32.d: Likewise.
* gas/ia64/secname.d: Likewise.
* gas/ia64/unwind-ilp32.d: Likewise.
* gas/ia64/unwind.d: Likewise.
* gas/mmix/byte-1.d: Likewise.
* gas/mmix/loc-1.d: Likewise.
* gas/mmix/loc-2.d: Likewise.
* gas/mmix/loc-3.d: Likewise.
* gas/mmix/loc-4.d: Likewise.
* gas/mmix/loc-5.d: Likewise.
ld/testsuite/:
* ld-mmix/bspec1.d: Ignore "Key to Flags" contents.
* ld-mmix/bspec2.d: Likewise.
* ld-mmix/local1.d: Likewise.
* ld-mmix/local3.d: Likewise.
* ld-mmix/local5.d: Likewise.
* ld-mmix/local7.d: Likewise.
* ld-mmix/undef-3.d: Likewise.
* ld-sh/sh64/crange1.rd: Likewise.
* ld-sh/sh64/crange2.rd: Likewise.
* ld-sh/sh64/crange3-cmpct.rd: Likewise.
* ld-sh/sh64/crange3-media.rd: Likewise.
* ld-sh/sh64/crange3.rd: Likewise.
* ld-sh/sh64/crangerel1.rd: Likewise.
* ld-sh/sh64/crangerel2.rd: Likewise.
2010-07-19 15:11:03 +00:00
H.J. Lu
502abbdf22
Run dw2-compress-2 only for 32bit.
...
2010-07-16 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Run dw2-compress-2 only for 32bit.
2010-07-16 19:12:47 +00:00
Alan Modra
4e92bb1cd7
* config/tc-rx.c (md_estimate_size_before_relax): Fix format
...
specifier warnings for 32-bit host when --enable-64-bit-bfd.
(rx_relax_frag, md_convert_frag): Likewise.
2010-07-16 06:32:46 +00:00
Cary Coutant
700c406090
* gas/NEWS: Add note about --compress-debug-sections.
...
* gas/as.c (show_usage): Add --compress-debug-sections and
--nocompress-debug-sections.
2010-07-15 17:45:17 +00:00
Nathan Sidwell
6e8bd58f83
* config/obj-elf.c (get_sym_from_input_line_and_check): New
...
function to catch missing pseudo-op arguments.
(obj_elf_local): Call new function.
(obj_elf_weak): Likewise.
(obj_elf_visibility): Likewise.
(obj_elf_vtable_entry): Likewise.
(obj_elf_type): Likewise.
testsuite/
* gas/elf/pseudo.s: New.
* gas/elf/pseudo.l: New.
* gas/elf/pseudo.d: New.
* gas/elf/elf.exp: Run the new test.
2010-07-15 14:34:42 +00:00
Kai Tietz
1e17085dea
2010-07-15 Kai Tietz <kai.tietz@onevision.com>
...
* config/obj-coff-seh.c
(seh_getelm_data_size): New.
(seh_read_offset): Handle negative values.
(obj_coff_seh_push): Handle offset for save-register store.
(obj_coff_seh_setframe): Add unwind-information for frame.
(seh_store_elm_data): New.
(seh_getelm_data_size): Return additionally unaligned element count.
(seh_make_unwind_entry): Correct tweak about element count.
2010-07-15 13:42:20 +00:00