Commit Graph

51650 Commits

Author SHA1 Message Date
Nick Clifton b1d9458ab4 * emultempl/pe.em (gld_$_open_dynamic_archive): Compute maximum length of
format strings in the libname_fmt[] array, rather than relying upon a
  statically chosen value.  Adjust xmalloc call to use this longest length.
2006-06-27 11:45:21 +00:00
Nick Clifton ece2d90e7c (-rpath-link): Clarify distinction between -rpath and -rpath-link. 2006-06-27 08:52:38 +00:00
gdbadmin a2c9f04d67 *** empty log message *** 2006-06-27 00:00:37 +00:00
Alan Modra 8cb04ac660 daily update 2006-06-27 00:00:09 +00:00
DJ Delorie f4f21c206a * r8c.opc (decode_r8c): Don't bother reading the destination
before moving a constant into it.  Fix borrow comparison for SUB.
2006-06-26 20:31:43 +00:00
Alan Modra 998b504375 daily update 2006-06-26 00:00:36 +00:00
gdbadmin 399c95b04f *** empty log message *** 2006-06-26 00:00:03 +00:00
Alan Modra 9638270ae9 daily update 2006-06-25 00:00:06 +00:00
gdbadmin 5d51e5060a *** empty log message *** 2006-06-25 00:00:02 +00:00
H.J. Lu 85234291d9 2006-06-24 H.J. Lu <hongjiu.lu@intel.com>
* doc/as.texinfo (Org): Remove space.
	(P2align): Add "@var{abs-expr},".
