This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

merging some mainline patches to 2.11 branch


Anybody got any objections to me merging these to 2.11?
Tested by (cross-)compiling and running the testsuite for a number of
appropriate targets.

bfd/ChangeLog
2001-05-18  Alan Modra  <amodra@one.net.au>

	Merge from mainline.
	2001-05-17  Alan Modra  <amodra@one.net.au>
	* elf32-hppa.c (hppa_build_one_stub): Add an assert to check
	plt.offset.

	2001-05-16  Alan Modra  <amodra@one.net.au>
	* section.c (asection): Add linker_has_input field.
	(STD_SECTION): Adjust initialization to suit.
	* ecoff.c (bfd_debug_section): Likewise.
	* bfd-in2.h: Regenerate.

	2001-05-07  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
	* ecoff.c (bfd_debug_section): Fix initialization.

	2001-05-12  Peter Targett  <peter.targett@arccores.com>
	* cpu-arc.c (arch_info_struct): Add entry 'base' representing old
	name for 'arc5' core versions.
	(bfd_arc_arch): Make bfd_mach_arc_6 default.
	* elf32-arc.c (arc_elf_object_p): Make E_ARC_MACH_ARC6 default
	architecture.
	(arc_elf_final_write_processing): Make bfd_mach_arc_6 default.

	2001-05-08  Ian Lance Taylor  <ian@zembu.com>
	* coff-i386.c (coff_i386_reloc): Don't dump core if output_bfd is
	NULL or is not COFF.
	(coff_i386_rtype_to_howto): Don't dump core if output section
	owner is not COFF.

	2001-04-13  Roger Sayle  <roger@metaphorics.com>
	* coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section
	flag on pe-i386 targets.

	2001-04-26  H.J. Lu  <hjl@gnu.org>
	* elf32-i386.c (elf_i386_check_relocs): Verify if r_symndx is
	valid.

	2001-04-05  David Mosberger  <davidm@hpl.hp.com>
	* elf32-i386.c (elf_i386_fake_sections): Treat ".reloc" as an
	ordinary "progbits" section.

