aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
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
2001-03-31* cond.c (s_endif): Correct handling of "if .. elseif .." trees.Alan Modra2-14/+19
Don't abort on NULL current_cframe.
2001-03-302001-03-30 H.J. Lu <hjl@gnu.org>H.J. Lu2-6/+11
* gas/i386/relax.d: Dump with -s instead of -drw.
2001-03-30Pass finalize_syms on calls to resolve_symbol_value.Alan Modra10-22/+36
2001-03-30Missing ChangeLog for dwarf2dbg.c warning fixes.Alan Modra1-0/+2
2001-03-30Multi-pass relaxation machinery.Alan Modra6-34/+107
2001-03-302001-03-29 H.J. Lu <hjl@gnu.org>H.J. Lu4-0/+34
* gas/i386/relax.s: New test for relaxation between sections. * gas/i386/relax.d: New. * gas/i386/i386.exp: Add tests for ELF.
2001-03-30Prepare for multi-pass relaxation.Alan Modra10-145/+183
2001-03-29Clarify ChangeLog entryHans-Peter Nilsson1-2/+2
2001-03-29 * config/tc-cris.h (tc_fix_adjustable): Allow onlyHans-Peter Nilsson3-9/+19
BFD_RELOC_CRIS_32_GOTREL of the PIC relocs. * config/tc-cris.c (cris_get_pic_suffix): Correct reloc used in example to valid.
2001-03-282001-03-28 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+14
* read.c (equals): Set to local for COFF only if it hasn't been defined before.
2001-03-28Default hppa64 to ".level 2.0w"Alan Modra2-2/+13
2001-03-27Allow for the possibility that the local labels won't be in the objdump output.Nick Clifton2-5/+15
2001-03-27(for COFF) default symbols to being local.Nick Clifton2-0/+10
2001-03-27* as.texinfo (Fill): Replace "result" with "repeat".Ben Elliston1-1/+1
2001-03-27 * configure.in (cris-*-*): Change default emulation to criself.Hans-Peter Nilsson3-245/+264
(cris-*-*aout*): New rule. * configure: Regenerate.
2001-03-262001-03-26 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+6
* gas/mips/sync.s: Declare 'foo' as a function so that this test will work on properly on ECOFF targets.
2001-03-26Do not optimize BFD_RELOC_390_GOTENT relocs.Nick Clifton3-784/+955
Always generate relocs for VT_ relocs.
2001-03-25Automate generate on man pagesNick Clifton7-697/+1048
2001-03-25Accept an absolute expression for index scale factor.Alan Modra2-16/+29
2001-03-24Small tweaks to sse2 instructions.Alan Modra3-2/+7
2001-03-23Document --listing-XXX command line switches.Nick Clifton2-0/+70
Explain why listings behave differently when -pipe is used.
2001-03-23fix_new_exp: Print an error if passed a register.Nick Clifton2-0/+8
2001-03-23 * gas/cris/pic-err-1.s, gas/cris/rd-pic-1.s, gas/cris/rd-pic-1.d:Hans-Peter Nilsson4-0/+113
New tests.
2001-03-23 * gas/cris/branch-warn-1.s, gas/cris/branch-warn-2.s,Hans-Peter Nilsson4-9/+8
gas/cris/branch-warn-3.s: Tweak for fixed FIXME:s.
2001-03-23 * config/tc-cris.[ch]: Tweak attribution. Fix typos. PIC support.Hans-Peter Nilsson3-88/+446
2001-03-20Use `relax_marker' instead of fragile address test code to determineAlan Modra3-39/+30
whether a frag's fr_address has been updated.
2001-03-19Don't try to read past end of info buffer, and correct test results.Alan Modra2-1/+5
2001-03-19Fix register name printed in warning message.Alan Modra2-3/+11
2001-03-19 * gas/m68k/pcrel.s: Force alignment to 8 byte boundary to getAndreas Schwab3-2/+9
consistent output across targets. * gas/m68k/pcrel.d: Adjusted.
2001-03-182001-03-18 H.J. Lu <hjl@gnu.org>H.J. Lu6-41/+81
* gas/i386/intel.s: Move PIC code to ... * gas/i386/intelpic.s: New. Here. * gas/i386/intel.d: Updated. * gas/i386/intelpic.d: New. * gas/i386/i386.exp: Check PIC code in Intel syntax for ELF targets only.
2001-03-18 * gas/mri/mri.exp: Fix test of m6811/m6812 targets.Stephane Carrez2-1/+5