56134 Commits

Author SHA1 Message Date
70e654ba48 From Craig Silverstein: First cut at detecting ODR violations. 2007-11-13 20:02:32 +00:00
37715c4c6b * tui/tui-data.c (tui_prev_win): Guard against NULL. 2007-11-13 17:00:11 +00:00
38e654e2b5 merge from gcc 2007-11-13 15:12:42 +00:00
e6760bcc53 2007-11-13 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/5233
	* ld-elf/flags1.d: New.
	* ld-elf/flags1.ld: Likewise.
	* ld-elf/flags1.s: Likewise.
2007-11-13 13:20:02 +00:00
b5f5fd962e * config/tc-mn10300.c (mn10300_force_relocation): Force a reloc to be generated for alignment fixups.
* config/tc-mn10300.h (TC_FORCE_RELOCATION): Call mn10300_force_relocation.
* elf-m10300.c (mn10300_elf_final_link_relocate): Prevent the accidental termination of DWARF location list entries.
  (mn10300_elf_relax_delete_bytes): Stop deletion if an align reloc is encountered that is larger than or not a mutliple of the number of bytes being deleted.
  When adjusting symbols, any symbols inside the region being deleted must be moved to the end of the region.
  Move align relocs forward if there is room for them after the deletion of the region.
2007-11-13 10:40:29 +00:00
0067a5693a PR 5233
* elf.c (rewrite_elf_program_header): Formatting.  Add
	first_matching_lma and first_suggested_lma booleans and use
	instead of testing matching_lma and suggested_lma for zero.
2007-11-13 05:56:10 +00:00
af674d1d6c From Craig Silverstein: Support debug info for shared libraries. 2007-11-13 01:26:27 +00:00
f4c43811f7 merge from gcc 2007-11-13 01:00:40 +00:00
3702a1b884 * floatformat.c (floatformat_ibm_long_double_is_valid): Fix
compiler warnings.
	(floatformat_ibm_long_double): Use
	floatformat_ibm_long_double_is_valid.
2007-11-13 00:38:30 +00:00
7e2020c177 *** empty log message *** 2007-11-13 00:00:02 +00:00
52cd869883 daily update 2007-11-12 23:00:04 +00:00
4eb0fd204f * gas/macros/purge.s: Delete irpc loops. 2007-11-12 22:21:48 +00:00
fa4dfc15df 2007-11-12 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/5299
	* peicode.h (pe_bfd_object_p): Save and restore previous bfd
	state when calling coff_object_p.
2007-11-12 21:55:50 +00:00
c261a0be88 From Craig Silverstein: Dwarf_line_info can work with Object rather
than Sized_relobj.
2007-11-12 20:55:53 +00:00
b696e6d46c From Craig Silverstein: Track_relocs doesn't need to hold onto the
object.
2007-11-12 20:35:21 +00:00
24badc6562 From Craig Silverstein: rework DWARF reader code a bit. 2007-11-12 19:56:20 +00:00
386c048c7a Correct handling of GOT references in a regular object. 2007-11-12 17:51:55 +00:00
4247714778 PR gas/5269
* config/tc-frv.c (md_show_usage): Rewrite usage description to make it easier to translate.
* gas/po/gas.pot: Regenerate.
2007-11-12 10:57:33 +00:00
be7811ad94 2007-11-12 Markus Deuling <deuling@de.ibm.com>
* gdbarch.sh (gdbarch_alloc): Replace current_gdbarch by gdbarch. Remove
	obsolete comment.
	(verify_gdbarch, gdbarch_dump): Likewise.
	(do_read): Update comment.
	(addr_bit, bfd_arch_info, target_desc, long_long_bit, floatformat)
	(ptr_bit, name_of_malloc): Replace current_gdbarch by gdbarch.
	* gdbarch.{c,h}: Regenerate.
2007-11-12 06:47:56 +00:00
91d8eb23d2 2007-11-12 Markus Deuling <deuling@de.ibm.com>
* xtensa-tdep.c (ARG_1ST): Replace ARGS_FIRST_REG by its expression.
	(ARGS_FIRST_REG): Remove.
	(areg_numer): New function.
	(xtensa_pseudo_register_read, xtensa_frame_prev_register)
	(xtensa_extract_return_value, xtensa_store_return_value)
	(xtensa_frame_cache): Replace AREG_NUMBER by areg_number.
	(AREG_NUMBER): Remove.
	(XTENSA_IS_ENTRY, ARG_NOF, ARG_1ST): Add gdbarch as parameter.
	(xtensa_frame_cache): Update use of XTENSA_IS_ENTRY.
	(xtensa_push_dummy_call): Update use of ARG_NOF.
	(extract_call_winsize): Add gdbarch as parameter. Replace
	current_gdbarch by gdbarch.
	(xtensa_extract_return_value, xtensa_store_return_value): Update call
	of extract_call_winsize.
