Commit Graph

54856 Commits

Author SHA1 Message Date
Michael Snyder 40742ab60a 2007-07-31 Michael Snyder <msnyder@access-company.com>
* event-top.c (command_line_handler): Add pedantic return.
2007-07-31 22:01:03 +00:00
Michael Snyder 7c6e0d4812 2007-07-31 Michael Snyder <msnyder@access-company.com>
* f-valprint.c (info_common_command): Bail out to prevent null
	pointer deref.  Break up a long line.
2007-07-31 21:56:00 +00:00
Michael Snyder c7b1adc9a0 2007-07-31 Michael Snyder <msnyder@access-company.com>
* exec.c (xfer_memory): Remove redundant condition from 'if'.
2007-07-31 21:49:21 +00:00
Michael Snyder 73780b3c0a 2007-07-31 Michael Snyder <msnyder@access-company.com>
* symfile.c (reread_separate_symbols): Free xmalloced memory.
2007-07-31 21:42:19 +00:00
Michael Snyder abe34c358d 2007-07-31 Michael Snyder <msnyder@access-company.com>
* printcmd.c (build_address_symbolic): Remove dead code and dead
	variable.
2007-07-31 21:36:13 +00:00
Daniel Jacobowitz e48883f791 * linespec.c (minsym_found): Advance to the next line if possible.
* gdb.base/prologue.c, gdb.base/prologue.exp: New.
	* lib/gdb.exp (gdb_breakpoint): Handle "temporary".
2007-07-31 19:58:40 +00:00
Pedro Alves 6b3d9b8313 * win32-low.c (winapi_CloseToolhelp32Snapshot) [_WIN32_WCE]: New
typedef.
	(win32_CloseToolhelp32Snapshot) [_WIN32_WCE]: New global var.
	(load_toolhelp) [_WIN32_WCE]: Load TOOLHELP.DLL.  Get
	CloseToolhelp32Snapshot.
	(toolhelp_get_dll_name) [_WIN32_WCE]: Close the snapshot with
	CloseToolhelp32Snapshot.
2007-07-31 13:58:19 +00:00
Pedro Alves 5720483760 * arm-wince-tdep.c (arm_wince_init_abi): Remove svr4 related call.
* config/arm/wince.mt (TDEPFILES): Remove solib-legacy.o and
	solib-svr4.o, and add solib-target.o
2007-07-31 13:50:11 +00:00
Jakub Jelinek 1c5265b57d * elf.c (get_program_header_size): Adjacent loadable .note*
sections need just one PT_NOTE segment.
	(_bfd_elf_map_sections_to_segments): Likewise.
2007-07-31 08:15:44 +00:00
Michael Snyder 9ee2139f60 2007-07-30 Michael Snyder <msnyder@access-company.com>
* coffgen.c (_bfd_coff_read_internal_relocs): Revert change of
	2007-07-26.  Buffer still in use, can't be freed.
2007-07-31 03:53:24 +00:00
gdbadmin 615c7d515b *** empty log message *** 2007-07-31 00:00:32 +00:00
Alan Modra 11fd5315ac daily update 2007-07-31 00:00:06 +00:00
Maciej W. Rozycki 1ab80e5ba1 * gdb.base/dump.exp: Force the correct endianness for binary
formats not carrying this information.
2007-07-30 12:24:22 +00:00
Alan Modra 16ba7cd086 daily update 2007-07-30 00:00:05 +00:00
gdbadmin 4f17aed340 *** empty log message *** 2007-07-30 00:00:04 +00:00
H.J. Lu 8976381e69 gas/testsuite/
2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>

	PR binutils/4834
	* gas/i386/simd-intel.d: Updated.
	* gas/i386/simd.d: Likewise.
	* gas/i386/x86-64-simd-intel.d: Likewise.
	* gas/i386/x86-64-simd.d: Likewise.

	* gas/i386/simd.s: Add tests for SSE4 instructions.
	* gas/i386/x86-64-simd.s: Likewise.

opcodes/

2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>

	PR binutils/4834
	* i386-dis.c (EXw): New.
	(prefix_user_table): Updated to use EXw, EXd and EXq for SSE4
	instructions when appropriated.
