aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2005-03-08gas/Jan Beulich3-2/+13
2004-03-08 Jan Beulich <jbeulich@novell.com> * doc/as.texinfo: Add sentence to indicate redefining a macro is an error, and point to .purgem documentation if someone really needs re-definitions. * NEWS: Mention macro redefinition is now an error.
2005-03-08gas/Jan Beulich6-26/+87
2005-03-08 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (emit_one_bundle): Track last slot user insn was emitted to. Add more precise diagnostics for non-fitting insns based on that. Eliminate now superfluous special casing of MLX. Clear out slot information when dropping an insn. gas/testsuite/ 2005-03-08 Jan Beulich <jbeulich@novell.com> * gas/ia64/no-fit.[ls]: New. * gas/ia64/ia64.exp: Run new test.
2005-03-08gas/Jan Beulich7-68/+186
2005-03-08 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (parse_section_name): Rename to... (cross_section): In addition to separating the name from the rest of the arguments, also carry out the operation. (dot_xdata): Use cross_section. (dot_float_cons): Likewise. (dot_xstringer): Likewise. (dot_xdata_ua): Likewise. (dot_float_cons_ua): Likewise. Pass float_cons, not stmt_float_cons. gas/testsuite/ 2005-03-08 Jan Beulich <jbeulich@novell.com> * gas/ia64/xdata.[sd], gas/ia64/xdata-ilp32.d: New. * gas/ia64/ia64.exp: Run new tests.
2005-03-08gas/testsuite/Jan Beulich3-2/+8
2005-03-08 Jan Beulich <jbeulich@novell.com> * gas/ia64/pcrel.d: Account for big endian target. * gas/ia64/reloc-bad.s: Enforce 64-bit ABI.
2005-03-08 Adjust testsuite for cris-axis-aout.Hans-Peter Nilsson13-19/+30
* gas/cris/rd-bcnst.d, gas/cris/rd-usp-1.d: Adjust regexps for a.out output. * gas/cris/mulbug-err-1.s, gas/cris/rd-arch-1.d, gas/cris/rd-arch-2.d, gas/cris/rd-arch-3.d, gas/cris/rd-break32.d, gas/cris/rd-pcrel2.d, gas/cris/rd-ppv1032.d, gas/cris/rd-ppv32.d, gas/cris/rd-usp-1b.d, gas/cris/v32-err-7.s: Pass --em=criself.
2005-03-05Regenerate .pot filesAlan Modra2-2357/+2744
2005-03-05 bfd/ChangeLogThiemo Seufer5-12/+30
* elfxx-mips.c (mips_elf_calculate_relocation): Handle special '__gnu_local_gp' symbol used by gas -mno-shared. gas/ChangeLog * config/tc-mips.c (macro_build_lui): Use '__gnu_local_gp' instead of '_gp' for -mno-shared optimization. (s_cpload): Ditto. (s_abicalls): Document it in the comment. (md_show_usage): Document the -mno-shared option. gas/testsuite/ChangeLog * gas/mips/elf-rel23b.d: Use '__gnu_local_gp' instead of '_gp' for -mno-shared optimization. * gas/mips/elf-rel25a.d: Ditto. ld/testsuite/ChangeLog * ld-mips-elf/multi-got-no-shared-1.s, ld-mips-elf/multi-got-no-shared-2.s, ld-mips-elf/multi-got-no-shared.d: New tests. * ld-mips-elf/mips-elf.exp: Run them.
2005-03-04Fix unexpected failrues for arm toolchainsNick Clifton5-18/+28
2005-03-04 * config/tc-mips.c (mips_set_options): Add sym32 field.Richard Sandiford13-756/+2282
(mips_opts): Initialize it. (HAVE_32BIT_ADDRESSES): Set to true if pointers are 32 bits wide. (HAVE_64BIT_ADDRESSES): Redefine as !HAVE_32BIT_ADDRESSES. (HAVE_32BIT_SYMBOLS, HAVE_64BIT_SYMBOLS): New macros. (load_address): Use HAVE_64BIT_SYMBOLS instead of HAVE_64BIT_ADDRESSES when deciding whether to use a symbolic %highest/%higher expansion. (macro): Likewise. Remove o64/n32 linux hack. Always use ADDRESS_ADD*_INSN for address addition in the expansion of "dla" and "la". Handle constants separately from symbolic expressions in the "ld_st:" case, using 64-bit arithmetic if HAVE_64BIT_ADDRESSES and using load_register to load the high part of the address. (OPTION_MSYM32, OPTION_NO_MSYM32): New macros. (OPTION_ELF_BASE): Bump by 2. (md_longopts): Add entries for -msym32 and -mno-sym32. (md_parse_option): Handle them. (usage): Document them. (s_mipsset): Handle ".set sym32" and ".set nosym32". (s_cpload, s_cpsetup): Use HAVE_64BIT_SYMBOLS instead of HAVE_64BIT_ADDRESSES to detect 64-bit values of "_gp". * doc/c-mips.texi: Document ".set sym32", ".set nosym32", -msym32 and -mno-sym32.
2005-03-03 * config/tc-mips.c (load_address): Implement GP optimizationThiemo Seufer2-42/+88
for 64bit address space non-PIC. Fix formatting. (macro): Likewise. Simplify code. (md_parse_option): Don't bail out if -G 0 is set for PIC code. (mips_after_parse_args): Simplify code.
2005-03-03(and.s): Expect this test to fail for the tic4x-coff target because it usesNick Clifton2-0/+9
the '&' character as a line separator.
2005-03-03Remove redundant code enclosed by #ifdef RELAX_PAREN_GROUPING....#endif.Nick Clifton2-6/+4
2005-03-03* gas/sh/basic.exp: Add an sh-hms version of the pcrel test.Nick Clifton5-2/+38
* gas/sh/pcrel-hms.d: New file. Adjusted form of pcrel-coff.d for the sh-hms target. * gas/sh/arch/arch.exp: Expect the same failures for sh-hms port as for the sh-coff port.
2005-03-03Also expect the msp430 port to fail the strings test because it definesNick Clifton2-1/+5
ONLY_STANDARD_ESCAPES.
2005-03-03 * gas/mips/mips.exp: Move tls tests to main $elf block.Richard Sandiford2-5/+7
2005-03-03* gas/arm/arch6zk.s: Add three nop instructions in order to pad the .textNick Clifton3-0/+15
section out to a 32-byte boundary as will automatically be done by the arm-aout target. * gas/arm/arch6zk.d: Add expected nop disassemblies.
2005-03-03(tc_gen_reloc): Handle the case where the reloc is the difference of twoNick Clifton2-11/+22
symbols defined in the same section.
2005-03-03(line_comment_chars): Include the # character as otherwise this breaksNick Clifton2-1/+6
#APP/#NO_APP processing.
2005-03-03Remove listing lines that are no longer emitted and fix up expected binaryNick Clifton4-21/+19
encoding.
2005-03-032005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>Ramana Radhakrishnan5-0/+24
* gas/arc/extensions.s: Add tests for extcoreregister * gas/arc/extensions.d: Likewise. * gas/arc/warn.s: Warnings for readonly core registers accessed . * gas/arc/warn.d:Likewise. * testsuite/gas/arc/arc.exp:Run extensions testcase.
2005-03-03update copyright datesAlan Modra72-74/+88
2005-03-03 * gas/mips/noat-1.d: Add -mips1 to assembler options.Richard Sandiford2-1/+5
2005-03-032005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>Ramana Radhakrishnan3-0/+10
* gas/arc/ld.s:Add checks for short immediates with ld * gas/arc/ld.d:Likewise.
2005-03-032005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>Ramana Radhakrishnan2-9/+6
* config/tc-arc.c(md_assemble): Remove dead code for handling immediate indexing with ld and st.
2005-03-03update copyright datesAlan Modra71-81/+91
2005-03-03formatting, tack emacs control vars at endAlan Modra5-231/+259
2005-03-02 * config/tc-mips.c (percent_op): Add %tlsgd, %tlsldm, %dtprel_hi,Daniel Jacobowitz2-0/+32
%dtprel_lo, %tprel_hi, %tprel_lo, and %gottprel. (parse_relocation): Check for a word break after a relocation operator. (md_apply_fix3): Handle TLS relocations, and mark thread-local symbols.
2005-03-02 * gas/mips/tls-o32.d, gas/mips/tls-o32.s, gas/mips/tls-ill.l,Daniel Jacobowitz6-0/+171
gas/mips/tls-ill.s: New files. * gas/mips/mips.exp: Run TLS tests.
2005-03-02 * gas/ppc/astest.d: Adjust for relocs reduced to section sym.Alan Modra9-95/+130
* gas/ppc/astest2.d: Likewise. * gas/ppc/astest2_64.d: Likewise. * ppc/astest64.d: Likewise. * ppc/booke.d: Likewise. * ppc/power4.d: Likewise. * ppc/test1elf32.d: Likewise. * ppc/test1elf64.d: Likewise.
2005-03-02 * config/tc-ppc.c (ppc_fix_adjustable <ELF>): Remove bogus checks.Alan Modra2-8/+7
2005-03-02bfd/Jan Beulich3-2/+7
2005-03-02 Jan Beulich <jbeulich@novell.com> * Makefile.am: Add dependency of cache.o on libiberty.h. * cache.c: Include libiberty.h. (bfd_open_file): Use unlink_if_ordinary instead of unlink. binutils/ 2005-03-02 Jan Beulich <jbeulich@novell.com> * ar.c (remove_output): Use unlink_if_ordinary instead of unlink. * objcopy.c (copy_file): Likewise. (strip_main): Likewise. gas/ 2005-03-02 Jan Beulich <jbeulich@novell.com> * as.c (main): Use unlink_if_ordinary instead of unlink. * messages.c (as_fatal): Likewise. ld/ 2005-03-02 Jan Beulich <jbeulich@novell.com> * ldmain.c (remove_output): Use unlink_if_ordinary instead of unlink. * pe-dll.c (pe_dll_generate_implib): Likewise.
2005-03-02gas/Jan Beulich8-1/+124
2005-03-02 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (build_modrm_byte): Add lock prefix for cr8...15 accesses. (parse_register): Allow cr8...15 in all modes. gas/testsuite/ 2005-03-02 Jan Beulich <jbeulich@novell.com> * gas/i386/cr-err.[ls]: New. * gas/i386/crx.[ds]: New. * gas/i386/i386.exp: Run new tests. opcodes/ 2005-03-02 Jan Beulich <jbeulich@novell.com> * i386-dis.c (print_insn): Suppress lock prefix printing for cr8...15 accesses. (OP_C): Consider lock prefix in non-64-bit modes.
2005-03-02gas/Jan Beulich5-1/+63
2005-03-02 Jan Beulich <jbeulich@novell.com> * config/tc-i386.c (intel_e11): If not followed by T_PTR, treat T_BYTE etc. like normal symbol references (T_ID). gas/testsuite/ 2005-03-02 Jan Beulich <jbeulich@novell.com> * gas/i386/intelok.d: Add -r to objdump options. Adjust expectations. * gas/i386/intelok.s: Add checks for various special memory operands.
2005-03-02 * symbols.c (fb_label_name): Fix silly thinko in last change.Alan Modra2-4/+6
2005-03-01 * expr.c (integer_constant): Remove TARGET_WORD_SIZE hack.Alan Modra3-7/+5
* config/tc-m68k.h (TARGET_WORD_SIZE): Delete.
2005-03-01 * symbols.c (fb_label_name): Allow an augend of 2 for mmix.Alan Modra3-7/+19
also fix last changelog entry.
2005-03-01Fix undefined local label test for COFF based ARM portsNick Clifton4-1/+15
2005-03-01objdump.c: Fix coding for DISASSEMBLER_NEEDS_RELOC:Nick Clifton3-5/+14
(struct objdump_disasm_info): Add 'reloc' field. (disassemble_bytes): Fix check for when an insn has a reloc associated with it. Improve comment explaining why the use of octets is wrong. Set the 'reloc' field in objdump_disasm_info structure. (objdump_print_addr): Use new 'reloc' field to lookup the correct address for the symbol associated with the current instruction's relocation. (disassemble_info): Initialise 'reloc' field. gas/arm/inst.d: Allow for ARM ports which decode the reloc associated with branches and so show the exact symbolic destination address rather than an offset from the start of the section. gas/arm/pic.d: Likewise.
2005-03-012005-03-01 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>Ramana Radhakrishnan4-1/+23
PR gas/708 * config/tc-arc.c(md_assemble):Initialize suffix for extension suffixes also. * testsuite/gas/arc/extensions.s:New file * testsuite/gas/arc/extensions.d:New file
2005-03-01 * config/obj-coff.c (fixup_segment): Delete sy_mri_common assertion.Alan Modra2-1/+2
2005-03-01 * gas/m68k/mcf-emac.d: Allow for 64-bit addresses.Alan Modra5-4/+11
* gas/m68k/mcf-mac.d: Likewise. * gas/m68k/mcf-mov3q.d: Likewise. * gas/m68k/mode5.d: Likewise.
2005-03-01 * as.h (assert): Warning fix.Alan Modra7-13/+21
* expr.c (expr): Correct assertion. * read.c (s_comm_internal): Remove assertion. * write.c (relax_segment): Enable vma assertion only for BFD_ASSEMBLER. (fixup_segment): Remove assertion. * config/tc-dlx.c (machine_ip): Remove untrue assertions. (md_apply_fix3): Likewise. * config/tc-i370.c (md_begin): Correct assertion. (i370_macro): Warning fix for assertion.
2005-03-01 * config/tc-m68k.c (md_assemble): Don't use sizeof host short.Alan Modra2-1/+2
2005-03-01 * configure.in (AC_C_BIGENDIAN): Invoke.Alan Modra10-123/+389
* configure: Regenerate. * write.c (write_object_file <!BFD_ASSEMBLER>): Don't use sizeof host variable to set string header size. * config/obj-aout.c (obj_header_append): Don't use host structs. (obj_symbol_to_chars): Likewise. (obj_emit_strings): Likewise. Use the passed in output pointer. * config/obj-aout.h (H_GET_FILE_SIZE): Include H_GET_LINENO_SIZE. * config/obj-bout.c (obj_emit_relocations): Use md_reloc_size, not sizeof host struct. (obj_header_append, obj_symbol_to_chars): Don't use host structs. (obj_emit_strings): Likewise. * config/obj-bout.h (EXEC_BYTES_SIZE): Define. (N_TXTOFF, H_GET_FILE_SIZE, H_GET_HEADER_SIZE): Use instead of sizeof host struct. (H_SET_SYMBOL_TABLE_SIZE): Hard code sym size rather than using sizeof host struct. (host_number_to_chars): Define. * config/obj-hp300.c (hp300_header_append): Don't use sizeof host internal struct to set header sizes. * config/tc-i960.c (md_number_to_field): Warning fix. (md_ri_to_chars): Use host byte order. (get_cdisp, md_apply_fix3): Warning fix.
2005-02-282005-02-28 Paul Brook <paul@codesourcery.com>Paul Brook1-2/+2
* doc/c-arc.texi: Add missing @code.
2005-02-28Update documentation about ARC's extension instructions.Nick Clifton2-11/+142
2005-02-27Changed my own mail addressSvein Seldal2-1/+6
2005-02-23 * cgen.c: Warning fixes.Alan Modra33-138/+186
* config/tc-arc.c: Likewise. * config/tc-arm.c: Likewise. * config/tc-avr.c: Likewise. * config/tc-d10v.c: Likewise. * config/tc-d30v.c: Likewise. * config/tc-frv.c: Likewise. * config/tc-frv.h: Likewise. * config/tc-h8300.c: Likewise. * config/tc-h8500.c: Likewise. * config/tc-i370.c: Likewise. * config/tc-i960.c: Likewise. * config/tc-ia64.c: Likewise. * config/tc-ip2k.c: Likewise. * config/tc-m68hc11.c: Likewise. * config/tc-maxq.c: Likewise. * config/tc-mcore.c: Likewise. * config/tc-mips.c: Likewise. * config/tc-msp430.c: Likewise. * config/tc-pj.c: Likewise. * config/tc-ppc.c: Likewise. * config/tc-ppc.h: Likewise. * config/tc-s390.c: Likewise. * config/tc-sh.c: Likewise. * config/tc-sh64.c: Likewise. * config/tc-tic4x.c: Likewise. * config/tc-tic80.c: Likewise. * config/tc-v850.c: Likewise. * config/tc-vax.c: Likewise. * config/tc-w65.c: Likewise. * config/tc-xstormy16.c: Likewise. * config/tc-z8k.c: Likewise.
2005-02-23 * read.c (read_a_source_file): Reinstate TC_EQUAL_IN_INSN test.Catherine Moore3-3/+20
* doc/internals.texi (TC_EQUAL_IN_INSN): Reinstate.
2005-02-222005-02-22 Eric Christopher <echristo@redhat.com>Eric Christopher2-3/+26
* ld-mips-elf/reloc-merge-lo16.d: Correct symbol table size for __start. 2005-02-22 Eric Christopher <echristo@redhat.com> * config/tc-mips.c (struct proc): Change isym to func_sym. New member func_end_sym. (s_mips_ent): Update. (s_mips_end): Ditto. Add code to compute function size.