Commit Graph

50163 Commits

Author SHA1 Message Date
Kaz Kojima f50ad433e8 * elf32-sh.c (sh_elf_relocate_section): Don't reset relocation
for R_SH_REL32 in shared objects if the symbol is locally called.
2005-12-31 16:23:13 +00:00
Alan Modra 4cc603a56e * elf64-ppc.c (ppc64_elf_relocate_section): Adjust relocs against
opd section sym when opd has been edited.  Use correct addend
	when determining branch 'y' bit and branch overflow.  Adjust and
	save opd relocs for ld -r too.
2005-12-31 12:55:10 +00:00
Eric Christopher 86324f906b 2005-12-30 Eric Christopher <echristo@apple.com>
* elfxx-mips.c (mips_elf_record_global_got_symbol): Add assert
	to verify we have a got.
	(_bfd_mips_elf_check_relocs): Add R_MIPS_TLS_GOTTPREL to relocs
	needing a GOT.
2005-12-31 05:02:22 +00:00
gdbadmin 193802ef65 *** empty log message *** 2005-12-31 00:00:33 +00:00
Bob Wilson b2d179beda include:
* xtensa-config.h (XCHAL_HAVE_WIDE_BRANCHES): New.
gas:
	* config/tc-xtensa.c (op_placement_info_struct): Delete single,
	single_size, widest, and widest_size fields.  Add narrowest_slot.
	(xg_emit_insn_to_buf): Remove fmt parameter and compute it here.
	Use xg_get_single_slot to find the slot.
	(finish_vinsn): Use emit_single_op instead of bundle_single_op.
	(bundle_single_op): Rename this to....
	(bundle_tinsn): ...this function, which builds a vliw_insn but does
	not call finish_vinsn.
	(emit_single_op): Use bundle_tinsn instead of bundle_single_op.
	(relax_frag_immed): Get num_slots from cur_vinsn.
	(convert_frag_narrow): Update call to xg_emit_insn_to_buf.
	(convert_frag_immed): Likewise.  Also, get num_slots from cur_vinsn.
	(init_op_placement_info_table): Set narrowest_slot field.  Remove
	code for deleted fields.
	(xg_get_single_size): Return narrowest_size field, not single_size.
	(xg_get_single_format): Return narrowest field, not single.
	(xg_get_single_slot): New.
	(tinsn_to_insnbuf): Rewrite to use tinsn_to_slotbuf.
	* config/xtensa-relax.c (widen_spec_list): Add wide branch relaxations.
	(transition_applies): Check wide branch option availability.
2005-12-30 23:34:00 +00:00
Alan Modra 4136fff0f6 daily update 2005-12-30 23:00:06 +00:00
Dave Anglin db8274e6b9 * configure.host (hppa*64*-*-hpux*): Set host64 to true. 2005-12-30 22:25:57 +00:00
Jie Zhang 7bbe5bc540 * readelf.c (get_machine_name): Add case for Blackfin. 2005-12-30 08:27:16 +00:00
Bob Wilson cf523b8ea1 * config/tc-xtensa.h (MAX_MEM_FOR_RS_ALIGN_CODE): Define. 2005-12-30 00:57:27 +00:00
gdbadmin 42491b6f4e *** empty log message *** 2005-12-30 00:00:02 +00:00
Alan Modra 906ea27756 daily update 2005-12-29 23:00:07 +00:00
Bob Wilson b7c8023245 * config/tc-xtensa.c (tinsn_to_slotbuf): Do not zero slotbuf. 2005-12-29 21:04:14 +00:00
Nick Clifton faaad84b0e (bfd_hash_set_default_size): Add more entries to the hash_size_primes table. 2005-12-29 10:33:40 +00:00
Nick Clifton 88a670df3c (_bfd_link_section_stabs): Use bfd_hash_table_init rather than
bfd_hash_table_init_n(...,251) so that the size of the hash table can be
controlled by the user.
2005-12-29 10:29:23 +00:00
gdbadmin 36db13e724 *** empty log message *** 2005-12-29 00:00:35 +00:00
Alan Modra cbe0447a98 daily update 2005-12-28 23:00:05 +00:00
Eli Zaretskii 36b80e652c * gdb.texinfo (Registers): Describe how to refer to SSE and MMX
registers and the likes.
2005-12-28 20:05:49 +00:00
Mark Kettenis a1b06f3564 * gdb.asm/asm-source.exp (hppa-*-openbsd*): New.
* gdb.asm/openbsd.inc: Indent commands.
2005-12-28 10:36:00 +00:00
Jie Zhang cdc34721c4 * emulparams/bfin.sh: Define DATA_END_SYMBOLS and END_SYMBOLS.
And add a prefix '_' to ENTRY.
	* scripttempl/elf.sc: Add END_SYMBOLS.