2007-07-29 19:43:36 +00:00
H.J. Lu 59d5bbeb35 The fix is for PR 4834, not PR 4835. 2007-07-29 18:37:21 +00:00
H.J. Lu 34828aad95 gas/
2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>

	* config/tc-i386.c (check_long_reg): Allow cvtss2si to convert
	DWORD memory to Reg64 in Intel synax.
	(check_qword_reg): Allow cvtsd2si to convert QWORD memory to
	Reg32 in Intel syntax.

gas/testsuite/

2007-07-29  H.J. Lu  <hongjiu.lu@intel.com>

	* gas/i386/simd.s: Add tests for cvtss2si/cvtsd2si in Intel
	mode.
	* gas/i386/x86-64-simd.s: Likewise.

	* gas/i386/simd-intel.d: Updated.
	* gas/i386/simd.d: Likewise.
	* gas/i386/x86-64-simd-intel.d: Likewise.
	* gas/i386/x86-64-simd.d: Likewise.
2007-07-29 18:27:59 +00:00
Alan Modra 48f2ff543d ld/
* ldlang.c (lang_insert_orphan): When searching through linker
	script to place an orphan, don't stop on statements that appear
	outside of SECTIONS.
	* emultempl/elf32.em (output_rel_find): Prefer read-only alloc
	sections over read/write alloc sections.
ld/testsuite/
	* ld-elf/weak-dyn-1.rd: Adjust.
2007-07-29 12:33:38 +00:00
gdbadmin b112852a8f *** empty log message *** 2007-07-29 00:00:33 +00:00
Alan Modra 89916163cd daily update 2007-07-29 00:00:06 +00:00
H.J. Lu 09335d057c gas/testsuite/
2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>

	PR binutils/4835
	* gas/i386/simd-intel.d: Updated.
	* gas/i386/simd.d: Likewise.
	* gas/i386/x86-64-simd-intel.d: Likewise.
	* gas/i386/x86-64-simd.d: Likewise.

	* gas/i386/simd.s: Add new tests.
	* gas/i386/x86-64-simd.s: Likewise.

opcodes/

2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>

	PR binutils/4835
	* i386-dis.c (Eq): New.
	(EMC): Renamed to ...
	(EMCq): This.  Use q_mode instead of v_mode.
	(prefix_user_table): Updated to use EXd, EXq, EMCq, Ed and Eq
	when appropriated.
2007-07-28 23:34:14 +00:00
Christopher Faylor bd5a94b03d * MAINTAINERS: Update my email address. 2007-07-28 17:39:16 +00:00
H.J. Lu 231af07047 gas/testsuite/
2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>

	* gas/i386/x86-64-opcode.d: Updated.
	* gas/i386/x86-64-simd-intel.d: Likewise.
	* gas/i386/x86-64-simd.d: Likewise.

	* gas/i386/x86-64-simd.s: Add movq.

opcodes/

2007-07-28  H.J. Lu  <hongjiu.lu@intel.com>

	* i386-dis.c (dis386_twobyte): Change "movd" to "movK".
	(prefix_user_table): Likewise.  Use EXq instead of EXx on
	"movq".
