Ian Lance Taylor [Fri, 24 Jul 1998 16:51:33 +0000 (16:51 +0000)]
start-sanitize-r5900
The value of R_MIPS15_S3 has changed:
* elf32-mips.c (elf_mips15_s3_howto): New static variable.
(mips_reloc_map): Remove BFD_RELOC_MIPS15_S3.
(bfd_elf32_bfd_reloc_type_lookup): Handle BFD_RELOC_MIPS15_S3
specially.
(mips_info_to_howto_rel): Handle R_MIPS15_S3 specially.
(mips_elf_relocate_section): Check for R_MIPS15_S3.
end-sanitize-r5900
* elf32-mips.c (elf_mips_howto_table): Add reloc types used on
Irix 6.
(bfd_elf32_bfd_reloc_type_lookup): Add default case.
* elf64-mips.c: Replace all uses of mips_elf64_reloc_type with
elf_mips_reloc_type defined in elf/mips.h.
* config/tc-dvp.c (assemble_vif): Make label at start of overlay
a local label.
(create_vuoverlay_section): Put __start_ label at start of overlay
for gdb.
* configure.in (mips64r5900-sky-elf*): Use config/mt-sky.
Set extraconfigdirs to build dvp-elf-as.
* configure (extraconfigdirs): New variable.
(SUBDIRS): Add extraconfigdirs and recurse on them too.
* Makefile.in (all): Move higher in file.
(EXTRA_TARGET_HOST_ALL_MODULES): New variable.
(EXTRA_TARGET_HOST_{INSTALL,CHECK}_MODULES): New variables.
(ALL_MODULES): Add EXTRA_TARGET_HOST_ALL_MODULES.
(CROSS_CHECK_MODULES): Add EXTRA_TARGET_HOST_CHECK_MODULES.
(INSTALL_MODULES): Add EXTRA_TARGET_HOST_INSTALL_MODULES.
Mark Alexander [Fri, 24 Jul 1998 14:48:41 +0000 (14:48 +0000)]
* mn10300-tdep.c (set_movm_offsets): New helper function
for mn10300_analyze_prologue.
(mn10300_analyze_prologue): Simplify by factoring out common code.
Fix bugs in setting frame address for optimized code.
Use read_memory_nobpt instead of target_read_memory.
Dawn Perchik [Thu, 23 Jul 1998 22:14:48 +0000 (22:14 +0000)]
* sparc-tdep.c (sparc_init_extra_frame_info): Recognize when we're
in a function prologue before the SAVE instruction.
(sparc_frame_saved_pc): Ditto.
* config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Add in_prologue flag.
Dawn Perchik [Thu, 23 Jul 1998 21:48:28 +0000 (21:48 +0000)]
* remote-mips.c (remote_mips_insert_hw_breakpoint,
remote_mips_remove_hw_breakpoint): New functions for hardware
breakpoints on LSI targets.
* config/mips/tm-embed.h (target_remove_hw_breakpoint,
target_insert_hw_breakpoint): Define to call
remote_mips_insert_hw_breakpoint and remote_mips_remove_hw_breakpoint,
respectively.
Jeff Law [Thu, 23 Jul 1998 17:30:54 +0000 (17:30 +0000)]
* Re-add lost change:
* elf-m10300.c (elf32_mn10300_link_hash_entry): Add new field
"movm_stack_size".
(mn10300_elf_relax_section): Include stack space for register saves
in the imm8 field of a "call" instruction.
(compute_function_info): Determine how much stack is allocated by
the movm instruction. Fix typo.
(elf32_mn10300_link_hash_newfunc): Initialize movm_stack_size.
Ian Lance Taylor [Thu, 23 Jul 1998 16:31:01 +0000 (16:31 +0000)]
* scripttempl/aout.sc: If ALIGNMENT is defined, use it to set
alignment of end symbol.
* scripttempl/elf.sc: Likewise.
* emulparams/sun4.sh (ALIGNMENT): Define.
* emulparams/elf32_sparc.sh (ALIGNMENT): Define.
* ldint.texinfo (emulation parameters): Document ALIGNMENT.
Ian Lance Taylor [Thu, 23 Jul 1998 16:24:15 +0000 (16:24 +0000)]
* ld-elfvers/vers.exp: Just check for i?86 rather than checking
for i386, i486, and i586.
(objdump_versionstuff): If we can't find the line, dump the file.
Ian Lance Taylor [Wed, 22 Jul 1998 20:44:52 +0000 (20:44 +0000)]
* ieee.c (ieee_find_nearest_line): Change filename_ptr and
functionname_ptr to be const. Change line_ptr to be unsigned.
* coffcode.h (coff_link_output_has_begun): Simplify handling when
macro is not defined. Change second parameter from bfd_link_info
to coff_final_link_info. Add prototype.
(coff_final_link_postscript): Simplify handling when macro is not
defined. Add prototype.
* Bringing over sky (dvp) gas change from branch.
Wed Jul 22 17:39:28 1998 Frank Ch. Eigler <[email protected]>
* config/tc-dvp.c (parse_float): Accept 0xhex constants
also for VU LOI operand.
Use symbolic names of relocation entries for the various
architectures. Correct more layout details. Print names of MIPS
specific section types. Print Alpha, ARM, and MIPS relocation type
names.
* addr2line.c (find_address_in_section): Only consider a section
if the pc value is completely contained within it.
(translate_addresses): Don't crash if functionname or filename are
null.