gas/ChangeLog
2001-05-18  Alan Modra  <amodra@one.net.au>

	Merge from mainline.
	* config/tc-arc.c (md_assemble): Correct dwarf2_emit_insn param
	for 8 byte insns.
	* config/tc-i386.c (md_assemble): Call dwarf2_emit_insn before
	opcodes are output rather than after.  Delete insn_size.
	* config/tc-v850.c (md_assemble): Similarly, but delete
	total_insn_size.  Update copyright.

	2001-05-03  Alan Modra  <amodra@one.net.au>
	* config/tc-i386.c (i386_displacement): Call as_bad for bad GOTOFF
	expressions rather than triggering an assert.

	2001-03-30  Alan Modra  <alan@linuxcare.com.au>
	* config/tc-i386.c (UNCOND_JUMP, COND_JUMP, COND_JUMP86): Decrement.
	(md_relax_table): Remove first four unused entries.  Increment
	rlx_length by one throughout table, and update comments to suit.
	(md_estimate_size_before_relax): Return size of current variable
	part of frag to reflect reality when relaxing more than once.

	2001-03-25  Alan Modra  <alan@linuxcare.com.au>
	* config/tc-i386.c (i386_scale): Accept an absolute expression for
	scale factor, and return the end of the expression.
	(i386_operand): Modify for above.

	2001-03-13  Alan Modra  <alan@linuxcare.com.au>
	* config/tc-i386.c (RELOC_ENUM): Define.  Use throughout file.
	(NUM_FLAG_CODE): Define.
	(lex_got): New function.
	(got_reloc): New global var.
	(x86_cons_fix_new): New function.
	(x86_cons): New function.
	(i386_immediate): Use lex_got here, replacing inline code.  Change
	"ignoring junk.." error message to "junk.."
	(i386_displacement): Likewise.
	* config/tc-i386.h (TC_PARSE_CONS_EXPRESSION): Define.
	(x86_cons): Declare.
	(TC_CONS_FIX_NEW): Define.
	(x86_cons_fix_new): Declare.

	2001-03-07  Alan Modra  <alan@linuxcare.com.au>
	* config/tc-i386.c (struct _i386_insn): Rename disp_reloc to reloc.
	(md_assemble) <smallest displacement>: Use correct field of i.op[]
	union.
	<JumpInterSegment output>: Use correct i.disp_reloc[].
	<immediate output>: Likewise.

	2001-02-13  Alan Modra  <alan@linuxcare.com.au>
	* doc/c-i386.texi (i386-Arch): Add "jumps"/"nojumps" blurb.
	Mention effect of < 386 architectures on jump promotion.
	(i386-Jumps): xref above.  Don't assume long disp is 32 bits.

	* config/tc-i386.c (no_cond_jump_promotion): New.
	(set_cpu_arch): Parse "jumps" arch modifier.
	(insn_size): Modify usage comment.
	(ENCODE_RELAX_STATE): Reformat and protect macro arg.
	(SIZE_FROM_RELAX_STATE): Rename to DISP_SIZE_FROM_RELAX_STATE.
	(TYPE_FROM_RELAX_STATE): New define.
	(UNCOND_JUMP, COND_JUMP): Renumber.
	(md_relax_table): Reorder to suit.
	(COND_JUMP86): New define.
	(md_relax_table): Handle COND_JUMP86 cases. Add a few comments.
	(md_assemble): Create frag var for jumps of max size, encode relax
	state for COND_JUMP86.
	(md_estimate_size_before_relax): Handle COND_JUMP86 cases, and
	leave conditional jumps small if no_cond_jump_promotion.
	(md_convert_frag): Likewise.

	2001-05-10  Alan Modra  <amodra@one.net.au>
	* config/tc-v850.c (md_estimate_size_before_relax): Rewrite.
	(md_convert_frag): Don't bother clearing fr_var.
	(md_pseudo_table): Correct initialization.

	2001-05-12  Peter Targett  <peter.targett@arccores.com>
	* config/tc-arc.c: Update copyright and tidy source comments.
	(md_pseudo_table): Add directive .cpu back as an alias for
	.option.  Add .file and .line for dwarf2 support.
	(arc_mach_type): Make bfd_mach_arc_6 default.
	(md_longopts): Add entry 'pre-v6' representing old command line
	option when assembling for 'arc5' core versions.
	(md_parse_option): Make OPTION_ARC same as OPTION_ARC6, for new
	default behaviour.
	(arc_code_symbol): Make symbol value for @h30 fixup expression
	equal to O_constant.
	(md_assemble): Call dwarf2_emit_insn.
	Include "dwarf2dbg2.h".  Formatting fixes throughout file.
	* config/tc-arc.h (DWARF2_LINE_MIN_INSN_LENGTH): Define.
	* doc/c-arc.texi (ARC_CORE_DEFAULT): Update to new default.

	2001-05-15  Alexandre Oliva  <aoliva@redhat.com>
	* config/tc-mn10300.c (mn10300_force_relocation): Don't
	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-14  Alexandre Oliva  <aoliva@redhat.com>
	* config/tc-mn10300.c (md_assemble): Anchor dwarf2 line info
	before a relaxable insns.

	2001-05-13  Alexandre Oliva  <aoliva@redhat.com>
	* config/tc-mn10300.c (tc_gen_reloc): Don't reject differences
	between symbols if the base symbol is in the current section;
	emit a PC-relative relocation instead.

	2001-05-09  Alexandre Oliva  <aoliva@redhat.com>
	* config/tc-mn10300.c (md_apply_fix3): Accept PC-relative relocs.

	2001-05-06  Alexandre Oliva  <aoliva@redhat.com>
	* config/tc-mn10300.c (md_assemble): Subtract operand->shift
	from offset in non-pcrel operands too.

	2001-04-14  Alexandre Oliva  <aoliva@redhat.com>
	* config/tc-mn10300.c (md_assemble): Simplify offset adjustment of
	pc-relative relocations not placed at the end of the instruction.

	2001-04-06  Alexandre Oliva  <aoliva@redhat.com>
	* config/tc-mn10300.c (xr_registers): Added `pc'.

	2001-03-30  Alan Modra  <alan@linuxcare.com.au>
	* config/tc-mn10300.c (md_estimate_size_before_relax): Rewrite.

	2001-02-23   Richard Sandiford <rsandifo@redhat.com>
	* config/tc-mn10300.c (md_apply_fix3): Don't mark a fixup as
	done if it's against a symbol.

	2001-03-28  H.J. Lu  <hjl@gnu.org>
	* read.c (equals): Set to local for COFF only if it hasn't been
	defined before.

	2001-03-27  Nick Papadonis  <nick@coelacanth.com>
	* read.c (equals): (for COFF) default symbols to being local.

	2001-03-23  Richard Sandiford  <rsandifo@redhat.com>
	* write.c (fix_new_exp): Print an error if passed a register.

	2001-03-20  Alan Modra  <alan@linuxcare.com.au>
	* frags.h (struct frag): Add relax_marker.
	* write.c (is_dnrange): Delete.
	(relax_frag): Use correct types for `aim', `target', `address'.
	Delete `offset', `was_address'.  Test `relax_marker' instead of
	using fragile (and slow) address test.
	(relax_segment): Init and flip `relax_marker'.

	2001-02-13  Ian Lance Taylor  <ian@zembu.com>
	* write.c (is_dnrange): Stop as soon as the address becomes
	larger.
	(relax_frag): Add segment parameter.  Only call symbol_get_frag
	once.  Only call is_dnrange if the symbol is in the same segment,
	and the symbol address is larger.
	(relax_segment): Pass segment to md_relax_frag and relax_frag.
	* write.h (relax_frag): Update declaration.
	* config/tc-fr30.c (fr30_relax_frag): Add segment parameter.  Pass
	it to relax_frag.
	* config/tc-m32r.c (m32r_relax_frag): Likewise.
	* config/tc-m32r.h (md_relax_frag): Add segment parameter.
	(m32r_relax_frag): Update declaration.
	* config/tc-mips.h (md_relax_frag): Add segment parameter.
	* config/tc-tic54x.h (md_relax_frag): Likewise.
	* doc/internals.texi (CPU backend): Update documentation for
	md_relax_frag.

	2001-03-15  DJ Delorie  <dj@redhat.com>
	* stabs.c (s_stab_generic): Don't corrupt the notes obstack by
	blindly freeing string if it isn't at the top of the obstack.

