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]
Other format: [Raw text]

Re: mips .bss lma broken


On Mon, Mar 25, 2002 at 08:01:41PM +1030, Alan Modra wrote:
> On Sat, Mar 23, 2002 at 02:07:57PM -0500, Daniel Jacobowitz wrote:
> > 
> > 2.12 branch also, please.
> 
> OK.  Any objections to a few more?  I think these are all reasonably
> safe, or have been sitting on mainline long enough.  There are others
> that should probably go across too, various coff bits, mips, but I'd
> rather leave them to the appropriate maintainers to judge suitability
> for the branch.

(And I believe you checked in something else the day after you wrote
this that was a good branch candidate.  I don't remember what it was.)

This is a bit more than I would have moved over if I'd been going
through it myself, but I trust your judgement; go ahead.  Any
particular reason you left out:

2002-03-14  Alan Modra  <amodra@bigpond.net.au>

        * cpu-mips.c (mips_compatible): New.  Don't check bits_per_word.
        (N): Use the above.

?  You got the other half of that patch.

> bfd/ChangeLog
> 	Merge from mainline.
> 	2002-03-23  Alan Modra  <amodra@bigpond.net.au>
> 	* elf.c (_bfd_elf_make_section_from_shdr): Don't set lma based on
> 	section file offset for !SEC_LOAD sections.
> 
> 	2002-03-20  Daniel Jacobowitz  <drow@mvista.com>
> 	* dwarf2.c (struct funcinfo): Move up.
> 	(lookup_address_in_function_table): New argument function_ptr.
> 	Set it.
> 	(lookup_address_in_line_table): New argument function.  If function
> 	is non-NULL, use it to handle ``addr'' before the first line note of
> 	the function.
> 	(comp_unit_find_nearest_line): Update and swap calls to
> 	lookup_address_in_function_table and lookup_address_in_line_table.
> 	* syms.c (_bfd_stab_section_find_nearest_line): Use the first
> 	N_SLINE encountered if we see an N_FUN before any N_SLINE.
> 
> 	2002-03-18  Alan Modra  <amodra@bigpond.net.au>
> 	* libbfd.c (bfd_write_bigendian_4byte_int): Return true iff success.
> 	* libbfd.h: Regenerate.
> 	* archive.c (coff_write_armap): Pass on failures from
> 	bfd_write_bigendian_4byte_int.
> 
> 	2002-03-14  H.J. Lu <hjl@gnu.org>
> 	* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the BFD
> 	error to bfd_error_nonrepresentable_section for reinit_array
> 	section in DSO.
> 
> 	2002-03-14  Nick Clifton  <nickc@cambridge.redhat.com>
> 	* coffcode.h (coff_slurp_symbol_table): When adding BSF_WEAK flag,
> 	OR it in rather than replacing previously selected flags.
> 	* elfxx-target.h (TARGET_BIG_SYM): Set ar_max_namelen to 15.
> 	(TARGET_LITTLE_SYM): Set ar_max_namelen to 15.
> 
> 	2002-03-14  Alan Modra  <amodra@bigpond.net.au>
> 	* elflink.h (elf_bfd_final_link): Revert last change.  Instead,
> 	ensure reloc size matches before calling elf_link_input_bfd.
> 	Add an assert to check reloc size when counting output relocs.
> 
> 	2002-03-14  Nick Clifton  <nickc@cambridge.redhat.com>
> 	* mmo.c (mmo_get_loc): Return NULL rather than false.
> 
> 	2002-03-13  Alan Modra  <amodra@bigpond.net.au>
> 	* elflink.h: Formatting fixes.
> 	(elf_link_output_extsym): Merge undefined and undef weak cases.
> 	* elflink.h (elf_bfd_final_link): Only call elf_link_input_bfd
> 	when word size of input matches output word size.
> 
> 	2002-03-07  H.J. Lu  (hjl@gnu.org)
> 	* coff-sh.c (shcoff_reloc_map): Use bfd_reloc_code_real_type
> 	as the type for bfd_reloc_val.
> 
> 	2002-03-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
> 	* elf-hppa.h (elf_hppa_is_dynamic_loader_symbol): New function.
> 	(elf_hppa_relocate_section): Ignore undefined dynamic loader symbols.
> 	(elf_hppa_final_link_relocate): Correct relocations for indirect
> 	references to local data through the DLT.  Fix .opd creation for
> 	local symbols using R_PARISC_LTOFF_FPTR32 and R_PARISC_FPTR64
> 	relocations.  Use e_lsel selector for R_PARISC_DLTIND21L,
> 	R_PARISC_LTOFF_FPTR21L and R_PARISC_LTOFF_TP21L as per
> 	"Processor-Specific ELF for PA_RISC, Version 1.43" document.
> 	Similarly, use e_rsel for DLT and LTOFF 'R' relocations.
> 	* elf32-hppa.c (final_link_relocate): Revise relocation selectors
> 	as per "Processor-Specific ELF for PA_RISC, Version 1.43" document.
> 
> 	2002-03-05  Jakub Jelinek  <jakub@redhat.com>
> 	* merge.c (_bfd_merge_sections): Don't segfault if there
> 	is nothing to merge due to GC.
> 
> 	2002-03-05  Alan Modra  <amodra@bigpond.net.au>
> 	* elf32-hppa.c (clobber_millicode_symbols): Remove hack to keep
> 	symbols that have been forced local.
> 	* elflink.h (elf_bfd_final_link): Call elf_link_output_extsym
> 	to output forced local syms for non-shared link.
> 	(elf_link_output_extsym): Tweak condition for calling backend
> 	adjust_dynamic_symbol so that previous behaviour is kept.
> 	Whitespace changes throughout file.
> 
> 	2002-03-04  H.J. Lu <hjl@gnu.org>
> 	* elf.c (bfd_section_from_shdr): Handle special sections,
> 	.init_array, .fini_array and .preinit_array.
> 	(elf_fake_sections): Likewise.
> 	* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Create the
> 	DT entry only if the section is in output for .init_array,
> 	.fini_array and .preinit_array. Complain about .preinit_array
> 	section in DSO.
> 	(elf_bfd_final_link): Warn zero size for .init_array,
> 	.fini_array and .preinit_array sections.
> 	* elfxx-ia64.c (elfNN_ia64_section_from_shdr): Remove
> 	SHT_INIT_ARRAY, SHT_FINI_ARRAY and SHT_PREINIT_ARRAY.
> 	(elfNN_ia64_fake_sections): Remove .init_array, .fini_array and
> 	.preinit_array.
> 
> 	2002-03-01  David Mosberger  <davidm@hpl.hp.com>
> 	* elflink.h (size_dynamic_sections): If section named
> 	".preinit_array" exists, create DT_PREINIT_ARRAY and
> 	DT_PREINIT_ARRAYSZ entries in dynamic table.  Analogously for
> 	".init_array" and ".fini_array".
> 	(elf_bfd_final_link): Handle DT_PREINIT_ARRAYSZ, DT_INIT_ARRAYSZ,
> 	DT_FINI_ARRAYSZ, DT_PREINIT_ARRAY, DT_INIT_ARRAY, and
> 	DT_FINI_ARRAY.
> 
> 	2002-02-19  Frank Ch. Eigler  <fche@redhat.com>
> 	* syms.c (stt[]): Sorted.  Added .init/.fini -> "t" mapping.
> 
> 	2002-02-13  Nick Clifton  <nickc@cambridge.redhat.com>
> 	* elf.c (_bfd_elf_make_section_from_shdr): Do not insist on
> 	non-zero physical addresses when adjusting the LMAs of new
> 	sections.
> 
> 	2002-02-11  Michael Snyder  <msnyder@redhat.com>
> 	* elf-bfd.h (elfcore_write_lwpstatus): Add prototype.
> 	* elf.c (elfcore_grok_pstatus): Add prototype.
> 	(elfcore_grok_lwpstatus): Add prototype.
> 	(elfcore_write_lwpstatus): New function.
> 	(elfcore_write_pstatus): Fix typo, eliminate unnecessary memcpy.
> 
> opcodes/ChangeLog
> 	Merge from mainline.
> 	2002-03-23  matthew green  <mrg@redhat.com>
> 	* ppc-opc.c (vmaddfp): Fix operand order.
> 
> 	2002-03-21  Anton Blanchard  <anton@samba.org>
> 	* ppc-opc.c: Add optional field to mtmsrd.
> 	(MTMSRD_L, XRLARB_MASK): Define.
> 
> 	2002-03-13  Alan Modra  <amodra@bigpond.net.au>
> 	* ppc-opc.c: Add optional `L' field to tlbie.
> 	(XRTLRA_MASK): Define.
> 
> 	2002-02-20  Tom Rix  <trix@redhat.com>
> 	* ppc-opc.c (powerpc_operands): Add WS feild.  Use for tlbre, tlbwe.
> 
> gas/ChangeLog
> 	Merge from mainline.
> 	2002-03-12  Andreas Schwab  <schwab@suse.de>
> 	* config/tc-ia64.c (fixup_unw_records): Clear region when seeing a
> 	body record so that an error is given for misplaced .save
> 	pseudo-ops.
> 
> 	2002-03-09  Alan Modra  <amodra@bigpond.net.au>
> 	* config/tc-i386.h (REX_OPCODE): Define.
> 	(REX_MODE64, REX_EXTX, REX_EXTY, REX_EXTZ): Define.
> 	(rex_byte): typedef to int.
> 	* config/tc-i386.c: Group prototypes and vars together.
> 	Formatting fixes.  Remove occurrences of "register" keyword.
> 	(true): Delete.
> 	(false): Delete.
> 	(mode_from_disp_size): Add INLINE keyword to prototype.
> 	(fits_in_signed_byte): Likewise.
> 	(fits_in_unsigned_byte): Likewise.
> 	(fits_in_unsigned_word): Likewise.
> 	(fits_in_signed_word): Likewise.
> 	(fits_in_unsigned_long): Likewise.
> 	(fits_in_signed_long): Likewise.
> 	(type_names): Constify.
> 	(intel_float_operand): Constify param.
> 	(add_prefix): Use REX_OPCODE.
> 	(md_assemble): Likewise.  Modify for changed rex_byte.
> 	(parse_insn): Split out of md_assemble.
> 	(parse_operands): Likewise.
> 	(swap_operands): Likewise.
> 	(optimize_imm): Likewise.
> 	(optimize_disp): Likewise.
> 	(match_template): Likewise.
> 	(check_string): Likewise.
> 	(process_suffix): Likewise.
> 	(check_byte_reg): Likewise.
> 	(check_long_reg): Likewise.
> 	(check_qword_reg): Likewise.
> 	(check_word_reg): Likewise.
> 	(finalize_imm): Likewise.
> 	(process_operands): Likewise.
> 	(build_modrm_byte): Likewise.
> 	(output_insn): Likewise.
> 	(output_branch): Likewise.
> 	(output_jump): Likewise.
> 	(output_interseg_jump): Likewise.
> 	(output_disp): Likewise.
> 	(output_imm): Likewise.
> 
> 	2002-03-06  Alan Modra  <amodra@bigpond.net.au>
> 	* config/tc-i386.c (tc_gen_reloc): Don't attempt to handle 8 byte
> 	relocs except when BFD64.
> 	* write.c (number_to_chars_bigendian): Don't abort when N is
> 	larger than sizeof (VAL).
> 	(number_to_chars_littleendian): Likewise.
> 
> 	2002-03-05  John David Anglin  <dave@hiauly1.hia.nrc.ca>
> 	* config/tc-hppa.c (md_apply_fix3): Add cast.
> 	(hppa_fix_adjustable): Adjust list of selectors using e_lrsel and
> 	e_rrsel.
> 
> 	2002-03-04  H.J. Lu <hjl@gnu.org>
> 	* config/obj-elf.c (special_section): Add .init_array,
> 	.fini_array and .preinit_array.
> 	* config/tc-ia64.h (ELF_TC_SPECIAL_SECTIONS): Remove
> 	.init_array and .fini_array.
> 
> 	2002-03-01  Jakub Jelinek  <jakub@redhat.com>
> 	* config/obj-elf.c (elf_copy_symbol_attributes): Don't copy
> 	visibility.
> 	(obj_frob_symbol): Copy visibility.
> 
> ld/ChangeLog
> 	Merge from mainline.
> 	2002-03-21  Albert Chin-A-Young  <china@thewrittenword.com>
> 	* genscripts.sh (LIB_SEARCH_DIRS): Quote path.
> 
> 	2002-03-20  Alan Modra  <amodra@bigpond.net.au>
> 	* ldlang.c (ldlang_add_undef): If the output bfd has been opened,
> 	add the symbol to the linker hash table immediately.
> 	(lang_place_undefineds): Split symbol creation out..
> 	(insert_undefined): ..to here.
> 
> 	2002-03-18  Alan Modra  <amodra@bigpond.net.au>
> 	* ldmain.c (main): Move .text readonly flag fudges from here..
> 	* ldlang.c (lang_process): ..to here.
> 
> 	2002-03-14  Alan Modra  <amodra@bigpond.net.au>
> 	* ldlang.c (lang_check): Remove the word size check added in last
> 	change.  Treat emitrelocations case as for relocatable links.
> 
> 	2002-03-13  Alan Modra  <amodra@bigpond.net.au>
> 	* ldlang.c (lang_check): Do relocatable link checks first, so that
> 	warn_mismatch can't override.  Check compatible and word size too.
> 
> 	2002-03-04  H.J. Lu <hjl@gnu.org>
> 	* scripttempl/elf.sc: Put .preinit_array, .init_array and
> 	.fini_array in the data segment.
> 
> 	2002-03-04  Alan Modra  <amodra@bigpond.net.au>
> 	* scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
> 
> 	2002-03-01  David Mosberger  <davidm@hpl.hp.com>
> 	* scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,
> 	.init_array, and .fini_array.
> 
> -- 
> Alan Modra
> IBM OzLabs - Linux Technology Centre
> 

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer


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