aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2001-05-22 * config/tc-arc.c (md_assemble): Use is_end_of_line instead ofAlan Modra2-2/+5
testing for NULs.
2001-05-22 * symbols.c (resolve_symbol_value): Remove "finalize" param,Alan Modra14-63/+84
instead use finalize_syms directly. Don't treat expressions specially with regard to finalize_syms. Update calls to self. (resolve_local_symbol): Update call to resolve_symbol_value. (S_GET_VALUE): Likewise. Return resolve_symbol_value if !finalize_syms. * symbols.h (resolve_symbol_value): Update prototype. * config/obj-aout.c (obj_crawl_symbol_chain): Update call to resolve_symbol_value. * config/obj-bout.c (obj_crawl_symbol_chain): Likewise. * config/obj-coff.c (do_relocs_for): Likewise. (yank_symbols): Likewise. (fixup_segment): Likewise. * config/obj-vms.c (obj_crawl_symbol_chain): Likewise. * config/tc-mips.c (md_convert_frag): Likewise. * config/tc-ppc.c (ppc_frob_symbol): Likewise. (ppc_fix_adjustable): Likewise. * dwarf2dbg.c (dwarf2dbg_estimate_size_before_relax): Likewise. (dwarf2dbg_convert_frag): Likewise. * ehopt.c (eh_frame_estimate_size_before_relax): Likewise. (eh_frame_convert_frag): Likewise. * expr.c (make_expr_symbol): Likewise. * write.c (adjust_reloc_syms): Likewise. (write_object_file): Likewise. (relax_segment): Likewise. (fixup_segment): Likewise. (finalize_syms): Init to zero, and update comment. (write_object_file): Set finalize_syms to 1 rather than 2. * doc/internals.texi (sy_value): Mention finalize_syms. (S_GET_VALUE): Remove restriction on when S_GET_VALUE can be called.
2001-05-22 * config/tc-m68k.c (relaxable_symbol): Only treat external symbolsAlan Modra2-27/+23
as relaxable if embedded system, make weak syms non-relaxable. Move definition.. (tc_m68k_fix_adjustable): ..so it can be used here. (md_apply_fix_2): Sign extend without conditional.
2001-05-22Update copyright date.Alan Modra2-2/+6
2001-05-20* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,Alexandre Oliva1-185/+189
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254. Rebuilt a number of subdir/configure scripts to use the new libtool.m4.
2001-05-162001-05-16 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-2/+6
* cgen.c (gas_cgen_tc_gen_reloc): Changed error message when howto entry is not found. Fix for 105023-CR-1.
2001-05-16* config/tc-mn10300.c (mn10300_force_relocation): Don'tAlexandre Oliva2-0/+24
optimize differences between symbols in code sections to constants. (mn10300_fix_adjustable): Don't adjust to section+offset relocations pointing at symbols in code sections.
2001-05-16Fix dwarf2_emit_insn calls when frag_var breaks things.Alan Modra5-32/+27
Put back an old entry in ChangeLog-9899, deleted when ChangeLog split.
2001-05-15Fix MIPS disassembler so that it produces reassemblable code.Nick Clifton64-6430/+6498
2001-05-15 * ehopt.c (eh_frame_convert_frag): Fix missed subtype adjustmentRichard Henderson2-1/+7
last change.
2001-05-14 * ehopt.c (get_cie_info): Rename from eh_frame_code_alignment;Richard Henderson3-146/+219
also collect whether to expect an FDE augmentation. (check_eh_frame): Rewrite as a state machine. Track where in an FDE we are located, skip any augmentation. (eh_frame_estimate_size_before_relax): Get code alignment from the fragment subtype. (eh_frame_relax_frag, eh_frame_convert_frag): Likewise. * read.c (emit_leb128_expr): Call check_eh_frame.
2001-05-14 * gas/elf/ehopt0.s: New.Richard Henderson4-0/+48
* gas/elf/ehopt0.d: New. * gas/elf/elf.exp: Run it.
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.