aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2001-05-14* config/tc-mn10300.c (md_assemble): Anchor dwarf2 line infoAlexandre Oliva2-2/+14
before a relaxable insns.
2001-05-13* config/tc-mn10300.c (tc_gen_reloc): Don't reject differencesAlexandre Oliva2-0/+45
between symbols if the base symbol is in the current section; emit a PC-relative relocation instead.
2001-05-12Peter Targett's backwards compatibility and other arc fixes.Alan Modra7-43/+86
2001-05-12 * i386-dis.c (twobyte_has_modrm): Update table.Alan Modra2-2/+2
(need_modrm): Give it file scope. (MODRM_CHECK): Define. (dofloat): Use MODRM_CHECK. (OP_E): Likewise. (OP_EM): Likewise. (OP_EX): Likewise. and fix testsuite yet again now that we are getting correct disassembly.
2001-05-12Oops, wrong address for pmuludq insn.Alan Modra1-1/+1
2001-05-12Correct cvtps2dq, movdq2q, movq2dq, and movq problems.Alan Modra4-7/+14
2001-05-11 * elfxx-ia64.c (is_unwind_section_name): Consider linkonce unwindJakub Jelinek2-4/+36
sections as well. (elfNN_ia64_final_write_processing): Map .gnu.linkonce.ia64unw.FOO to .gnu.linkonce.t.FOO text section. * readelf.c (process_unwind): Print all unwind sections, not just one. * config/tc-ia64.c (special_linkonce_name): New. (make_unw_section): Map .gnu.linkonce.t.FOO text section into .gnu.linkonce.ia64unw{,i}.FOO. (ia64_elf_section_type): Handle .gnu.linkonce.ia64unw{,i}.FOO. (dot_endp): Add comment about it. * elf/ia64.h (ELF_STRING_ia64_unwind_once): Define. (ELF_STRING_ia64_unwind_info_once): Define. * emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Put .gnu.linkonce.ia64unw{,i} sections into corresponding .IA_64.unwind* output sections. * emulparams/elf64_aix.sh (OTHER_READONLY_SECTIONS): Likewise.
2001-05-11When truncating an aligned block, ensure that the low order bits of theNick Clifton2-1/+7
alignment are preserved.
2001-05-10Fix more fallout from multi-pass relaxation patch.Alan Modra12-392/+373
2001-05-10 * gas/cris/rd-dw2-10.d: Tweak for change in gas dwarf2 line numberHans-Peter Nilsson2-1/+7
handling.
2001-05-10 * config/tc-ia64.c (generate_unwind_image): Align the fragmentRichard Henderson2-0/+6
beginning a function's unwind info block.
2001-05-09* config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs.Alexandre Oliva2-0/+7
2001-05-08 * config/tc-m68k.c: Instead of replacing -1 by 64 in assignment toAndreas Schwab2-10/+12
fx_pcrel_adjust explicitly sign extend when reading it.
2001-05-08More fallout from 2001-03-30 changes.Alan Modra2-63/+7
* config/tc-m68k.c (md_estimate_size_before_relax): Set fr_var from md_relax_table, and combine some switch cases.
2001-05-06* config/tc-mn10300.c (md_assemble): Subtract operand->shiftAlexandre Oliva2-7/+6
from offset in non-pcrel operands too.
2001-05-06Do not insert more than MAX_MEM_FOR_RS_ALIGN_CODE bytes.Nick Clifton3-13/+25
2001-05-04Assorted fixes to pinsrw, pextrw, pmovmskb, movmskp, maskmovq.Alan Modra4-6/+13
2001-05-03Warning fixes and configure/makefile tweaks by Thiemo Seufer.Alan Modra9-444/+565
2001-05-03 * config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFFAlan Modra2-14/+27
expressions rather than triggering an assert.
2001-05-02Fix indentation and parenthesisNick Clifton1-6/+6
2001-05-02Add gas and ld support for openriscNick Clifton18-229/+1413
2001-05-02imprrove error messageNick Clifton2-1/+6
2001-04-292001-04-29 Keith M Wesolowski <wesolows@foobazco.org>H.J. Lu2-1/+8
* config/tc-mips.c (md_parse_option): Also accept elf64-tradbigmips and elf64-tradlittlemips for OPTION_64.
2001-04-272001-04-27 David Mosberger <davidm@hpl.hp.com>H.J. Lu2-2/+7
* config/tc-ia64.c (dot_spillmem_p): Fix output_spill_?sprel_p() argument passing order: predicate goes last, not first.
2001-04-27Add support for arm-vxworks targetNick Clifton4-170/+181
2001-04-26Add ability to pad code alignment frags with no-ops.Nick Clifton3-0/+127
2001-04-25Fix autoconf breakage + commit target.c, omitted in previous deltaNick Clifton2-168/+173
2001-04-25Check to see if the filename symbol has been initialised before extractingNick Clifton2-5/+11
its symbol index.
2001-04-252001-04-24 H.J. Lu <hjl@gnu.org>H.J. Lu2-5458/+3053
* configure: Regenerated with the right version of autoconf.
2001-04-24z8k fixesNick Clifton9-5353/+7553
2001-04-202000-04-20 Jason Eckhardt <jle@redhat.com>Jason Eckhardt2-1/+7
* config/tc-d10v.h (tc_frob_label): Update the symbol's frag since frag_now can change after d10v_cleanup is called.
2001-04-172001-04-16 David O'Brien <obrien@FreeBSD.org>David O'Brien3-2/+7
* configure.in: Add the em type for FreeBSD targets. * configure: Regenerate. Approved by: Alan Modra <amodra@one.net.au> <20010414192409.C16364@squeak.one.net.au> Philip Blundell <philb@gnu.org> <E14o06W-0002IT-00@kings-cross.london.uk.eu.org>
2001-04-14* struc-symbol.h (struct local_symbol): New TC_LOCAL_SYMFIELD_TYPE.Alexandre Oliva3-0/+11
* symbols.c (local_symbol_convert): Call TC_LOCAL_SYMFIELD_CONVERT.
2001-04-14* config/tc-mn10300.c (md_assemble): Simplify offset adjustment ofAlexandre Oliva2-21/+13
pc-relative relocations not placed at the end of the instruction.
2001-04-14Fix latent bug exposed by a gcc-3 bug fix.Jim Wilson2-9/+14
* tc-ia64.c (is_conditional_branch): Return true for br, brl, and br. excluding br.i.
2001-04-13bfd/Jakub Jelinek3-6/+56
* libbfd-in.h (_bfd_merge_section): New. (_bfd_write_merged_section): New. (_bfd_merged_section_offset): New. * libbfd.h: Rebuilt. * linker.c (_bfd_generic_link_output_symbols): Handle discard_sec_merge. * aoutx.h (aout_link_write_symbols): Likewise. * pdp11.c (aout_link_write_symbols): Likewise. * elflink.h (elf_link_add_object_symbols): Call _bfd_merge_section. (elf_bfd_final_link): Adjust global symbols pointing into SEC_MERGE sections. (elf_link_sec_merge_syms): New. (elf_link_input_bfd): Call _bfd_merged_section_offset and _bfd_write_merged_section. Handle discard_sec_merge. * elf-bfd.h (struct elf_link_hash_table): Add merge_info field. (struct bfd_elf_section_data): Likewise. * elf.c (_bfd_elf_make_section_from_shdr): Set SEC_MERGE and SEC_STRINGS section flags and entsize from their ELF counterparts. (_bfd_elf_link_hash_table_init): Initialize merge_info. (elf_fake_sections): Set SHF_MERGE, SHF_STRINGS and sh_entsize from their BFD counterparts. * merge.c: New file. * Makefile.am: Add strtab.lo. * Makefile.in: Rebuilt. include/ * bfdlink.h (bfd_link_discard): Add discard_sec_merge. gas/ * config/obj-elf.c (obj_elf_change_section): Add entsize argument, handle SHF_MERGE and SHF_STRINGS. (obj_elf_parse_section_letters): Set SHF_MERGE and SHF_STRINGS. (obj_elf_section): Allow additional argument specifying entity size. * write.c (adjust_reloc_syms): Keep relocations against local symbols in SEC_MERGE sections. ld/ * ldmain.c (main): Default to discard_sec_merge. * lexsup.c (OPTION_DISCARD_NONE): Define. (ld_options): Add --discard-none. (parse_args): Handle OPTION_DISCARD_NONE. * ldlang.c (wild_doit): SEC_MERGE should be set in the output section only if SEC_MERGE and SEC_STRINGS flags and entsize of all its input sections match.
2001-04-12 * dwarf2dbg.c (process_entries): Don't optimize redundant line notes.Jason Merrill2-1/+9
2001-04-12* expr.c (operand): Pass &c to md_parse_name().Alexandre Oliva5-4/+9
* config/tc-ia64.h, config/tc-ppc.h, config/tc-tic54x.h: Adjust.
2001-04-082001-04-07 Steven J. Hill <sjhill@cotw.com>H.J. Lu6-247/+251
* config/tc-mips.c: Support ELF64 for traditional MIPS targets. * Makefile.am: (TARG_ENV_HFILES): Add tc-mips.h. * Makefile.in: Regenerated. * configure.in: Use traditional MIPS targets for Linux/MIPS. * configure: Regenerated.
2001-04-06* config/tc-mn10300.c (xr_registers): Added `pc'.Alexandre Oliva2-0/+5
2001-04-05Remove redundant ChangeLog entry separatorHans-Peter Nilsson1-2/+0
2001-04-05 * gas/cris/fragtest.s, gas/cris/rd-pic-1.s,Hans-Peter Nilsson21-26/+11
gas/cris/binop-cmpmovx.d, gas/cris/binop-cmpmove.d, gas/cris/binop.d, gas/cris/binop.s, gas/cris/brokw-2.d, gas/cris/clear.d, gas/cris/fragtest.s, gas/cris/jump-type.d, gas/cris/nosep.s, gas/cris/pushpop.d, gas/cris/quick.s, gas/cris/range-err-2.s, gas/cris/sep-err-1.s, gas/cris/sreg-to-x.d, gas/cris/test.d, gas/cris/x-to-byte-sreg.d, gas/cris/x-to-word-sreg.d, gas/cris/x-to-dword-sreg.d: Remove trailing empty lines. * gas/cris/continue.s: Ditto, tweak comment.
2001-04-05 * gas/cris/brokw-2.s: Correct broken-word expansion visualizationHans-Peter Nilsson2-0/+3
in comment.
2001-04-05 * gas/cris/rd-dw2-1.d, gas/cris/rd-dw2-2.d, gas/cris/rd-dw2-3.d,Hans-Peter Nilsson16-0/+834
gas/cris/rd-dw2-4.d, gas/cris/rd-dw2-5.d, gas/cris/rd-dw2-6.d, gas/cris/rd-dw2-7.d, gas/cris/rd-dw2-8.d, gas/cris/rd-dw2-9.d, gas/cris/rd-dw2-10.d, gas/cris/rd-dw2-11.d, gas/cris/rd-dw2-12.d, gas/cris/rd-dw2-13.d, gas/cris/rd-dw2-14.d, gas/cris/rd-dw2-15.d: New tests.
2001-04-05 * lib/gas-defs.exp (run_dump_test): Support using readelf.Hans-Peter Nilsson3-4/+20
* config/default.exp: Default READELF and READELFFLAGS.
2001-04-05Fix more breakages from the multiple relax pass patch.Alan Modra7-274/+295
2001-04-04 * config/tc-cris.c (cris_insn_first_word_frag): New.Hans-Peter Nilsson2-18/+39
(md_assemble): Call cris_insn_first_word_frag to get the first frag in an insn, not frag_more. Don't call dwarf2_emit_insn at end. Drop variable insn_size. (gen_bdap): Call cris_insn_first_word_frag, not frag_more. (cris_sym_leading_underscore): Wrap first as_bad parameter in _(). (cris_sym_no_leading_underscore, s_cris_file, s_cris_loc): Ditto.
2001-04-04 * config/tc-cris.c (md_estimate_size_before_relax) <caseHans-Peter Nilsson2-28/+21
ENCODE_RELAX (STATE_CONDITIONAL_BRANCH, STATE_UNDF)>: Don't emit 32-bit branch, just set fragP->fr_subtype. Set fragP->fr_var. <all cases>: Always set fragP->fr_var using md_cris_relax_table. Add cases to cover all relax states.
2001-04-04 * write.c (write_object_file): Reset broken word state beforeHans-Peter Nilsson2-0/+25
calling relax_seg.
2001-03-31Fix conditional assembly listings when more than one .else/.elsifAlan Modra6-57/+93