aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2003-05-02Fix xstormy16's handling of pc-relative relocs against defined symbols.Nick Clifton2-2/+12
2003-05-022003-05-01 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+15
* gas/mips/mips.exp (mips_arch_init): New function. Call it before setting up architecture array entries.
2003-05-022003-05-01 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+8
* config/obj-elf.c (obj_elf_type): Accept "notype" and "STT_NOTYPE".
2003-05-022003-05-01 H.J. Lu <hjl@gnu.org>H.J. Lu7-1/+80
* gas/elf/elf.exp (run_list_test): Accept empty $opts. Add type test. * gas/elf/type.e: New file. * gas/elf/type.s: Likewise. * gas/elf/type.e-m32r: Likewise. * gas/elf/type.e-mips: Likewise. * gas/elf/type.e-miwmmxt: Likewise.
2003-05-02gas/H.J. Lu7-0/+50
2003-05-01 H.J. Lu <hjl@gnu.org> * config/tc-ia64.h (tc_canonicalize_section_name): New. * config/obj-elf.c (obj_elf_section_name): Call tc_canonicalize_section_name if it is defined. gas/testsuite/ 2003-05-01 H.J. Lu <hjl@gnu.org> * gas/ia64/ia64.exp: Add secname. * gas/ia64/secname.s: New. Test the trailing '#' in section name. * gas/ia64/secname.d: Likewise.
2003-05-022003-05-01 H.J. Lu <hjl@gnu.org>H.J. Lu4-0/+21
* gas/ia64/ia64.exp: Add "global". * gas/ia64/global.d: New file. * gas/ia64/global.s: Likewise.
2003-05-022003-05-01 H.J. Lu <hjl@gnu.org>H.J. Lu4-0/+24
* config/tc-ia64.c (ia64_check_label): New. * config/tc-ia64.h (tc_check_label): New. * read.c (read_a_source_file): Call tc_check_label after creating a user-defined label if defined.
2003-05-02 * config/tc-ppc.c (md_show_usage): Mention -a32, -a64, -l, -le, -b,Alan Modra2-9/+18
-be and split strings to below 509 bytes in length.
2003-05-01 * expr.h: Fix comments in operatorT typedef.Christian Groessler1-0/+22
* config/tc-z8k.c: Add 2003 to copyright message. Fold s_segm() and s_unseg() into one function s_segm(parm) which decides by the parameter. (md_begin): Don't set linkrelax. Only set Z8002 default if no command line argument was given to select the intended architecure. (get_interrupt_operand): Warn if NOP type code is emitted. (newfix): New parameter 'size', forward it to 'fix_new_exp'. (apply_fix): Call newfix with additional 'size' parameter. (build_bytes): Remove unused variable 'nib'. Detect overflow in 4 bit immediate arguments. (md_longopts): Add 'linkrelax' option. (md_parse_option): Adapt to new s_segm function. Set 'linkrelax' variable when 'linkrelax' command line option is specified. (md_show_usage): Display 'linkrelax' option. (md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8. Add cases R_CALLR and R_REL16. * config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD.
2003-05-01 * expr.h: Fix comments in operatorT typedef.Christian Groessler3-64/+105
* config/tc-z8k.c: Add 2003 to copyright message. Fold s_segm() and s_unseg() into one function s_segm(parm) which decides by the parameter. (md_begin): Don't set linkrelax. Only set Z8002 default if no command line argument was given to select the intended architecure. (get_interrupt_operand): Warn if NOP type code is emitted. (newfix): New parameter 'size', forward it to 'fix_new_exp'. (apply_fix): Call newfix with additional 'size' parameter. (build_bytes): Remove unused variable 'nib'. Detect overflow in 4 bit immediate arguments. (md_longopts): Add 'linkrelax' option. (md_parse_option): Adapt to new s_segm function. Set 'linkrelax' variable when 'linkrelax' command line option is specified. (md_show_usage): Display 'linkrelax' option. (md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8. Add cases R_CALLR and R_REL16. * config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD.
2003-05-01gas/H.J. Lu7-12/+191
2003-04-30 H.J. Lu <hjl@gnu.org> * config/tc-ia64.c (ia64_number_to_chars): New function pointer. (ia64_float_to_chars): Likewise. (dot_byteorder): Set target_big_endian, ia64_number_to_chars and ia64_float_to_chars by tc_segment_info_data.endian from the current segment if byteorder == -1. (md_begin): Call dot_byteorder to set target_big_endian. (md_atof): Call ia64_float_to_chars to convert floating point. (ia64_float_to_chars_bigendian): New function. (ia64_float_to_chars_littleendian): Likewise. (ia64_elf_section_change_hook): Likewise. * config/tc-ia64.h (ia64_number_to_chars): New. (md_number_to_chars): Changed to (*ia64_number_to_chars) (ia64_elf_section_change_hook): New. (md_elf_section_change_hook): Defined. (ia64_segment_info_type): New struct. (TC_SEGMENT_INFO_TYPE): Defined. gas/testsuite/ 2003-04-30 H.J. Lu <hjl@gnu.org> * gas/ia64/ia64.exp: Add order. * gas/ia64/order.s: New file. * gas/ia64/order.d: Likewise.
2003-05-01gas/H.J. Lu8-15/+30
2003-04-30 H.J. Lu <hjl@gnu.org> * config/tc-ia64.c (md_section_align): Deleted. * config/tc-ia64.h (SUB_SEGMENT_ALIGN): New. (md_section_align): New. gas/testsuite/ 2003-04-29 H.J. Lu <hjl@gnu.org> * gas/ia64/ia64.exp: Add align. * gas/ia64/align.d: New file. * gas/ia64/align.s: Likewise. * ia64/dependency-1.d: Remove the padding. ld/testsuite/ 2003-04-29 H.J. Lu <hjl@gnu.org> * ld-ia64/tlsbin.dd: Updated. * ld-ia64/tlsbin.rd: Likewise. * ld-ia64/tlsbin.sd: Likewise. * ld-ia64/tlsbin.td: Likewise. * ld-ia64/tlspic.rd: Likewise. * ld-ia64/tlspic.sd: Likewise. * ld-ia64/tlspic.td: Likewise.
2003-04-30gas/H.J. Lu6-5/+56
2003-04-30 H.J. Lu <hjl@gnu.org> * config/tc-ia64.c (stmt_float_cons): Fix alignment for real10 and add real16. (md_pseudo_table): Add "xreal16", "xreal16.ua", "real16" and "real16.ua". (md_atof): Add 6 byte padding of zero for real16. gas/testsuite/ 2003-04-29 H.J. Lu <hjl@gnu.org> * gas/ia64/ia64.exp: Add real. * gas/ia64/real.s: New file. * gas/ia64/real.d: Likewise.
2003-04-29Fix problem parsing symbol version strings when they are preceeded by ↵Nick Clifton6-0/+36
whitespace. Add test to catch this problem in the future.
2003-04-282003-04-28 Chris Demetriou <cgd@broadcom.com>Chris Demetriou3-172/+180
* configure.in (mips-*-*n*bsd*): Replace with... (mips-*-netbsd*, mips-*-openbsd*): These. * configure: Regenerate.
2003-04-28* config/tc-hppa.c (hppa_symbol_chars): New.Nick Clifton3-0/+11
* config/tc-hppa.h (tc_symbol_chars): Likewise.
2003-04-26 * config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.Thiemo Seufer2-0/+7
2003-04-262003-04-25 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+6
* NEWS: Belatedly mention support for MIPS32 Release 2.
2003-04-252003-04-24 Eric Christopher <echristo@redhat.com>Eric Christopher2-11/+15
* config/tc-mips.c (nopic_need_relax): Revert previous change.
2003-04-24Add tests of conditional branch instructions with probability postfixesNick Clifton3-0/+29
2003-04-24Add support for dwarf2 debug information.Nick Clifton5-4/+32
2003-04-24Add support for h8300hn and h8300snNick Clifton5-4/+58
2003-04-24Add '+' and '-' as valid symbol characters for PPC port.Nick Clifton3-0/+12
2003-04-23bfd:Joern Rennecke8-18/+35
* archures.c (enum bfd_architecture): Amend comment to refer to SuperH. * cpu-sh.c: Likewise. * elf32-sh.c: Likewise. * reloc.c (bfd_reloc_code_real): Likewise. * elf32-sh64-com.c: Change comment to refer to SuperH. * elf32-sh64.c: Likewise. * elf64-sh64.c: Likewise. * bfd-in2.h (enum bfd_architecture): Regenerate. binutils: * readelf.c (get_machine_name) <EM_SH>: Amend return value to refer to SuperH. gas: * config/tc-sh.c: Amend comment to refer to SuperH. * config/tc-sh.h: Likewise. (LISTING_HEADER): Amend to refer to SuperH. * config/tc-sh64.c: Change comment to refer to SuperH. * config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH. * doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH. * doc/c-sh.texi: Amend to refer to SuperH. Add SuperH architecture documentation references. * doc/c-sh64.texi: Change to refer to SuperH. include/elf: * common.h (EM_SH): Amend comment to refer to SuperH. ld/testsuite: * ld-sh/sh64/crange3-cmpct.rd (Machine): Change to refer to SuperH. * ld-sh/sh64/crange3-media.rd (Machine): Likewise.
2003-04-23More checks for valid labelsNick Clifton5-48/+69
2003-04-222003-04-22 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+7
* app.c (do_scrub_chars): Check for valid label.
2003-04-22Replace references to Mitsubishi M32R with references to Renesas M32R.Nick Clifton3-3/+9
2003-04-21 * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.Richard Henderson2-0/+8
(out_file_list): Assign non-null filename after generating error.
2003-04-18 * ehopt.c (check_eh_frame): For aug_size == 0Jakub Jelinek2-1/+9
in state_seeing_aug_size state skip the state_skipping_aug state.
2003-04-15Replace occurrances of 'Hitachi' with 'Renesas'.Nick Clifton15-60/+74
2003-04-11* gas/mips/elf-rel-got-n32.d, gas/mips/elf-rel-got-n32.s,Alexandre Oliva8-0/+2897
gas/mips/elf-rel-got-n64.d, gas/mips/elf-rel-got-n64.s, gas/mips/elf-rel-xgot-n32.d, gas/mips/elf-rel-xgot-n64.d: New. * gas/mips/mips.exp: Test them.
2003-04-11* config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): New.Alexandre Oliva3-139/+614
* config/tc-mips.c: Use signed add for n32 address arithmetic. (append_insn): When filling delay slots with instructions that have fixups that tc_gen_reloc might consider modifyable in variant frags, start a new frag. (load_address): Generate GOT_DISP with of without offset depending on whether symbol is local. For -xgot, use GOT_PAGE/GOT_OFST or GOT_HI16/GOT_LO16. (macro) <M_DLA_AB, M_LA_AB>: Likewise. <M_JAL_A>: In NewABI, use CALL16 or GOT_DISP for small got, CALL_HI16/CALL_LO16 or GOT_PAGE/GOT_OFST for big got. <ld_st>: In NewABI with small got, always use GOT_PAGE/GOT_OFST, with the latter in the load/store instruction. With big got, use GOT_HI16/GOT_LO16 or GOT_PAGE/GOT_OFST. (tc_gen_reloc): Adjust variant frags with GOT_DISP in NewABI. Add tc_frag_data.tc_fr_offset to addends. Decay CALL16, GOT_OFST and GOT_DISP to GOT_DISP in NewABI. (md_convert_frag): Use memmove for safe copying of overlapping regions.
2003-04-09 * doc/c-m68hc11.texi (M68HC11-Opts): Document -m68hcs12, -mshort,Stephane Carrez2-18/+233
-mlong, -mshort-double and -mlong-double options; use table @code. (M68HC11-Syntax): Update to document 68HC12 operands. (M68HC11-Modifiers): New section for operand modifiers. (M68HC11-Directives): New section for specific assembler directives. (M68HC11-Branch): Fix Overfull hbox error.
2003-04-09* config/tc-mips.c (macro): Add comments explaining the rationaleAlexandre Oliva2-1/+22
for Chris' change.
2003-04-09* config/tc-mips.c (macro): Put back `+ 0x8000' in test for 64-bitAlexandre Oliva2-1/+9
constant address that Alexandre took out by accident. Reject 64-bit addresses that are not sign extensions of 32 bits only if we don't support 64-bit address constants.
2003-04-08 * config/tc-ppc.c (md_apply_fix3): Generate ADDR16 relocs.Alan Modra2-6/+21
2003-04-08* as.c (perform_an_assembly_pass): If using cgen, call gas_cgen_begin.Nick Clifton8-0/+193
* cgen.c (gas_cgen_begin): New function. If flag_signed_overflow_ok is set call cgen_set_signed_overflow_ok otherwise call cgen_clear_signed_overflow_ok. * cgen.h: Prototype gas_cgen_begin. * testsuite/gas/m32r/m32r.exp: Run signed-relocs test. * testsuite/gas/m32r/signed-relocs.s: New file: Test signed relocs. * testsuite/gas/m32r/signed-relocs.d: New file: Expected results
2003-04-08* ia64-ic.tbl (fr-readers): Add mem-writers-fp.Nick Clifton4-0/+35
* ia64-asmtab.c: Regenerate. * gas/ia64/dependency-1.s: New file: Test read before write dependency. * gas/ia64/dependency-1.d: New file: Expected assembly results. * gas/ia64/ia64.exp: Run the new test.
2003-04-07 * write.c (write_relocs): Remove unused variable.Thiemo Seufer2-2/+4
2003-04-06* config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): New.Alexandre Oliva2-3/+16
(macro): Use new macro to decide whether to emit constant address as 32 or 64 bits if addresses are 32-bit wide but registers are 64-bit wide.
2003-04-05 * gas/m68hc11/bug-1825.d (_table): Update.Stephane Carrez3-1/+20
* gas/m68hc11/bug-1825.s (_table): Add tests for 16-bit absolute relocs
2003-04-05 * gas/m68hc11/insns.s: Add %page and %addr checks.Stephane Carrez5-6/+23
* gas/m68hc11/insns12.s: Likewise. * gas/m68hc11/insns-dwarf2.d: Update. * gas/m68hc11/insns.d: Update.
2003-04-05 * config/tc-m68hc11.c (M6811_OP_CALL_ADDR): New internal define.Stephane Carrez2-19/+86
(M6811_OP_PAGE_ADDR): New internal define. (get_operand): New modifier %page and %addr to obtain page and address part of a far-function. (fixup8): Use BFD_RELOC_M68HC11_PAGE for a %page modifier; don't complain on overflow for the BFD_RELOC_M68HC11_PAGE and truncation relocs. (fixup16): Use BFD_RELOC_M68HC11_LO16 for a %addr modifier. (find_opcode): Add comment. (md_estimate_size_before_relax): Force relocation of STATE_UNDEXED_OFFSET types when the symbol is not absolute. (tc_m68hc11_fix_adjustable): Check for BFD_RELOC_M68HC11_LO16 instead of BFD_RELOC_LO16; temporarily make the BFD_RELOC_32 on the symbol itself so that DWARF2 strings are merged correctly.
2003-04-042003-04-04 Chris Demetriou <cgd@broadcom.com>Chris Demetriou5-0/+144
* gas/mips/mips5.d: New test. * gas/mips/mips5.l: New test stderr listing. * gas/mips/mips5.s: New test source file. * gas/mips/mips.exp: Run the mips5 test.
2003-04-04Namespace cleanup for the tic4x target. Replace s/c4x/tic4x/ and ↵Svein Seldal4-325/+333
s/c3x/tic3x/. 2003 copyright update
2003-04-03Mention support for Xtensa architectureNick Clifton2-0/+6
2003-04-032003-04-03 Philip Blundell <philb@gnu.org>Phil Blundell3-0/+12
* gas/arm/offset.s: New test. * gas/arm/arm.exp (run_errors_test): Run it.
2003-04-022003-04-02 Philip Blundell <philb@gnu.org>Phil Blundell2-0/+5
* config/tc-arm.c (arm_force_relocation): Return 0 for OFFSET_IMM.
2003-04-02[ gas/ChangeLog ]Chris Demetriou19-27/+395
2003-04-02 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (macro2): Adjust implementation of M_ULH, M_ULHU, M_ULW, and M_ULD so that they work properly in the case where the source and destination registers are the same. [ gas/testsuite/ChangeLog ] 2003-04-02 Chris Demetriou <cgd@broadcom.com> * gas/mips/ulh.d: Adjust for ulh and ulhu macro assembly changes. * gas/mips/mips.exp: Define new "gpr_ilocks" architecture property, and add it to mips2 (and later) chips and r3900. * gas/mips/uld2.s: New test source file. * gas/mips/ulh2.s: Likewise. * gas/mips/ulw2.s: Likewise. * gas/mips/uld2.l: New test stderr listing. * gas/mips/ulh2.l: Likewise. * gas/mips/ulw2.l: Likewise. * gas/mips/uld2-eb.d: New test. * gas/mips/uld2-el.d: Likewise. * gas/mips/ulh2-eb.d: Likewise. * gas/mips/ulh2-el.d: Likewise. * gas/mips/ulw2-eb-ilocks.d: Likewise. * gas/mips/ulw2-eb.d: Likewise. * gas/mips/ulw2-el-ilocks.d: Likewise. * gas/mips/ulw2-el.d: Likewise. * gas/mips/mips.exp: Run new tests for appropriate architectures.
2003-04-01Add Xtensa port (omitted from previous delta)Nick Clifton1-0/+73