opcodes/ChangeLog
2001-05-18  Alan Modra  <amodra@one.net.au>

	Merge from mainline
	2001-05-12  Peter Targett  <peter.targett@arccores.com>
	* arc-opc.c (arc_reg_names): Correct attribute for lp_count
	register to r/w.  Formatting fixes throughout file.

ld/ChangeLog
2001-05-18  Alan Modra  <amodra@one.net.au>

	* ldlang.c (wild_doit): Use linker_has_input to reliably determine
	whether an input section is the first one assigned to an output
	section.
	Assorted formatting fixes.

	Merge from mainline.
	2001-05-03  H.J. Lu  <hjl@gnu.org>
	* emultempl/elf32.em: Include "libiberty.h".
	(gld${EMULATION_NAME}_vercheck): Call basename () to get the
	basename of the bfd filename.
	(gld${EMULATION_NAME}_stat_needed): Likewise.
	(gld${EMULATION_NAME}_try_needed): Likewise.
	(gld${EMULATION_NAME}_open_dynamic_archive): Likewise.

	2001-03-17  Ulrich Drepper  <drepper@redhat.com>
	* emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
	is an absolute path look only for this file and not along the path.
	(OPTION_GROUP): New macro.
	Add new option Bgroup to longopts.
	(gld*_parse_args): Handle GROUP_OPTION and recognize -z defs.
	(gld*_list_options): Add -Bgroup and -z defs.
	* ld.1: Document -Bgroup and -z defs.
	* ld.texinfo: Likewise.

	2001-02-01  Nick Clifton  <nickc@redhat.com>
	* ld.1: Replace occurances of -oformat with --oformat.

	2001-05-02  H.J. Lu  <hjl@gnu.org>
	* ldfile.c: Include "libiberty.h".
	* ldlex.l: Likewise.
	* ldmisc.c (buystring): Removed.
	* ldmisc.h: Likewise.
	* ldfile.c: Replace buystring with xstrdup.
	* ldlang.c: Likewise.
	* ldlex.l: Likewise.
	* ldmain.c: Likewise.
	* ldmisc.c: Likewise.
	* lexsup.c: Likewise.
	* mpw-eppcmac.c: Likewise.

	2001-04-28  Paul Sokolovsky  <Paul.Sokolovsky@technologist.com>
        * ldlang.c (load_symbols): Give emulation a chance
        to process unrecognized file before fatal error is
        reported, not after.

	2001-02-26  H.J. Lu  <hjl@gnu.org>
	* ldlang.c (open_input_bfds): Set the bfd error handler so
        that problems can be caught whilst loading symbols.
        (record_bfd_errors): New function: Report BFD errors and mark
        the executable output as being invalid.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]