2006-06-24 18:25:10 +00:00
Eli Zaretskii a6f0780aa7 defs.h (DIRNAME_SEPARATOR) [!__CYGWIN__ && _WIN32]: Define to `;'. 2006-06-24 13:48:53 +00:00
Richard Sandiford a87866e601 binutils/testsuite/
* binutils-all/localize-hidden-1.d: Use objdump --syms instead
	of readelf.
2006-06-24 09:10:04 +00:00
gdbadmin 269c8543af *** empty log message *** 2006-06-24 00:00:33 +00:00
Alan Modra 6641924db8 daily update 2006-06-24 00:00:07 +00:00
H.J. Lu ccc9c02779 gas/
2006-06-23  H.J. Lu  <hongjiu.lu@intel.com>

	* config/tc-i386.c (cpu_arch_tune_set): New.
	(cpu_arch_isa): Likewise.
	(i386_align_code): Use xchg %ax,%ax for 2 byte nop. Optimize
	nops with short or long nop sequences based on -march=/.arch
	and -mtune=.
	(set_cpu_arch): Set cpu_arch_isa.  If cpu_arch_tune_set is 0,
	set cpu_arch_tune and cpu_arch_tune_flags.
	(md_parse_option): For -march=, set cpu_arch_isa and set
	cpu_arch_tune and cpu_arch_tune_flags if cpu_arch_tune_set is
	0.  Set cpu_arch_tune_set to 1 for -mtune=.
	(i386_target_format): Don't set cpu_arch_tune.

gas/testsuite/

2006-06-23  H.J. Lu  <hongjiu.lu@intel.com>

	* gas/i386/i386.exp: Run nops-1, nops-1-i386, nops-1-i686,
	nops-1-merom, nops-2, nops-2-i386, nops-2-merom, x86-64-nops-1,
	x86-64-nops-1-k8, x86-64-nops-1-nocona and x86-64-nops-1-merom.

	* gas/i386/nops-1.s: New file.
	* gas/i386/nops-2.s: Likewise.
	* gas/i386/nops-1-i386.d: Likewise.
	* gas/i386/nops-1-i686.d: Likewise.
	* gas/i386/nops-1-merom.d: Likewise.
	* gas/i386/nops-1.d: Likewise.
	* gas/i386/nops-2-i386.d: Likewise.
	* gas/i386/nops-2-merom.d: Likewise.
	* gas/i386/nops-2.d: Likewise.
	* gas/i386/x86-64-nops-1.s: Likewise.
	* gas/i386/x86-64-nops-1-k8.d: Likewise.
	* gas/i386/x86-64-nops-1-merom.d: Likewise.
	* gas/i386/x86-64-nops-1-nocona.d: Likewise.
	* gas/i386/x86-64-nops-1.d: Likewise.

	* gas/i386/sse2.d: Updated to expect xchg %ax,%ax as 2 byte
	nop.
2006-06-23 21:47:36 +00:00
Thiemo Seufer d4dc2f22f5 * config/tc-mips.c (nopic_need_relax): Handle -fdata-sections
generated .sbss.* and .gnu.linkonce.sb.*.
2006-06-23 18:31:17 +00:00
Daniel Jacobowitz 0faaaeb8fc * configure.tgt (i[3-7]86-*-solaris2*, i[3-7]86-*-solaris*): Set
targ_extra_libpath.
2006-06-23 18:11:47 +00:00
Thiemo Seufer a8dbcb8573 * config/tc-mips.h (TC_SEGMENT_INFO_TYPE): Declare per-segment
label_list.
	* config/tc-mips.c (label_list): Define per-segment label_list.
	(mips_clear_insn_labels, mips_move_labels, mips16_mark_labels,
	append_insn, s_align, s_cons, s_float_cons, s_gpword, s_gpdword,
	mips_from_file_after_relocs, mips_define_label): Use per-segment
	label_list.
2006-06-23 16:26:13 +00:00
Richard Sandiford d58c2e3acd binutils/
* objcopy.c (localize_hidden): New variable.
	(OPTION_LOCALIZE_HIDDEN): New command_line_switch value.
	(copy_options): Add --localize-hidden.
	(copy_usage): Mention --localize-hidden.
	(is_hidden_symbol): New function.
	(filter_symbols): Handle localize_hidden.
	(copy_object): Call filter_symbols if localize_hidden.
	(copy_main): Handle OPTION_LOCALIZE_HIDDEN.
	* doc/binutils.texi (--localize-hidden): Document new option.

binutils/testsuite/
	* binutils-all/localize-hidden-1.s,
	* binutils-all/localize-hidden-1.d,
	* binutils-all/localize-hidden-2.s,
	* binutils-all/localize-hidden-2.d: New tests.
	* binutils-all/objcopy.exp: Run them.
2006-06-23 16:23:09 +00:00
Daniel Jacobowitz 22a84b5580 * Makefile.am (ar_DEPENDENCIES, ranlib_DEPENDENCIES)
(dlltool_DEPENDENCIES, windres_DEPENDENCIES): Remove @LEXLIB@.
	* Makefile.in: Regenerate.
2006-06-23 14:30:59 +00:00
Daniel Jacobowitz e4c161579c * arm-tdep.c (arm_register_type): Use unsigned types for registers.
Add special types for sp and pc.
	* Makefile.in (arm-tdep.o): Update.
2006-06-23 13:01:05 +00:00
Nick Clifton 5b8273bf5f * pe-dll.c (pe_details_type): Add new pointer for symbols list autofilter.
(autofilter_symbollist): Split into autofilter_symbollist_generic and
    autofilter_symbollist_i386.
  (pe_detail_list): Add autofilter_symbollist_i386 to i386 case and
    autofilter_symbollist_generic for all the others.
  (autofilter_symbolprefixlist): Moved _fmode, _impure_ptr, cygwin_attach_dll,
    cygwin_premain0, cygwin_premain1, cygwin_premain2, cygwin_premain3,
    environ, into autofilter_symbollist_i386.
  (auto_export): Get autofilter_symbollist from pe_details.
2006-06-23 11:20:15 +00:00
Alan Modra 8b42747f2a * Makefile.am (*_DEPENDENCIES): Add missing dependencies.
* Makefile.in: Regenerate.
2006-06-23 06:04:37 +00:00
Alan Modra 62d7a5f67e PR ld/2754
* elf.c (bfd_elf_mkobject): Don't alloc if already done.  Set
	program_header_size to -1.
	(_bfd_elf_map_sections_to_segments): Adjust program_header_size check.
	(assign_file_positions_for_load_sections ): Likewise.
	(_bfd_elf_sizeof_headers): Use saved program_header_size if
	available.
	* elf32-arm.c (elf32_arm_mkobject): Call bfd_elf_mkobject, don't
	alloc if already done.
	* elf32-i386.c (elf_i386_mkobject): Likewise.
	* elf32-ppc.c (ppc_elf_mkobject): Likewise.
	* elf32-s390.c (elf_s390_mkobject): Likewise.
	* elf32-sh.c (sh_elf_mkobject): Likewise.
	* elf64-alpha.c (elf64_alpha_mkobject): Likewise.
	* elf64-ppc.c (ppc64_elf_mkobject): Likewise.
	* elf64-s390.c (elf_s390_mkobject): Likewise.
	* elf64-x86-64.c (elf64_x86_64_mkobject): Likewise.
	* elfxx-sparc.c (_bfd_sparc_elf_mkobject): Likewise.
2006-06-23 02:58:01 +00:00
gdbadmin 8c2afc38d8 *** empty log message *** 2006-06-23 00:00:32 +00:00
Alan Modra b6e4f1bbeb daily update 2006-06-23 00:00:07 +00:00
Daniel Jacobowitz bd4a4c8015 Typo fix. 2006-06-22 20:31:12 +00:00
Daniel Jacobowitz b9c5a23d0d * gdb.base/store.exp: Don't use gdb_suppress_entire_file. 2006-06-22 19:57:02 +00:00
Daniel Jacobowitz 9af2e58deb * gdb.base/gdb1555.exp: Use gdb_compile_shlib. Skip if not
native.
2006-06-22 19:53:46 +00:00
Daniel Jacobowitz 30930ca5c5 * gdb.stabs/exclfwd.exp: Skip the test if configure did not
enable stabs testing.
2006-06-22 19:50:57 +00:00
Daniel Jacobowitz aa32fa1d64 * auxv.exp: Intercept undefined command messages before
gdb_test_multiple does.
2006-06-22 19:32:41 +00:00
Daniel Jacobowitz 321fef153f Add changelog entry for unintended earlier commit:
* Makefile.in (host_alias): Remove.
	(target_alias): Use @target_noncanonical@.
	(site.exp): Don't set host_alias.
	* aclocal.m4: Remove contents.  Include acx.m4.
	* configure: Regenerated.
	* configure.ac: Use ACX_NONCANONICAL_TARGET.
2006-06-22 19:17:49 +00:00
Daniel Jacobowitz 90750ee799 Revert accidental commit. 2006-06-22 19:17:09 +00:00
Nick Clifton b952b98f27 PR ld/2757
* emultempl/pe.em (gld_$_after_open): When reporting non PE format output
  files mention the file name and the fact that it is an output file.
2006-06-22 16:25:36 +00:00
Daniel Jacobowitz 01f9e8fab8 * remote-utils.c (remote_escape_output, remote_unescape_input): New.
(putpkt_binary): Renamed from putpkt and adjusted for binary
	data.
	(putpkt): New wrapper for putpkt_binary.
	(readchar): Don't mask off the high bit.
	(decode_X_packet): New function.
	* server.c (main): Call putpkt_binary if a handler sets the packet
	length.  Save the length of the incoming packet.  Handle 'X'.
	* server.h (gdb_byte, remote_escape_output, decode_X_packet): New.
2006-06-22 15:20:47 +00:00
Thiemo Seufer 3994f87e99 * config/tc-mips.c (ISA_SUPPORTS_MIPS16E): New macro.
(append_insn): Use it.
	(md_apply_fix): Whitespace formatting.
	(md_begin, append_insn, macro, macro2, mips16_immed, mips_align,
	mips16_extended_frag): Remove register specifier.
	(md_convert_frag): Likewise. Use TRUE ans FALSE instead of numeric
	constants.
2006-06-22 14:09:40 +00:00
Daniel Jacobowitz a31ea83d26 * remote.c (remote_escape_output): New function.
(remote_write_bytes): Use remote_escape_output.
2006-06-22 14:06:37 +00:00
Nick Clifton cf8456db9f Correct comment. 2006-06-22 13:48:30 +00:00
Nick Clifton 45e948fe97 * emultempl/pe.em (gld_${EMULATION_NAME}_open_dynamic_archive): Restructure.
Add native "%s.lib" format to search list
* ld.texinfo (node WIN32): Update documentation on dynamic lib search order.
   Add another reason for using import libs.
2006-06-22 13:43:04 +00:00
gdbadmin 47c7e8efbb *** empty log message *** 2006-06-22 00:01:07 +00:00
Alan Modra c795465502 daily update 2006-06-22 00:00:07 +00:00
Mark Shinwell 8e77b565d5 Corrected typo in date. 2006-06-21 15:24:40 +00:00
Mark Shinwell fa073d6911 gas/
* config/tc-arm.c (s_arm_unwind_save_vfp_armv6): New.  Parse
	a directive saving VFP registers for ARMv6 or later.
	(s_arm_unwind_save): Add parameter arch_v6 and call
	s_arm_unwind_save_vfp or s_arm_unwind_save_vfp_armv6 as
	appropriate.
	(md_pseudo_table): Add entry for new "vsave" directive.
	* doc/c-arm.texi: Correct error in example for "save"
	directive (fstmdf -> fstmdx).  Also document "vsave" directive.
2006-06-21 14:20:25 +00:00
Daniel Jacobowitz be2a5f717b gdb/
* NEWS: Mention qSupported.
	* remote.c (struct remote_state): Add explicit_packet_size.
	(get_remote_packet_size): Check explicit_packet_size.
	(get_memory_packet_size): Likewise.
	(PACKET_qSupported): New enum value.
	(struct protocol_feature, remote_supported_packet)
	(remote_packet_size, remote_protocol_features)
	(remote_query_supported): New.
	(remote_open_1): Reset explicit_packet_size.  Call
	remote_query_supported.
	(_initialize_remote): Register qSupported.
gdb/doc/
	* gdb.texinfo (Remote configuration): Document set / show
	remote supported-packets.
	(General Query Packets): Document qSupported packet.
gdb/gdbserver/
	* server.c (handle_query): Handle qSupported.
2006-06-21 13:57:21 +00:00
Mark Shinwell 5e542ba70e Fix for segmentation fault.
* ldlang.c (lang_insert_orphan): Correctly handle the case where
	the section is to end up after the section currently at the end
	of the list in output_bfd.
2006-06-21 13:25:54 +00:00
Andrew Stubbs 42b575e545 2006-06-21 Andrew Stubbs <andrew.stubbs@st.com>
* cli/cli-script.c (realloc_body_list): Zero new parts of body_list.
2006-06-21 10:49:16 +00:00
Joel Brobecker 9ae0398634 * GDB 6.5 released from GDB 6.5 branch. 2006-06-21 07:23:04 +00:00
Alan Modra c219a7a5ff * ld-elf/tls_common.exp: Match 32-bit output. 2006-06-21 05:36:17 +00:00
Hans-Peter Nilsson a4308b792c * emultempl/mmo.em: Improve comments. Explain why there's
ELF-stuff here.
2006-06-21 02:53:43 +00:00
gdbadmin 03b6d2cfd0 *** empty log message *** 2006-06-21 00:00:34 +00:00