Commit Graph

54981 Commits

Author SHA1 Message Date
Richard Sandiford 8275b357ad bfd/
* elfxx-mips.c (mips_elf_link_hash_table): Add computed_got_sizes.
	(mips_elf_record_global_got_symbol): Increment local_gotno for
	each forced-local symbol.
	(_bfd_mips_elf_check_relocs): Pass forced-local call symbols to
	mips_elf_record_global_got_symbol for VxWorks too.
	(_bfd_mips_elf_always_size_sections): Set computed_got_sizes
	to true after computing the GOT size.
	(_bfd_mips_elf_hide_symbol): Increase local_gotno whenever
	got.offset == 1.  Only adjust global_gotno if computed_got_sizes.
	For VxWorks, add a local entry when hiding a symbol that needs a
	plt but has not been marked as needing a global got entry.
	(_bfd_mips_elf_link_hash_table_create): Set computed_got_sizes to
	false.

ld/testsuite/
	* ld-mips-elf/vxworks-forced-local-1.d,
	* ld-mips-elf/vxworks-forced-local-1.s,
	* ld-mips-elf/vxworks-forced-local-1.ver: New test.
	* ld-mips-elf/mips-elf.exp: Run it.
	* ld-mips-elf/tlsdyn-o32-2.d: Adjust for removal of unnecessary
	local GOT entry.
	* ld-mips-elf/tlsdyn-o32-2.got: Likewise.
	* ld-mips-elf/tlsdyn-o32-3.d: Likewise.
	* ld-mips-elf/tlsdyn-o32-3.got: Likewise.
	* ld-mips-elf/vxworks1-lib.dd: Likewise.
	* ld-mips-elf/vxworks1-lib.rd: Likewise.
2007-08-13 21:16:39 +00:00
Daniel Jacobowitz 2cc176786d * config/default.exp: New file. 2007-08-13 14:35:59 +00:00
Nick Clifton 655c27c14f * standards.texi: Import 22 July 2007 version.
* fdl.texi: Import version 1.2.
* make-stds.texi: Import 2006 version.
2007-08-13 09:45:22 +00:00
Daniel Jacobowitz 876c34bf84 * NEWS: Add a marker for the 2.18 features. 2007-08-13 01:56:12 +00:00
Daniel Jacobowitz 9975e4c4ae * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
$(top_srcdir)/../../bfd/doc.
	* doc/Makefile.in: Regenerate.
2007-08-13 01:53:01 +00:00
Daniel Jacobowitz 649aeae36c * coffgen.c (coff_get_normalized_symtab): Correct cast. 2007-08-13 01:45:11 +00:00
Ben Elliston 2444379b19 * configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Pass
--silent if $silent.
	* configure: Regenerate.
2007-08-13 01:32:36 +00:00
Alan Modra 3dea8fca8b * elf.c (elf_modify_segment_map): Add remove_empty_load param.
Don't remove empty PT_LOAD header if false.
	(_bfd_elf_map_sections_to_segments): If user phdrs, pass false
	to elf_modify_segment_map.
	(assign_file_positions_for_load_sections): Pass false to
	elf_modify_segment_map.
2007-08-13 00:44:20 +00:00
Alan Modra ac2df442ac bfd/
* elf64-ppc.c (ADDI_R12_R12, LD_R11_0R2, LD_R2_0R2): Define.
	Update stub comments.
	(build_plt_stub): Build two variants, one without "addis".
	(ppc_build_one_stub): Build stubs without "addis" if possible.
	(ppc_size_one_stub): Size new stubs.
ld/testsuite/
	* ld-powerpc/relbrlt.s (.text.pad2): Adjust space.
	* ld-powerpc/relbrlt.d: Update.
	* ld-powerpc/tlsexe.d: Update.
	* ld-powerpc/tlsexe.g: Update.
	* ld-powerpc/tlsexe.r: Update.
	* ld-powerpc/tlsexetoc.d: Update.
	* ld-powerpc/tlsexetoc.g: Update.
	* ld-powerpc/tlsexetoc.r: Update.
	* ld-powerpc/tlsso.d: Update.
	* ld-powerpc/tlsso.g: Update.
	* ld-powerpc/tlsso.r: Update.
	* ld-powerpc/tlstocso.d: Update.
	* ld-powerpc/tlstocso.g: Update.