2007-07-28 16:32:01 +00:00
Michael Snyder fed8b01e54 2007-07-27 Michael Snyder <msnyder@access-company.com>
* tui/tui-data.c (tui_alloc_generic_win_info): Wrong arg for sizeof.
2007-07-28 01:16:39 +00:00
Alan Modra 888107e419 daily update 2007-07-28 00:00:05 +00:00
gdbadmin 2babdb4046 *** empty log message *** 2007-07-28 00:00:02 +00:00
Jakub Jelinek cd714b7904 * scripttempl/elf.sc: Add .note.gnu.build-id. 2007-07-27 22:33:24 +00:00
Michael Snyder d63388ff70 2007-07-27 Michael Snyder <msnyder@access-company.com>
* cofflink.c (coff_link_add_symbols): Return if count is zero.
2007-07-27 22:04:23 +00:00
Michael Snyder 50a39e971e 2007-07-27 Michael Snyder <msnyder@access-company.com>
* coff-i386.c (coff_i386_rtype_to_howto): Off by one error.
2007-07-27 21:23:01 +00:00
Michael Snyder 87b3278031 2007-07-27 Michael Snyder <msnyder@access-company.com>
* aoutx.h (slurp_symbol_table): Return if count == 0.
2007-07-27 19:04:39 +00:00
Michael Snyder 9d7038d330 2007-07-27 Michael Snyder <msnyder@access-company.com>
* coffgen.c (_bfd_coff_read_internal_relocs): Return if count is zero.
2007-07-27 18:54:04 +00:00
Michael Snyder c6aa130f78 2007-07-27 Michael Snyder <msnyder@access-company.com>
* elf32-i386.c (elf_i386_check_relocs): Check for null pointer.
2007-07-27 18:50:18 +00:00
Michael Snyder c588c53caf 2007-07-27 Michael Snyder <michael.snyder@access-company.com>
* server.c (main): Check for inferior exit before main loop.
2007-07-27 18:44:40 +00:00
Daniel Jacobowitz aba471f522 * gdb.threads/staticthreads.exp: Match .*sem_post. 2007-07-27 15:45:06 +00:00
Daniel Jacobowitz d4e0720445 * gdb.base/readline.exp (operate_and_get_next): Match the final
prompt.
2007-07-27 15:15:02 +00:00
Nathan Sidwell 33e8d5ac61 * ppc-opc (PPC7450): New.
(powerpc_opcodes): Use it in dcba.
2007-07-27 14:24:27 +00:00
H.J. Lu 170bfeb9d3 2007-07-27 H.J. Lu <hongjiu.lu@intel.com>
* config.bfd (x86_64-*-mingw*): Don't include x86_64coff_vec.
2007-07-27 13:26:44 +00:00
Michael Snyder 507f589808 2007-07-26 Michael Snyder <msnyder@access-company.com>
* coff-i386.c (coff_i386_rtype_to_howto): Guard against null.
2007-07-27 01:15:27 +00:00
Michael Snyder a6626e8c30 2007-07-26 Michael Snyder <msnyder@svkmacdonelllnx>
* linker.c (bfd_section_already_linked_table_insert): Change
	return type from void to boolean.  Return FALSE on failure.
	(_bfd_generic_section_already_linked): Test return value of
	bfd_section_already_linked_table_insert, call fatal on error.

	* elflink.c (_bfd_elf_section_already_linked): Test return value
	of bfd_section_already_linked_table_insert, call fatal on error.

	* libbfd-in.h (bfd_section_already_linked_table_insert): Update
	return type to bfd_boolean.

	* libbfd.h: Regenerate.
2007-07-27 01:04:29 +00:00
Adam Nemet 36e44abdc2 * archive.c (do_slurp_bsd_armap, do_slurp_coff_armap,
bfd_slurp_armap): Improve function comment.
2007-07-27 00:49:06 +00:00
Adam Nemet 317e5c401a * readelf.c (process_archive): Also skip Irix6-style archive symbol
tables.
2007-07-27 00:48:30 +00:00
Alan Modra 4ccbd2de24 daily update 2007-07-27 00:00:06 +00:00
gdbadmin 2ab0659b4f *** empty log message *** 2007-07-27 00:00:02 +00:00
Michael Snyder 5ba8816a2d Fix bollixed check-in 2007-07-26 21:58:44 +00:00
Michael Snyder 2d4f3e92ff 2007-07-26 Michael Snyder <msnyder@access-company.com>
* linker.c (already_linked_newfunc): Check for NULL return from
	bfd_hash_allocate.
2007-07-26 21:53:35 +00:00
Michael Snyder ac38308c95 2007-07-26 Michael Snyder <msnyder@access-company.com>
* coffgen.c (fixup_symbol_value): Guard against null;
	bfd_is_com_section will dereference the section pointer.
2007-07-26 19:06:12 +00:00
Michael Snyder c82a7c57df 2007-07-26 Michael Snyder <msnyder@access-company.com>
* syms.c (bfd_decode_symclass): Guard against NULL, since
	bfd_is_com_section dereferences the pointer.
2007-07-26 18:53:51 +00:00
Michael Snyder 3d7b34d85b 2007-07-26 Michael Snyder <msnyder@access-company.com>
* srec.c (srec_scan): Check for EOF (critical because return value
	will be used as array index).
2007-07-26 18:45:13 +00:00
Michael Snyder 44c62d9e24 2007-07-26 Michael Snyder <msnyder@access-company.com>
* coffgen.c (_bfd_coff_read_internal_relocs): If internal_relocs
	are not to be cached, free the temporary buffer.
2007-07-26 18:43:24 +00:00