2005-12-28 06:01:48 +00:00
gdbadmin d5e99e6489 *** empty log message *** 2005-12-28 00:00:02 +00:00
Alan Modra 814f8eddff daily update 2005-12-27 23:00:06 +00:00
Bob Wilson 01b5a19e0b * emultempl/xtensaelf.em (elf_xtensa_place_orphan): Delete.
(LDEMUL_PLACE_ORPHAN): Delete.
2005-12-27 22:56:02 +00:00
Dave Anglin 3c27d5511c * elf32-hppa.c (elf32_hppa_size_dynamic_sections): Use info->executable
instead of !info->shared.
2005-12-27 22:50:08 +00:00
Jan-Benedict Glaw ef98136453 2005-12-27 Jan-Benedict Glaw <jbglaw@lug-owl.de>
* vaxlinux.h: New file. (TRAD_CORE_EXTRA_SIZE_ALLOWED): Define.
	(HOST_MACHINE_ARCH): Define. This allows cross-building vax-linux
	hosted binutils.
2005-12-27 22:17:25 +00:00
Mark Kettenis 585e38edb9 * sparc64obsd-tdep.c: Include "gdbcore.h", "regcache.h" amd
"bsd-uthread.h".
(SPARC64OBSD_UTHREAD_FP_OFFSET, SPARC64OBSD_UTHREAD_PC_OFFSET):
New defines.
(sparc64obsd_supply_uthread, sparc64obsd_collect_uthread): New
functions.
(sparc64obsd_init_abi): Set supply_uthread and collect_uthread.
* Makefile.in (sparc64obsd-tdep.o): Update dependencies.
2005-12-27 22:14:42 +00:00
Jan-Benedict Glaw 79ffea3ba3 2005-12-26 Jan-Benedict Glaw <jbglaw@lug-owl.de>
* MAINTAINERS: Add myself as VAX maintainer.
2005-12-27 19:43:47 +00:00
Nathan Sidwell f07efa0b37 * config/tc-mt.c (mt_arch): Default to ms1_16_002.
(md_parse_options): Only allow lowercase.
	(md_show_usage): Update.
2005-12-27 18:38:05 +00:00
Nathan Sidwell e510ff9728 * elf32-mt.c (mt_elf_merge_private_bfd_data): Do not allow mixing
object files from different mt variants.
2005-12-27 17:47:42 +00:00
Nick Clifton b59bea8a13 Add support for RDOS targets. 2005-12-27 17:42:45 +00:00
Nick Clifton d7730bac5b PR binutils/1990
* libtool.m4: Synchronize with version in GCC sources.
2005-12-27 16:37:57 +00:00
Nick Clifton 650f284e0d (lookup_symbol_in_function_table): Check for a function name before passing
it to strcmp.
2005-12-27 16:07:36 +00:00
Mark Kettenis 92c2d36aa1 * sparcobsd-tdep.c: Include "gdbcore.h", "regcache.h" and
"bsd-uthread.h".
(SPARC32OBSD_UTHREAD_FP_OFFSET, SPARC32OBSD_UTHREAD_PC_OFFSET):
New defines.
(sparc32obsd_supply_uthread, sparc32obsd_collect_uthread): New
functions.
(sparc32obsd_init_abi): Set supply_uthread and collect_uthread.
* Makefile.in (sparcobsd-tdep.o): Update dependencies.
* config/sparc/obsd.mt (TDEPFILES): Add bsd-uthread.o.
* config/sparc/obsd64.mt (TDEPFILES): Likewise.
2005-12-27 12:23:02 +00:00
Nick Clifton 0359e808fd PR 1300
* config/tc-arm.c (md_apply_fix): Fix casts to match type in printf format.
2005-12-27 11:55:37 +00:00
Nick Clifton 590f19724d Add new Vietnamese translation 2005-12-27 11:00:03 +00:00
Alan Modra a192385803 * elf.c (elf_find_function): Don't ignore section syms.
Simplify filename logic.
2005-12-27 09:22:59 +00:00
Alan Modra 70949bf12c missed copyright 2005 addition 2005-12-27 04:19:15 +00:00
Alan Modra 9f20e3dae5 * elfread.c (elf_symfile_read): Don't make synth syms global. 2005-12-27 04:09:40 +00:00
Alan Modra ac39eb42f4 * elf32-ppc.c (add_stub_sym): Pass info rather than htab.
Use different names for pic vs non-pic, '.' instead of '_'.
	(allocate_dynrelocs): Adjust add_stub_sym call.
