aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2001-10-07 * config/obj-elf.c: Standardize error/warning messages - don'tAlan Modra2-61/+85
capitalise, no final period or newline, don't say "ignoring" for as_bad messages. In some cases, change the wording to that used elsewhere for similar messages. (obj_elf_section_name): New function, split out from .. (obj_elf_section): .. here. Correctly mask off SHF_MERGE if entsize not specified.
2001-10-05 * doc/as.texinfo: Document M and S ELF section flags.Jakub Jelinek2-1/+16
* emultempl/elf32.em (gld_*_list_options): Include -z combreloc and -z nocombreloc in usage.
2001-10-05 * subsegs.c (subseg_text_p): Return 0 for absolute section.Alan Modra3-1/+20
* read.c (do_align): If in absolute section, warn about and ignore non-zero fill pattern.
2001-10-05* config/tc-mn10300.c (tc_gen_reloc): Don't freeAlexandre Oliva2-1/+9
reloc->sym_ptr_ptr if it's not allocated.
2001-10-04 * config/tc-mips.c (prev_insn_reloc_type): Make it an array to hold aThiemo Seufer2-111/+328
relocation triple. (prev_insn_fixp): Likewise. (append_insn): Changed prototype to accept a relocation pointer. (imm_reloc): Make it an array. (offset_reloc): Likewise. (md_assemble): Handle triple relocations. (append_insn): Likewise. Add handling for some NewABI relocations. (mips_no_prev_insn): Handle triple relocations. (macro_build): Likewise. Add handling for some NewABI relocations. Move handling for the 'u' case to append_insn(). (mips16_macro_build): Handle triple relocations. (macro_build_lui): Likewise. Don't handle _gp_disp as special symbol for NewABI. (mips_ip): Handle triple relocations. (mips16_ip): Likewise. (mips_force_relocation): Force handling of triple relocations without symbols for NewABI. (md_apply_fix): Add handling for some NewABI relocations.
2001-10-04 * config/tc-i386.c (parse_register): If not producing code forAlan Modra2-13/+13
x86_64, reject x86_64 register name matches. (md_assemble): Remove now redundant check for x86_64 regs.
2001-10-04 * config/tc-ppc.c (md_assemble <DS relocs>): Test ppc_size as wellAlan Modra2-8/+20
as BFD_DEFAULT_TARGET_SIZE. (ppc_tc): Likewise. (ppc_is_toc_sym): Likewise. (md_apply_fix3): Likewise.
2001-10-04 Testcase updates for the previous patch.Thiemo Seufer14-311/+326
2001-10-03 * config/tc-mips.c (mips_64): Remove.Thiemo Seufer2-115/+159
(mips_target_format): Move downwards in file, use HAVE_64BIT_OBJECTS in it. (mips_abi_level, mips_abi): New enum. (mips_32bit_abi): Remove. (HAVE*PRS): Use mips_abi instead of mips_32bit_abi. (HAVE_NEWABI): New define. (HAVE_64BIT_OBJECTS): New define. (HAVE_32BIT_ADDRESSES): Don't return true for 64bit objects. (HAVE_64BIT_ADDRESSES): New define, inverse of HAVE_32BIT_ADDRESSES. (support_64bit_objects): New prototype. (md_begin): Use mips_abi instead of mips_32bit_abi. Don't write .reginfo section for n32, use .MIPS.options instead. (support_64bit_objects): New function, code from md_parse_option. (md_longopts): Add -n32 option. (md_parse_option): Use mips_abi instead of mips_32bit_abi/mips64. Add -n32 option. Protect with OBJ_ELF. (s_mipsset): Use mips_abi instead of mips_32bit_abi. (mips_elf_final_processing): Likewise. Don't write .reginfo section for n32, use .MIPS.options instead.
2001-10-03Missed mention of regenerating po/POTFILES.inAlan Modra1-0/+1
2001-10-03Regenerate configure to include the gettext.m4 change. UpdateAlan Modra3-3/+7
opcodes/po/POTFILES.in
2001-10-02 * config/tc-ppc.c (md_apply_fix3 <BFD_RELOC_CTOR>): Make it 64Alan Modra2-1/+8
bits if target is 64 bit.
2001-10-02 * doc/as.texinfo (listing): Fix typo.Alan Modra2-1/+3
2001-10-02 * as.c (print_version_id): Use BFD_VERSION_STRING in place ofAlan Modra4-1839/+2104
BFD_VERSION. * Makefile.am (Makefile): Depend on bfd/configure.in Run "make dep-am" * Makefile.in: Regenerate.
2001-10-012001-09-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+17
* config/obj-elf.c (obj_elf_parse_section_letters): Accept "am" and "ams" for compatibility.
2001-10-01 * config/tc-sh.h (MD_PCREL_FROM_SECTION): Define.Hans-Peter Nilsson2-3/+6
(md_pcrel_from_section): Prototype.
2001-10-01 * config/tc-sh.c (md_pcrel_from_section): Transformed fromHans-Peter Nilsson2-1/+21
md_pcrel_from. Handle pc-relativeness against link-time symbol. Handle relativeness to elsewhere than the fixup.
2001-09-30 * Makefile.am: Update dependencies with "make dep-am".Hans-Peter Nilsson3-490/+595
* Makefile.in: Regenerate.
2001-09-30 * config/tc-m68hc11.c (cmp_opcode): Define prototype.Stephane Carrez2-2/+26
(print_opcode_format, skip_whites): Likewise. (convert_branch, m68hc11_new_insn): Likewise. (build_dbranch_insn, build_indexed_byte): Likewise. (build_reg_mode, find, find_opcode): Likewise. (print_insn_format): Fix call to print_opcode_format. (md_assemble): Fix call to build_dbranch_insn.
2001-09-302001-09-29 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+6
* gas/i386/i386.exp: Run 64bit tests only for "i*86-*-* and x86_64-*-*.
2001-09-27Add missing function protoypes.Nick Clifton2-1/+8
2001-09-262001-09-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-11/+28
* input-file.c (input_file_open): When reading the first line looking for #NO_APP, prepare for the possibility of finding #APP instead. Also fix algorithm to allow white-space to follow either #NO_APP or #APP directives.
2001-09-25 * listing.c (buffer_line): Don't write past the end of `line' whenAlan Modra2-3/+11
EOF is reached.
2001-09-25* config/tc-mn10300.c (tc_gen_reloc): Don't emit an *ABS*Alexandre Oliva2-4/+40
relocation for differences between symbols in a section other than the one in which the difference is to be placed; apply the relocation instead.
2001-09-24fix compile time warning messagesNick Clifton3-5/+13
2001-09-22Fix compile time warningsNick Clifton3-1/+8
2001-09-21 * config/tc-openrisc.c: Don't include <ctype.h>.Alan Modra2-1/+4
2001-09-20Add option -mwarn-areg-zero.Nick Clifton2-46/+61
2001-09-19 * config/tc-i370.c: Fix typo in last change.Alan Modra2-1/+5
2001-09-19Improve documentation on local labels and add documenation about dollar labels.Nick Clifton2-34/+75
2001-09-19Locale changes from Bruno Haible <haible@clisp.cons.org>.H.J. Lu56-548/+741
2001-09-18s390 assembler improvements and testsuiteNick Clifton16-8/+1461
2001-09-18 * dwarf2dbg.c (dwarf2_directive_file): Avoid signed/unsigned warning.Alan Modra7-20/+41
* write.c (set_symtab): Update bfd_alloc declaration. Use a temp var to ensure bfd_alloc arg is the right type. (write_object_file): Cast args of bfd_seek. Replace bfd_write with bfd_bwrite. * config/obj-coff.c: Replace calls to bfd_write with calls to bfd_bwrite. Cast args of bfd_seek. * config/obj-elf.c (obj_elf_change_section): Avoid signed/unsigned warning. * config/tc-mn10300.c (set_arch_mach): Make param unsigned. * config/tc-tic54x.c (tic54x_mlib): Replace bfd_read call with call to bfd_bread.
2001-09-15 * config/tc-sh.h (sh_force_relocation): Prototype.Hans-Peter Nilsson3-34/+44
(struct fix): Forward declare. * config/tc-sh.c (type sh_operand_info): Move to top of file. (cons, s_align_bytes): Remove old-type declarations. (sh_elf_suffix, parse_reg, dot, parse_exp, parse_at, get_operand, get_operands, get_specific, insert, build_relax, insert_loop_bounds, build_Mytes): Prototype. (little): Make static. Prototype. (check, tc_Nout_fix_to_chars): Delete unused functions.
2001-09-142001-09-14 Eric Christopher <echristo@redhat.com>Eric Christopher2-2/+5
* config/tc-mips.c (md_parse_option): Remove setting mips_64 via -mgp32/mgp64.
2001-09-14Add support for arm-openbsd targetNick Clifton3-4/+9
2001-09-14 /bfd/ChangeLogThiemo Seufer2-2/+7
* config.bfd: Change machine triplets from mips*el*-* to mips*el-*. Add support for mips64. /ChangeLog * config.sub: Change machine triplets from mipsel*-* to mips*el-*. Add support for mips64. /gas/ChangeLog * configure.in: Change machine triplets from mips-*-linux-gnu* to mips*-*-linux*.
2001-09-12 * config/tc-mips.c (append_insn): Don't rightshift BFD_RELOC_16_PCREL.Thiemo Seufer2-1/+5
2001-09-11 * config/tc-alpha.c (alpha_elf_section_letter): New.Richard Henderson5-0/+58
(alpha_elf_section_flags): New. * config/tc-alpha.h (md_elf_section_letter): New. (md_elf_section_flags): New. * config/tc-ia64.c (ia64_elf_section_letter): New. * config/tc-ia64.h (md_elf_section_letter): New.
2001-09-11 * config/obj-elf.c (obj_elf_parse_section_letters): Use 'M' insteadJakub Jelinek4-5/+12
of 'm', 'S' instead of 's'. Update bad_msg. * config/tc-ppc.c (ppc_section_letter): Update bad_msg. * config/tc-i370.c (i370_sectioN_letter): Update bad_msg.
2001-09-09Oops, one "likewise" had an intervening entry.Alan Modra1-7/+7
2001-09-09 * expr.c (expr): Move code setting "retval" to the end of the loop,Alan Modra7-76/+174
and rearrange for efficiency. For "PIC code" subtraction, use "rightseg" rather than recalculating. For "symbol OP symbol" subtract, set "retval" to absolute_section if symbols in same section. * symbols.c (resolve_symbol_value): Resolve "sym +/- expr" to an O_symbol. Simplify a +/- b code. Allow equality and non-equality comparisons on symbols from any section. Allow other comparison operators as for subtraction. (symbol_equated_reloc_p): New predicate function. * symbols.h (symbol_equated_reloc_p): Declare. * write.c (adjust_reloc_syms): Use symbol_equated_reloc_p. (write_relocs): Likewise. (write_object_file): Likewise. (relax_segment <rs_machine_dependent>): Ensure segment for expression syms is set correctly. * config/tc-mips.c (md_estimate_size_before_relax): Likewise. * config/tc-i386.c (md_assemble <Output jumps>): Don't lose part of a complex expression when setting up frag_var.
2001-09-08mischeckin. fixed.Eric Christopher3-4/+4
2001-09-082001-09-07 Eric Christopher <echristo@redhat.com>Eric Christopher3-4/+9
* gas/mips/mips64.d: Change to use mipsisa64. * gas/mips/mips32.d: Change to use mipsisa32.
2001-09-08 * config/tc-alpha.c (alpha_reloc_op_tag): Replace need_seq withRichard Henderson2-27/+37
require_seq and allow_seq. Let !literal omit the sequence number. (tokenize_arguments): Reject sequence numbers of !allow_seq.
2001-09-07 * config/tc-sparc.c (md_apply_fix3): Handle relocs against SEC_MERGEJakub Jelinek2-0/+6
section symbols the same way as externs.
2001-09-07 Fix wrong ChangeLog entriesThiemo Seufer1-10/+11
2001-09-07 Reallow unrestricted use of .set mipsX pseudo-op in gas.Thiemo Seufer13-10/+63
Update testcases accordingly.
2001-09-07 * elf32-mips.c (mips_elf_calculate_relocation): Fix overflow handlingThiemo Seufer13-13/+159
of R_MIPS_PC16. * config/tc-mips.c (append_insn): Handle BFD_RELOC_16_PCREL. (macro_build): Use BFD_RELOC_16_PCREL_S2 only for embedded PIC, BFD_RELOC_16_PCREL for the rest. (mips_ip): Likewise. (md_pcrel_from): return the right offset for the differently shifted pcrel relocs. (md_apply_fix): Handle BFD_RELOC_16_PCREL. * gas/mips/beq.d: Check branches to external labels. * gas/mips/beq.s: Likewise. * gas/mips/bge.d: Likewise. * gas/mips/bge.s: Likewise. * gas/mips/bgeu.d: Likewise. * gas/mips/bgeu.s: Likewise. * gas/mips/blt.d: Likewise. * gas/mips/blt.s: Likewise. * gas/mips/bltu.d: Likewise. * gas/mips/bltu.s: Likewise. * gas/mips/elempic.d: Switch from R_MIPS_GNU_REL16_S2 to R_MIPS_PC16. * gas/mips/empic.d: Likewise. * gas/mips/empic.s: Likewise. * gas/mips/telempic.d: Likewise. * gas/mips/tempic.d: Likewise.
2001-09-06 * gas/mips/tmips16-f.d: New file, testcase for big endian MIPS16Thiemo Seufer2-0/+39
relocations, tradtional variant.