Commit Graph

51529 Commits

Author SHA1 Message Date
Thiemo Seufer
5f0fe04bc5 * config/tc-mips.c (s_is_linkonce): New function.
(mips16_mark_labels): Don't adjust mips16 symbol addresses for
	weak, external, and linkonce symbols.
	(pic_need_relax): Use s_is_linkonce.
2006-07-04 17:22:11 +00:00
Thiemo Seufer
cd9260d951 * gas/mips/e32-rel2.d, gas/mips/e32-rel4.d: Use -mabi=32 for as.
* gas/mips/mips.exp: Move mips16e testcase to ELF only tests.
	Run elf{el}-rel2 and elf-rel4 for all arches with gpr64. Run
	e32-rel2 and e32-rel4 also for 64 bit configurations.
2006-07-04 16:39:08 +00:00
Daniel Jacobowitz
7fca722e51 * remote.c (init_remote_state): Use xrealloc instead of xmalloc. 2006-07-04 13:31:31 +00:00
Nathan Sidwell
f6c957d29d * gdb.base/huge.c: Allow CRASH_GDB to be set from command
line.
	* gdb.base/huge.exp: Loop over compilation to find a size that
	is acceptable.
	* gdb.base/remote.exp: Correct expected strings.
	* gdb.dwarf2/mac-fileno.S: Avoid # comments.
2006-07-04 09:40:28 +00:00
Alan Modra
725fbf6c1d daily update 2006-07-04 00:00:06 +00:00
gdbadmin
f8f148971e *** empty log message *** 2006-07-04 00:00:03 +00:00
Nathan J. Williams
4a35b02aee 2006-07-03 Nathan J. Williams <nathanw@wasabisystems.com>
* bsd-kvm.c (bsd_kvm_open): Open the KVM interface read-write if
        write_files is set.
2006-07-03 17:26:16 +00:00
Paolo Bonzini
1f3f1bbf04 2006-07-03 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Fix thinkos in previous check-in.
	* configure: Regenerate.
2006-07-03 11:22:03 +00:00
Paolo Bonzini
3d3adb43fa 2006-07-03 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Fix thinko in previous check-in.
	* configure: Regenerate.
2006-07-03 09:26:24 +00:00
Paolo Bonzini
64ce424cec 2006-07-03 Paolo Bonzini <bonzini@gnu.org>
Sync from gcc:

	2007-07-03  Paolo Bonzini  <bonzini@gnu.org>

	PR other/27063
	* configure.in: Test subdir_requires and give an appropriate
	error message.
	* configure: Regenerate.

	2006-06-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	PR target/27540
	* configure.in: Only enable libgomp on IRIX 6.
	* configure: Regenerate.
2006-07-03 07:58:12 +00:00
Alan Modra
3209624215 daily update 2006-07-03 00:00:09 +00:00
gdbadmin
c1ddd7c83b *** empty log message *** 2006-07-03 00:00:03 +00:00
gdbadmin
e43ee86898 *** empty log message *** 2006-07-02 00:00:32 +00:00
Alan Modra
593cecfbc5 daily update 2006-07-02 00:00:09 +00:00
Eli Zaretskii
594fe32349 * gdb.texinfo (GDB/MI Output Syntax, GDB/MI Simple Examples)
(GDB/MI Breakpoint Commands, GDB/MI Program Context)
	(GDB/MI Thread Commands, GDB/MI Program Execution)
	(GDB/MI Stack Manipulation, GDB/MI Variable Objects)
	(GDB/MI Data Manipulation, GDB/MI Symbol Query)
	(GDB/MI File Commands, GDB/MI Target Manipulation)
	(GDB/MI Miscellaneous Commands): Change (@value{GDBP})->(gdb),
	since the MI prompt is hard-wired into the code.
2006-07-01 12:34:30 +00:00
Alan Modra
e41ad213e2 daily update 2006-07-01 00:00:11 +00:00
gdbadmin
b6450095c2 *** empty log message *** 2006-07-01 00:00:03 +00:00
Nick Roberts
a2c0224177 (GDB/MI Compatibility with CLI): Qualify more carefully.
(GDB/MI Simple Examples): Use @subheading for "A Bad Command".
(GDB/MI Data Manipulation): Remove description of unimplemented
display related commands as variable objects perform this function
and are superior: -display-delete, -display-disable,
-display-enable, -display-insert and -display-list.  Move
-environment-cd, -environment-directory, -environment-path
and -environment-pwd to "Program Context".
(GDB/MI Program Control): Rename to "Program Execution".  Move
-exec-arguments -exec-abort to...
(GDB/MI Program Context): ...here.  New node split from "Data
 Manipulation".
2006-06-30 21:43:22 +00:00
Nick Roberts
7e3fb70c62 *** empty log message *** 2006-06-30 21:42:03 +00:00
H.J. Lu
10efb593b7 bfd/
2006-06-30  H.J. Lu  <hongjiu.lu@intel.com>

	* elf32-i386.c (elf_i386_relocate_section): Use xchg %ax,%ax
	instead of 2 nops.
	* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
	(elf64_x86_64_plt0_entry): Use nopl 0(%rax) instead of 4 nops.

ld/testsuite/

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

	* ld-i386/tlsbindesc.dd: Updated to expect xchg %ax,%ax instead
	of 2 nops.
	* ld-i386/tlsdesc.dd: Likewise.
	* ld-i386/tlsgdesc.dd: Likewise.
	* ld-x86-64/tlsbindesc.dd: Likewise.
	* ld-x86-64/tlsdesc.dd: Likewise.
	* ld-x86-64/tlsdesc.pd: Likewise.
	* ld-x86-64/tlsgdesc.dd: Likewise.
2006-06-30 14:16:13 +00:00
Nick Clifton
53b8873bef * dwarf.c (display_debug_frames): Catch a corrupt length field generating an
end of block address that is beyond the end of the section.
  When encountering a corrupt CIE pointer do not reset the start pointer as
    more data still has to be read.
  Do not warn about user defined call frame instructions.
2006-06-30 13:38:57 +00:00
Alan Modra
e60f4e61e0 daily update 2006-06-30 00:00:08 +00:00
gdbadmin
745818a50b *** empty log message *** 2006-06-30 00:00:02 +00:00
DJ Delorie
0f56a26a9c * readelf.c (process_section_headers): Add H8/300 support. 2006-06-29 18:32:05 +00:00
Jakub Jelinek
ebcfb3c00f PR ld/2513
* elf32-i386.c (GOT_TLS_MASK, GOT_TLS_IE_IE, GOT_TLS_IE_GD,
	GOT_TLS_IE_MASK, elf_i386_check_relocs, allocate_dynrelocs): Revert
	2006-04-08 changes.
	(elf_i386_relocate_section): Likewise.  For GD->IE transition
	change subl into addl whenever tls_type is GOT_TLS_IE_POS.

	* ld-i386/tlsbin.dd: Fix expected output.
2006-06-29 12:34:37 +00:00
gdbadmin
12321cc6f6 *** empty log message *** 2006-06-29 00:00:35 +00:00
Alan Modra
ba06dcc4ad daily update 2006-06-29 00:00:06 +00:00
gdbadmin
74dd8f955a *** empty log message *** 2006-06-28 00:00:33 +00:00
Alan Modra
a8fa035441 daily update 2006-06-28 00:00:04 +00:00
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