2005-12-27 03:54:33 +00:00
Alan Modra 185ef66d06 * elf.c (bfd_section_from_shdr): Treat invalid reloc sections as
normal sections rather than returning false.
2005-12-27 03:45:30 +00:00
Alan Modra 44da2da10b * coff-h8300.c (h8300_reloc16_extra_cases): Use input section
"output_offset" instead of link order "offset".
	* coff-h8500.c (extra_case): Likewise.
	* coff-w65.c (w65_reloc16_extra_cases): Likewise.
	* coff-z80.c (extra_case): Likewise.
	* coff-z8k.c (extra_case): Likewise.
	* linker.c (default_indirect_link_order): Likewise, "size" too.
	* ecoff.c (ecoff_indirect_link_order): Likewise.
2005-12-27 03:06:27 +00:00
Alan Modra 2dadb5f9cc * Makefile.am (Makefile): Remove dependency.
* Makefile.in: Regenerate.
	* aclocal.m4: Regenerate.
	* gconfig.in: Regenerate.
2005-12-27 01:21:27 +00:00
Alan Modra 1763d3d870 * Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
2005-12-27 01:21:01 +00:00
Alan Modra bfc2f0bb67 * Makefile.am: Run "make dep-am".
(Makefile): Remove dependency.
	* Makefile.in: Regenerate.
2005-12-27 01:20:35 +00:00
Alan Modra c85a332d60 * Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
	* po/POTFILES.in: Regenerate.
2005-12-27 01:20:06 +00:00
Alan Modra ec45615693 * Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
	* po/SRC-POTFILES.in: Regenerate.
2005-12-27 01:19:01 +00:00
gdbadmin baa22e6369 *** empty log message *** 2005-12-27 00:00:02 +00:00
Alan Modra 05f971d98f daily update 2005-12-26 23:00:05 +00:00
Mark Kettenis 4807909c00 * sparc64obsd-tdep.c: Include "obsd-tdep.h".
(sparc64obsd_init_abi): Set skip_solib_resolver to
obsd_skip_solib_resolver instead of find_solib_trampoline_target.
* Makefile.in (sparc64obsd-tdep.o): Update dependencies.
* config/sparc/obsd64.mt (TDEPFILES): Add obsd-tdep.o.
2005-12-26 19:31:22 +00:00
Mark Kettenis dfe1ff2efe * sparcobsd-tdep.c: Include "obsd-tdep.h".
(sparc32obsd_init_abi): Set skip_solib_resolver.
* Makefile.in (sparcobsd-tdep.o): Update dependencies.
* config/sparc/obsd.mt (TDEPFILES): Add obsd-tdep.o.
2005-12-26 19:27:03 +00:00
Mark Kettenis fb08a90b3c * obsd-tdep.c: New file.
* obsd-tdep.h: New file.
* Makefile.in (obsd_tdep_h): New variable.
(ALLDEPFILES): Add obsd-tdep.c.
(obsd-tdep.o): New target.
2005-12-26 19:15:11 +00:00