2007-08-13 00:20:59 +00:00
Alan Modra d673094738 daily update 2007-08-13 00:00:05 +00:00
gdbadmin 4a349aac20 *** empty log message *** 2007-08-13 00:00:04 +00:00
Daniel Jacobowitz d6f9944718 * src-release (DEVO_SUPPORT): Add COPYING3 and COPYING3.LIB. 2007-08-12 19:05:42 +00:00
Daniel Jacobowitz 19aec961fa * configure.in (ALL_LINGUAS): Add fi.
* po/fi.po: New file.
	* configure: Regenerated.
2007-08-12 18:59:46 +00:00
Alan Modra f18b2e1bc4 daily update 2007-08-12 00:00:06 +00:00
gdbadmin 2eff3c4ee5 *** empty log message *** 2007-08-12 00:00:02 +00:00
Michael Snyder 489f05169b 2007-08-11 Michael Snyder <msnyder@access-company.com>
* completer.c: Spelling fix in comments.
2007-08-11 20:08:37 +00:00
Richard Sandiford 2f964f43a7 bfd/
* config.bfd (sh-*-vxworks): Define targ_underscore to "yes".
2007-08-11 17:31:23 +00:00
Michael Snyder 687d6395d7 2007-08-10 Michael Snyder <msnyder@access-company.com>
* gdbtypes.c: Coding standard cleanup.
2007-08-11 00:28:30 +00:00
Michael Snyder 7ba8144421 2007-08-10 Michael Snyder <msnyder@access-company.com>
* gdbtypes.c: Comment/whitespace cleanup.
2007-08-11 00:22:21 +00:00
gdbadmin 8c37cbb658 *** empty log message *** 2007-08-11 00:00:33 +00:00
Alan Modra 124c70ca86 daily update 2007-08-11 00:00:06 +00:00
Michael Snyder 6aef78af04 2007-08-10 Michael Snyder <msnyder@access-company.com>
* stabsread.c (read_huge_number): Attempt to compute value before
	values that it depends on.
2007-08-10 22:08:22 +00:00
Michael Snyder 46be51c450 2007-08-10 Michael Snyder <msnyder@access-company.com>
* linespec.c (decode_dollar): Dead code, ptr can't be non-null.
	(decode_objc): Use "NULL" instead of 0.
	(find_method): Ditto.
	(decode_all_digits): Ditto.
	(decode_dollar): Ditto.
2007-08-10 22:01:27 +00:00
Michael Snyder 412bbd6c82 2007-08-10 Michael Snyder <msnyder@access-company.com>
* mi/mi-main.c (mi_cmd_data_evaluate_expression): Resource leak.
2007-08-10 21:52:38 +00:00
Michael Snyder 76bd6e0b6e 2007-08-10 Michael Snyder <msnyder@access-company.com>
* mi/mi-cmd-var.c (mi_cmd_var_list_children): Memory leak.
2007-08-10 21:44:23 +00:00
Michael Snyder 518f9d3cd4 2007-08-10 Michael Snyder <msnyder@access-company.com>
* solib-svr4.c (enable_break): Don't free tmp_pathname until
	after closing bfd.
2007-08-10 20:42:45 +00:00
Michael Snyder 9c3f90bd3a 2007-08-10 Michael Snyder <msnyder@access-company.com>
* completer.c: Comment/whitespace cleanup.
2007-08-10 20:35:09 +00:00
Joel Brobecker adee02064a * Makefile.in (i386nbsd-nat.o): Add missing dependency. 2007-08-10 17:52:09 +00:00
Maxim Grigoriev 9f8e69991e 2007-08-10 Maxim Grigoriev <maxim2405@gmail.com>
* remote-fileio.c (remote_fileio_resize_fd_map): Initialize newly
	allocated file descriptors.
2007-08-10 17:49:48 +00:00
Joel Brobecker 271a27b8c3 * Makefile.in: Minor cleanup throughout; add some missing variables,
add some missing rules, remove some rules that are no longer needed,
        and fix the dependencies in several rules.
2007-08-10 17:26:45 +00:00
Nick Clifton f40f1a01c5 * sim-memopt.c (memory_options): Mention that the memory-size switch accepts suffixes.
(parse_size): Handle a suffix on the size value.
* sim-options.c (standard_options): Mention that the mem-size switch accepts suffixes.
  (standard_option_handler): Handle a suffix on the size value.