2007-11-12 06:43:16 +00:00
d2ca0d52af * NEWS: Add entry for new set/show print frame-args command. 2007-11-12 05:21:39 +00:00
6d1829bf6f Fix date in the last entry. 2007-11-12 05:20:36 +00:00
b4740addaa * gdb.texinfo (Print Settings): Add documentation for "set/show
print frame-arguments".
2007-11-12 05:19:17 +00:00
8f39ba8ef2 * elf.c (_bfd_elf_get_synthetic_symtab): Only bump the symbol
pointer when we have a valid symbol.  Init udata.p to NULL.
2007-11-12 03:28:52 +00:00
2c524891fc * gas/ppc/regnames.d: New.
* gas/ppc/regnames.s: Likewise.
	* gas/ppc/ppc.exp: Run it.
2007-11-12 00:29:12 +00:00
2ad068bef2 * config/tc-ppc.c (md_assemble): If -mregnames, when parsing
PPC_OPERAND_CR always parse as expression to allow register name
	followed by an expression.
2007-11-12 00:27:53 +00:00
4a1f2dd510 *** empty log message *** 2007-11-12 00:00:02 +00:00
6395c08d39 daily update 2007-11-11 23:00:05 +00:00
311c9b761e *** empty log message *** 2007-11-11 00:00:03 +00:00
d07b42f3b7 daily update 2007-11-10 23:00:05 +00:00
2410c3b006 *** empty log message *** 2007-11-10 00:00:03 +00:00
aed38d0694 From Craig Silverstein: Initialize got_relocs. 2007-11-09 23:56:32 +00:00
bbc1a78472 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add missing
register number to map.  Adjust warning check and error/warning
	return value code to match expectations of this function's callers.
2007-11-09 23:38:51 +00:00
d12348b848 From Craig Silverstein: Clean up make rules for debug_msg. 2007-11-09 23:35:19 +00:00
f0323c2f68 From Craig Silverstein: Add test for debug messages. 2007-11-09 23:19:11 +00:00
f2f3f78338 From Craig Silverstein: Implement section_info. 2007-11-09 23:18:16 +00:00
4c50553d98 From Craig Silverstein: Use relocations in reporting error message
locations.
2007-11-09 23:16:54 +00:00
bbce853ae5 daily update 2007-11-09 23:00:06 +00:00
0366cf3f26 * stack.c (print_this_frame_argument_p): Handle arguments passed
by reference properly.
2007-11-09 20:38:58 +00:00
d61c6bd41c From Cary Coutant: More shared library support, some refactorization. 2007-11-09 19:45:08 +00:00
3462fcefc7 Fix the date of my last changelog entry. 2007-11-09 19:08:43 +00:00
88408340b8 * stack.c (print_frame_arguments_choices): New static global.
(print_frame_arguments): Likewise.
        (print_this_frame_argument_p): New function.
        (print_frame_args): Print the argument value only when appropriate.
        (_initialize_task): Add new "set/show print frame-arguments" command.
2007-11-09 19:04:35 +00:00
1c86e440c3 * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Move
saved_dabr_value assignment to the correct position.
2007-11-09 17:15:17 +00:00
567e4e96bc 2007-11-09 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (match_template): Re-order suffix check.
2007-11-09 13:53:13 +00:00
76a8ddb9e4 2007-11-09 Markus Deuling <deuling@de.ibm.com>
* arch-utils.c (generic_convert_register_p): Add gdbarch as parameter.
	* arch-utils.h (generic_convert_register_p): Likewise.
2007-11-09 13:11:17 +00:00
6b60be102a * elf-vxworks.c (elf_vxworks_emit_relocs): Don't clobber
rel_hash.  Move loop inside if test.
2007-11-09 10:20:17 +00:00
b2766bff8e Apply delta accidentally omitted from 2007-11-05 commit.
* pei-i386.c (COFF_SECTION_ALIGNMENT_ENTRIES): Let .data, .text
	 and .bss section use the default.
2007-11-09 08:35:29 +00:00
338f2eba1a From Cary Coutant: mark negative constant as unsigned. 2007-11-09 07:03:14 +00:00
730cdc88f7 Generate a complete exception frame header. Discard duplicate
exception frame information.
2007-11-09 07:00:15 +00:00
0abe36f50d * gdbarch.sh (convert_register_p): Add gdbarch as parameter.
* ia64-tdep.c (ia64_convert_register_p): Likewise.
	* i387-tdep.c (i387_convert_register_p): Likewise.
	* i387-tdep.h (i387_convert_register_p): Likewise.
	* alpha-tdep.c (alpha_convert_register_p): Likewise.
	* gdbarch.{c,h}: Regenerate.

	* rs6000-tdep.c (rs6000_convert_register_p): Add gdbarch as parameter.
	Replace current_gdbarch by gdbarch.
	* mips-tdep.c (mips_convert_register_p): Likewise.
	* m68k-tdep.c (m68k_convert_register_p): Likewise.
	* i386-tdep.c (i386_convert_register_p): Likewise.
2007-11-09 05:32:19 +00:00