aboutsummaryrefslogtreecommitdiff
path: root/gas/config
AgeCommit message (Collapse)AuthorFilesLines
2000-09-02* config/tc-sh.h [OBJ_ELF] (TC_FIX_ADJUSTABLE): Define.Alexandre Oliva2-0/+339
* config/tc-sh.c (md_apply_fix): Map 32-bit relocations that become PC-relative to BFD_RELOC_32_PCREL. Reject 16- or 8-bit similar relocs. (sh_obj_adjustable): Return 1 for PC-relative offsets used in branches. * config/tc-sh.h (DIFF_EXPR_OK, GLOBAL_OFFSET_TABLE_NAME, TC_RELOC_GLOBAL_OFFSET_TABLE, TC_RELOC_RTSYM_LOC_FIXUP): Define. * config/tc-sh.c (sh_elf_cons, sh_elf_suffix): New functions. [OBJ_ELF] (md_pseudo_table) <long, int, word, short>: Use them. (GOT_symbol): New variable. (md_undefined_symbol): Set it.
2000-09-02 * config/tc-ia64.c (match): Don't inline.Richard Henderson1-9/+32
(extra_goodness): New. (md_begin): Prefer nop.f and nop.b for best_template.
2000-08-312000-08-31 Eric Christopher <echristo@cygnus.com>Eric Christopher1-11/+9
* config/tc-mn10300.c: Cleanup and fix warnings. (md_pseudo_table): Add initializers. (md_show_usage): Cleanup. (md_parse_option): Fix warnings. (md_undefined_symbol): Fix warnings. (md_conver_frag): Fix warnings. (tc_gen_reloc): Fix warnings. (md_apply_fix3): Fix warnings. (check_operand): Fix warnings.
2000-08-31In src/gas/ChangeLog:Geoffrey Keating1-1/+2
2000-08-30 Mark Hatle <mhatle@mvista.com> * config/tc-ppc.c (md_parse_option): Recognize -m405. In src/opcodes/ChangeLog: 2000-08-30 Mark Hatle <mhatle@mvista.com> * ppc-opc.c Add XTLB macro for a few PPC 4xx extended mnemonics. (powerpc_opcodes): Add table entries for PPC 405 instructions. Changed rfci, icbt, mfdcr, dccci, mtdcr, iccci from PPC to PPC403 instructions. Added extended mnemonic mftbl as defined in the 405GP manual for all PPCs.
2000-08-25Correctly calculate the pc relative offset of the target destination for jmpNick Clifton1-4/+4
instructions.
2000-08-24 * config/tc-avr.h (TC_IMPLICIT_LCOMM_ALIGNMENT): New macros.Denis Chertykov1-0/+9
Sets `.lcomm' alignment to zero.
2000-08-23* config/tc-i386.h <OBJ_MAYBE_ELF, OBJ_MAYBE_COFF>Alexandre Oliva1-1/+1
(TC_FIX_ADJUSTABLE): Define.
2000-08-23Fix unwind section bug found by linux kernel.Jim Wilson1-2/+4
* config/tc-ia64.c (output_unw_records): Set U & E flags only if unwind.personality_routine is set.
2000-08-23* config/tc-i386.h (TC_FIX_ADJUSTABLE): Do *NOT* define if targetAlexandre Oliva1-1/+1
environment is pe.
2000-08-222000-08-22 H.J. Lu <hjl@gnu.org>H.J. Lu1-0/+36
* config.in (STRICTCOFF): New for strict COFF. * configure.in: Define STRICTCOFF for i386-*-msdosdjgpp*, i386-*-go32* and i386-go32-rtems*. * configure: Rebuilt. * config/obj-coff.c (obj_coff_endef): Follow the historical behavior if STRICTCOFF is not defined. * doc/internals.texi: Document STRICTCOFF.
2000-08-22* write.c (TC_FIX_ADJUSTABLE): Define to 1, if not defined.Alexandre Oliva5-18/+25
(fixup_segment) Use it instead of TC_DONT_FIX_NON_ADJUSTABLE. * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove. <OBJ_ELF, OBJ_COFF, TE_PE> (TC_FIX_ADJUSTABLE): Define. * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Remove. <OBJ_ELF> (TC_FIX_ADJUSTABLE): Define. * config/tc-i960.h, config/tc-m68k.h, config/tc-v850.h: Likewise.
2000-08-222000-08-22 Eric Christopher <echristo@cygnus.com>Eric Christopher2-3/+97
* config/tc-mn10300.c: (md_apply_fix): New function. (mn10300_force_relocation): New function. (mn10300_fix_adjustable): New function. * config/tc-mn10300.h: (TC_FORCE_RELOCATION): Define. (TC_HANDLES_FX_DONE): Define. (obj_fix_adjustable): Define. (MD_APPLY_FIX3): Define. (TC_LINKRELAX_FIXUP): Define. * write.c: (TC_LINKRELAX_FIXUP): Define if not previously defined. (fixup_segment): Use TC_LINKRELAX_FIXUP. * doc/internals.texi: Document TC_LINKRELAX_FIXUP.
2000-08-212000-08-21 Jason Eckhardt <jle@cygnus.com>Jason Eckhardt1-24/+56
bfd: * elf32-i860.c (elf32_i860_relocate_pc16): Just write the immediate field with the newly relocated value instead of adding it to the existing immediate field. (elf32_i860_relocate_splitn): Likewise. (elf32_i860_relocate_highadj): Likewise. gas: * config/tc-i860.c (md_apply_fix3): Do not insert the immediate if the fixup resulted in a relocation.
2000-08-18Replace as_tsktsk with as_warn.Nick Clifton1-2/+2
Make reference to first element of shift_names explicit.
2000-08-18* write.c (fixup_segment) [TC_DONT_FIX_NON_ADJUSTABLE]: UseAlexandre Oliva5-1/+21
obj_fix_adjustable() and tc_fix_adjustable() to tell whether to add a symbol's address. Removed all target-specific #ifdefs that used to accomplished the same. * config/tc-v850.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. * config/tc-m68k.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. * config/tc-arm.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. * config/tc-i960.h (TC_DONT_FIX_NON_ADJUSTABLE): Define. * config/tc-i386.h (TC_DONT_FIX_NON_ADJUSTABLE): Define.
2000-08-17Minor formatting changesNick Clifton1-5/+5
2000-08-17Allow illegal shifts by zero to be recorded as logical shift lefts by zero.Nick Clifton1-6/+12
2000-08-16Fix 3 DV bugs, and a few minor cleanups.Jim Wilson1-12/+26
gas/ * config/tc-ia64.c (specify_resource, case IA64_RS_GR): Handle postincrement modified registers. Handle IA64_OPND_R3_2 addl source registers. (note_register_values): Handle IA64_OPND_R3_2 operands. gas/testsuite/ * gas/ia64/dv-raw-err.s: Add new tests for addl and postinc. * gas/ia64/dv-raw-err.l: Likewise. * gas/ia64/dv-waw-err.l: Update sed pattern. * gas/ia64/opc-f.pl: Delete fpsub, and fpadd comment. * gas/ia64/opc-f.s, gas/ia64/opc-f.d: Regenerate. include/opcode/ * ia64.h (IA64_OPCODE_POSTINC): New. opcodes/ * ia64-ic.tbl (pr-readers-nobr-nomovpr): Add addl, adds. Delete break, mov-immediate, nop. * ia64-opc-f.c: Delete fpsub instructions. * ia64-opc-m.c: Add POSTINC to all instructions with postincrement address operand. Rewrite using macros to avoid long lines. * ia64-opc.h (POSTINC): Define. * ia64-asmtab.c: Regenerate.
2000-08-162000-08-16 Jason Eckhardt <jle@cygnus.com>Jason Eckhardt1-1/+1
* config/tc-i860.c (md_operand): Silly typo fixed.
2000-08-16Tidy up decoding of shift based addressing modes.Nick Clifton1-88/+118
Add extra tests for these addressing modes
2000-08-16 * config/tc-sparc.c: Kill all warnings.Jakub Jelinek1-25/+51
(md_parse_option): Set -32/-64 for -xarch=, allow all -A archs in -xarch= as well. (md_show_usage): Update usage text.
2000-08-16Warn abouyt "bx pc" not being very useful.Nick Clifton1-0/+2
2000-08-15 * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Defined.Jeff Law2-35/+82
* config/tc-sh.c (md_assemble): Changed so debug_type test performed for ppi_assemble * config/tc-sh.c: Included dwarf2dbg.h. (debug_line): Defined. (md_assemble): Generates dwarf2 line info. (sh_finalize): New function. Finalize dwarf2 info. (assemble_ppi): Returns size of code generated. (build_Mytes): Returns size of code generated. (md_pseudo_table): Added "file" and "loc" psuedo ops. * config/tc-sh.h (md_end): Defined. (sh_finalize): Declared.
2000-08-15* config/tc-sh.c (md_apply_fix) [BFD_RELOC_32, BFD_RELOC_16]: UseAlexandre Oliva1-24/+2
md_number_to_chars.
2000-08-14Allow "bx pc" in ARM mode.Nick Clifton1-2/+1
2000-08-14 * tc-i386.c (md_assemble): Skip suffix check if the opcode modifierDiego Novillo1-0/+5
has the IgnoreSize bit set.
2000-08-14Add support for IA-64 specific elf header flags.Jim Wilson1-3/+16
bfd/ 2000-08-14 Jim Wilson <wilson@cygnus.com> * elf64-ia64.c (elf64_ia64_merge_private_bfd_data): Handle EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, and EF_IA_64_NOFUNCDESC_CONS_GP. (elf64_ia64_print_private_bfd_data): Likewise. Also handle EF_IA_64_ABSOLUTE. gas/ 2000-08-14 Jim Wilson <wilson@cygnus.com> * config/tc-ia64.c (md_longopts): Add -mconstant-gp and -mauto-pic. (md_parse_option): Add OPTION_MCONSTANT_GP and OPTION_MAUTO_PIC. (md_begin): Change assignment to md.flag to OR in the new bit. include/elf/ 2000-08-14 Jim Wilson <wilson@cygnus.com> * elf/ia64.h (EF_IA_64_REDUCEDFP, EF_IA_64_CONS_GP, EF_IA_64_NOFUNCDESC_CONS_GP, EF_IA_64_ABSOLUTE): Define.
2000-08-14Set the debug flag for storage types C_ARG, C_REGPARM, C_FIELD, C_MOS, C_MOE,Nick Clifton1-4/+1
C_MOU, and C_EOS.
2000-08-14 * config/tc-mn10300.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.Jeff Law1-0/+2
2000-08-112000-08-11 Kazu Hirata <kazu@hxi.com>Kazu Hirata1-79/+84
* config/obj-bout.c: Fix formatting.
2000-08-09gas:Jason Eckhardt2-629/+811
2000-08-08 Jason Eckhardt <jle@cygnus.com> * config/tc-i860.h: Rework completely for BFD_ASSEMBLER. (i860_fix_info): New enum. (MD_APPLY_FIX3): Define. (WORKING_DOT_WORD): Define. (TC_HANDLES_FX_DONE): Define. (DIFF_EXPR_OK): Define. (LISTING_HEADER): Define. (TARGET_FORMAT): Select target format based on endian flag. (TARGET_BYTES_BIG_ENDIAN): Default to little endian. (target_big_endian): Add external declaration. * config/tc-i860.c: All existing code reworked completely. Other new code shown below. (SYNTAX_SVR4): Define. (target_warn_expand): New variable. (md_shortopts): Declare and define (-Qy, -Qn, and -V options). (md_longopts): Declare and define with new options (-EL, -EB, and -mwarn-expand). (md_show_usage): New function. (md_operand): New function. (obtain_reloc_for_imm16): New function. (md_apply_fix3): New function. (tc_gen_reloc): New function. include: 2000-08-08 Jason Eckhardt <jle@cygnus.com> * opcode/i860.h: Small formatting adjustments. opcode: 2000-08-08 Jason Eckhardt <jle@cygnus.com> * i860-dis.c (print_br_address): Change third argument from int to long. bfd: 2000-08-08 Jason Eckhardt <jle@cygnus.com> * elf32-i860.c (elf32_i860_howto_table): Updated some fields.
2000-08-08Make sure the 2 bytes of the jump address are in the same frag.Nick Clifton1-11/+19
Accept 68hc12 register indirect modes. Mention 68HC11 & 68HC12 support in NEWS.
2000-08-07 * config/tc-ia64.c (unwind): Add prologue_mask member.Richard Henderson1-11/+24
(dot_vframe): Elide psp_gr record if it overlaps prologue_gr. (dot_save): Likewise for pfs_gr, rp_gr, and preds_gr. (dot_body): Clear unwind.prologue_mask. (dot_prologue): Set it. Accept a register second argument.
2000-08-072000-08-05 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-239/+226
* config/atof-ieee.c: Fix formatting. * config/atof-tahoe.c: Likewise.
2000-08-06 * config/tc-avr.c: Use PARAMS macro in function declarations.Denis Chertykov1-31/+18
Don't declare md_pcrel_from_section (already in tc-avr.h). (avr_operands): Use AVR_UNDEF_P and AVR_SKIP_P macros. (avr_operand): Don't set (unsigned) op_mask to -1.
2000-08-04Fix typoNick Clifton1-3/+3
2000-08-042000-08-05 Kazu Hirata <kazu@hxi.com>Kazu Hirata3-746/+729
* config/tc-cris.c: Fix formatting. * config/tc-i386.c: Likewise. * config/tc-sparc.c (sparc_ip): Simplify the code.
2000-08-042000-08-04 Kazu Hirata <kazu@hxi.com>Kazu Hirata4-389/+414
* config/tc-cris.c: Rearrange code for readability. * config/tc-d10v.c: Fix formatting. * config/tc-m32r.c: Likewise. * config/tc-sparc.c: Likewise.
2000-08-02Fix memory leaks for IA-64 opcode idescs.Jim Wilson1-0/+3
gas/ * config/tc-ia64.c (emit_one_bundle): Call ia64_free_opcode before ia64_find_opcode. (md_assemble): Likewise. opcodes/ * ia64-dis.c (print_insn_ia64): Call ia64_free_opcode at end.
2000-08-02Undo some formatting fixesNick Clifton1-412/+403
2000-08-01Fix skip of 'cpsr_all' flagNick Clifton1-1/+1
2000-08-012000-08-01 Kazu Hirata <kazu@hxi.com>Kazu Hirata4-1826/+1961
* config/obj-som.c: Fix formatting. * config/obj-ieee.c: Likewise. * config/tc-arm.c: Likewise. * config/tc-v850.c: Likewise.
2000-07-31Fix formatting.Nick Clifton1-368/+396
2000-07-31Add --pcrel option to m68k portNick Clifton1-12/+53
2000-07-292000-07-28 Jason Eckhardt <jle@cygnus.com>Jason Eckhardt1-1/+7
* configure.in: Add bits for i860-stardent-{sysv4, elf}*. * configure: Regenerated. * config/obj-elf.c (obj_elf_type): Recognize a fifth type of operand to the .type directive (.e.g, "type").
2000-07-28comment-finding hack for hppa-linux.Alan Modra2-0/+33
2000-07-28Fix GCC warnings.Andrew Cagney1-5/+6
Abort if code falls off end of md_estimate_size_before_relax().
2000-07-28Fix formattingNick Clifton2-628/+740
2000-07-27Kazu Hirata's formatting fixes.Alan Modra3-895/+900
2000-07-24* config/obj-coff.c (obj_frob_symbol): Don't mergeDJ Delorie1-0/+3
labels. Don't merge if the symbol isn't constant. Return immediately if a symbol is merged.