2007-08-10 14:26:33 +00:00
Nick Clifton ec8cbbf6de Add M R Swami Reddy as CR16/CRX support maintainer. 2007-08-10 13:25:31 +00:00
Nick Clifton 7c3d153f7d Add a marker for the 2.18 features. 2007-08-10 13:21:40 +00:00
Nick Clifton d02756e75b Updated Finnish, Irish and Vietnamese translations 2007-08-10 13:16:32 +00:00
H.J. Lu 745535d6c1 Mention PR ld/4877. 2007-08-10 12:41:33 +00:00
H.J. Lu 347a31931d 2007-08-10 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am: Run "make dep-am".
	* Makefile.in: Regenerate.
2007-08-10 12:36:21 +00:00
H.J. Lu fe8b7f8739 2007-08-10 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4875
	* elf-hints-local.h: Include bfd_stdint.h.  Use uint32_t
	instead of u_int32_t.

	* sha1.h: Include bfd_stdint.h instead of <stdint.h>.
2007-08-10 12:25:30 +00:00
Kai Tietz bd37ed4910 patch: Correct documentation of windmc. 2007-08-10 07:12:37 +00:00
gdbadmin 724ed4c5f2 *** empty log message *** 2007-08-10 00:00:33 +00:00
Alan Modra 470e0e5f84 daily update 2007-08-10 00:00:07 +00:00
Michael Snyder 6b8f0fd579 2007-08-09 Michael Snyder <msnyder@access-company.com>
* aoutx.h (aout_get_external_symbols): Return if count is zero.
2007-08-09 23:14:55 +00:00
H.J. Lu 6d33f2176c 2007-08-09 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4909
	* elf.c (print_segment_map): New function.
	(assign_file_positions_for_load_sections): Call print_segment_map
	when a section can't be allocated in segment.
2007-08-09 23:13:41 +00:00
Ludovic Courtès d4310edb35 Re-instated Guile/Scheme support. 2007-08-09 23:01:17 +00:00
Ludovic Courtès 57da77961a Add Emacs local variables for UTF-8. 2007-08-09 22:44:38 +00:00
Ludovic Courtès 93c06293e4 Added myself to `MAINTAINERS'. 2007-08-09 21:52:04 +00:00
Michael Snyder 0997b53539 2007-08-09 Michael Snyder <msnyder@access-company.com>
* solib.c (solib_open): Memory leak -- openp returns xmalloc buffer.
2007-08-09 18:37:08 +00:00
Joel Brobecker 4fec86cf74 * solib-som.c (som_relocate_section_addresses): Stop saving
the $CODE$ section in the so_list structure.
2007-08-09 16:45:32 +00:00
Paul Brook 4396b6862a 2007-08-09 Paul Brook <paul@codesourcery.com>
gas/
	* config/tc-arm.c (relaxed_symbol_addr): Compensate for alignment.

	gas/testsuite/
	* gas/arm/relax_load_align.d: new test.
	* gas/arm/relax_load_align.s: new test.
2007-08-09 15:11:07 +00:00
Jan Kratochvil c309eac207 * opncls.c (bfd_openr_iovec): Fix the OPEN parameter macro expansion. 2007-08-09 14:22:03 +00:00
H.J. Lu c3ad16c0cd gas/
2007-08-09  H.J. Lu  <hongjiu.lu@intel.com>

	* config/tc-i386.c (check_byte_reg): Support pextrb and pinsrb.

gas/testsuite/

2007-08-09  H.J. Lu  <hongjiu.lu@intel.com>

	* gas/i386/i386.exp: Run sse4_1-intel, sse4_2-intel,
	x86-64-sse4_1-intel and x86-64-sse4_2-intel.

	* gas/i386/sse4_1-intel.d: New file.
	* gas/i386/sse4_2-intel.d: Likewise.
	* gas/i386/x86-64-sse4_1-intel.d: Likewise.
	* gas/i386/x86-64-sse4_2-intel.d: Likewise.

	* gas/i386/sse4_1.s: Add tests for Intel syntax.
	* gas/i386/sse4_2.s: Likewise.
	* gas/i386/x86-64-sse4_1.s: Likewise.
	* gas/i386/x86-64-sse4_2.s: Likewise.

	* gas/i386/sse4_1.d: Updated.
	* gas/i386/sse4_2.d: Likewise.
	* gas/i386/x86-64-sse4_1.d: Likewise.
	* gas/i386/x86-64-sse4_2.d: Likewise.

opcodes/

2007-08-09  H.J. Lu  <hongjiu.lu@intel.com>

	* i386-opc.tbl: Add NoRex64 to pmovsxbw, pmovsxwd, pmovsxdq,
	pmovzxbw, pmovzxwd, pmovzxdq and roundsd.
	* i386-tbl.h: Regenerated.
2007-08-09 13:50:51 +00:00