Kevin Buettner
2219d63c86
* breakpoint.c (set_raw_breakpoint): Adjust breakpoint's address
...
prior to allocating its location.
2007-05-03 17:42:25 +00:00
Nick Clifton
22184a77be
PR gas/3041
...
* gas/config/tc-m68k.c (relaxable_symbol): Do not relax weak symbols.
(tc_gen_reloc): Adjust the addend of relocs against weak symbols.
(md_apply_fix): Put zero values into the frags referencing weak symbols.
* bfd/aoutx.h (swap_std_reloc_out): Treat relocs against weak symbols in the same way as relocs against external symbols.
2007-05-03 15:55:38 +00:00
Alan Modra
fe7929ce4a
* ld.texinfo (--no-warn-search-mismatch): Document.
...
* ldfile.c (ldfile_try_open_bfd): Don't warn about skipping
incompatible libraries if --no-warn-search-mismatch.
* ld.h (args_type): Add warn_search_mismatch.
* ldmain.c (main): Init it.
* lexsup.c (enum option_values): Add OPTION_NO_WARN_SEARCH_MISMATCH.
(ld_options): Add entry for --no-warn-search-mismatch.
(parse_args): Handle OPTION_NO_WARN_SEARCH_MISMATCH.
2007-05-03 09:24:16 +00:00
Alan Modra
083a6ddf8c
* scripttempl/elf.sc: Add .debug_pubtypes and .debug_ranges.
2007-05-03 07:06:13 +00:00
gdbadmin
1dd6ea26c9
*** empty log message ***
2007-05-03 00:00:36 +00:00
Alan Modra
09968e6866
daily update
2007-05-03 00:00:06 +00:00
Alan Modra
627b32bcf9
include/elf/
...
* internal.h (ELF_IS_SECTION_IN_SEGMENT): Check both file offset
and vma for appropriate sections.
bfd/
* elf.c (assign_file_positions_for_load_sections): Set sh_offset
here. Set sh_type to SHT_NOBITS if we won't be allocating
file space. Don't bump p_memsz for non-alloc sections. Adjust
section-in-segment check.
(assign_file_positions_for_non_load_sections): Don't set sh_offset
here for sections that have already been handled above.
2007-05-02 13:44:37 +00:00
Maciej W. Rozycki
2afd3f0adc
* mips-tdep.c (mips_o32_push_dummy_call): Remove conditions
...
based on mips_abi_regsize() whose result is known in advance.
(mips_o64_push_dummy_call): Likewise.
2007-05-02 13:39:51 +00:00
Alan Modra
3896c469d2
gas/
...
PR 4448
* config/tc-ppc.c (ppc_insert_operand): Don't increase min for
PPC_OPERAND_PLUS1.
include/opcode/
* ppc.h (PPC_OPERAND_PLUS1): Update comment.
2007-05-02 11:24:17 +00:00
Alan Modra
0d063f63c5
* binutils-all/objcopy.exp (copy_setup): Don't perror, use send_log.
...
(copy_executable): Return early if test2 is blank.
Return unsupported rather than unresolved if we can't run
executables. Do test1 if we can compile.
2007-05-02 10:38:00 +00:00
Alan Modra
9e7750f2ab
commit the Robert's removal of "warning:"
2007-05-02 01:22:40 +00:00
Alan Modra
d92353a580
daily update
2007-05-02 00:00:38 +00:00
gdbadmin
2c95766b73
*** empty log message ***
2007-05-02 00:00:02 +00:00
Alan Modra
79ac49f00d
* ldlang.c (lang_check): Error on architecture mismatch.
2007-05-01 13:35:34 +00:00
H.J. Lu
9344ff2951
gas/config/
...
2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (match_template): Check suffix for crc32 in
Intel mdoe.
(process_suffix): Default the suffix of 8bit crc32 to
BYTE_MNEM_SUFFIX.
(check_byte_reg): Skip check for 8bit crc32.
gas/testsuite/
2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/crc32-intel.d: New file.
* gas/i386/crc32.d:Likewise.
* gas/i386/crc32.s:Likewise.
* gas/i386/x86-64-crc32-intel.d:Likewise.
* gas/i386/x86-64-crc32.d:Likewise.
* gas/i386/x86-64-crc32.s:Likewise.
* gas/i386/i386.exp: Run crc32, crc32-intel, x86-64-crc32
and x86-64-crc32-intel.
opcodes/
2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (CRC32_Fixup): Properly handle Intel mode and
check data size prefix in 16bit mode.
* i386-opc.c (i386_optab): Default crc32 to non-8bit and
support Intel mode.
2007-05-01 12:59:24 +00:00
gdbadmin
3764ce598c
*** empty log message ***
2007-05-01 00:00:06 +00:00
Alan Modra
c766957eea
daily update
2007-05-01 00:00:05 +00:00
Alan Modra
49fa1e1518
bfd/
...
* elf32-spu.c (struct spu_link_hash_table): Add stack_analysis
and emit_stack_syms bitfields.
(get_sym_h): Read all symbols if stack analysis will be done.
(spu_elf_create_sections): Add stack_analysis and emit_stack_syms
params, and stash in hash table.
(is_hint): Split off from..
(is_branch): ..here. Adjust callers.
(spu_elf_size_stubs): Add stack_analysis param. Arrange to read
and keep all syms.
(write_one_stub): Fix mem leak.
(find_function_stack_adjust): New function.
(sort_syms_syms, sort_syms_psecs): New vars.
(sort_syms): New function.
(struct call_info, struct function_info): New.
(struct spu_elf_stack_info): New.
(alloc_stack_info, maybe_insert_function, func_name): New functions.
(is_nop, insns_at_end, check_function_ranges): Likewise.
(find_function, insert_callee, mark_functions_via_relocs): Likewise.
(pasted_function, interesting_section, discover_functions): Likewise.
(mark_non_root, call_graph_traverse, build_call_tree): Likewise.
(sum_stack, spu_elf_stack_analysis, spu_elf_final_link): Likewise.
(bfd_elf32_bfd_final_link): Define.
* elf32-spu.h (struct _spu_elf_section_data): Add stack_info field.
(spu_elf_create_sections, spu_elf_size_stubs): Update prototypes.
include/
* bfdlink.h (struct bfd_link_info): Add "info" and "minfo".
ld/
* ldmain.c (link_callbacks): Init info and minfo fields.
* ldmisc.c (minfo): Do nothing if no map file.
* emultempl/spuelf.em (stack_analysis, emit_stack_syms): New vars.
(spu_after_open): Adjust spu_elf_create_sections call.
(spu_before_allocation): Likewise for spu_elf_size_stubs.
(OPTION_SPU_STACK_ANALYSIS, OPTION_SPU_STACK_SYMS): Define.
(PARSE_AND_LIST_LONGOPTS): Add new entries.
(PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Likewise.
* gen-doc.texi: Add @set for SPU and other missing targets.
* ld.texinfo: Update man page selection to match gen-doc.texi.
Document SPU features.
2007-04-30 14:06:40 +00:00
H.J. Lu
a540244da6
2007-04-30 H.J. Lu <hongjiu.lu@intel.com>
...
* config/tc-i386.c (md_assemble): Use register_prefix in
error/warning message.
(check_byte_reg): Likewise.
(check_long_reg): Likewise.
(check_qword_reg): Likewise.
(check_word_reg): Likewise.
(process_operands): Likewise.
2007-04-30 13:42:40 +00:00
Mark Salter
53289dcddc
Support new FR-V SPRs
2007-04-30 13:21:52 +00:00
Alan Modra
eb42fac1bb
opcodes/
...
PR 4436
* ppc-opc.c (powerpc_operands): Correct bitm for second entry of MBE.
gas/
PR 4436
* config/tc-ppc.c (ppc_insert_operand): Disable range check if
min > max.
2007-04-30 00:27:57 +00:00
Alan Modra
a8bf1262d7
daily update
2007-04-30 00:00:07 +00:00
gdbadmin
3c6e41b528
*** empty log message ***
2007-04-30 00:00:03 +00:00
Ulrich Weigand
3e00823eb4
* m68klinux-nat.c: Remove #ifndef USE_PROC_FS check.
...
* m68k-tdep.c: Remove code within #ifdef USE_PROC_FS.
* mips-linux-nat.c: Include "gregset.h".
(supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move
from mips-linux-tdep.c. Change parameter type to gdb_gregset_t.
* mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset,
fill_fpregset): Move to mips-linux-nat.c.
* Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies.
2007-04-29 19:44:22 +00:00
Daniel Jacobowitz
b1d53152e0
* gdb.java/jmain.exp: Handle demangled names with and without method
...
signatures.
2007-04-29 17:13:57 +00:00
Daniel Jacobowitz
d084b3317a
* gdb.mi/mi-syn-frame.c (main, foo, bar)
...
(have_a_very_merry_interrupt): Remove calls to puts.
* gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Do not expect
inferior output.
* lib/mi-support.exp (mi_gdb_test): Check gdb,noinferiorio. Correct
test names.
2007-04-29 16:20:50 +00:00
Daniel Jacobowitz
db9d7fc570
* gdb.base/auxv.exp (core_works): Also check is_remote.
...
* gdb.base/checkpoint.exp, gdb.base/multi-forks.exp: Likewise.
2007-04-29 15:48:46 +00:00
Ulrich Weigand
81c4a259cd
* regcache.c (deprecated_read_register_gen): Remove, inline ...
...
(read_register): ... here.
(deprecated_write_register_gen): Remove, inline ...
(write_register): ... here.
* regcache.h (deprecated_read_register_gen): Remove prototype.
(deprecated_write_register_gen): Likewise.
* remote-sim.c (gdbsim_store_register): Replace call to
deprecated_read_register_gen with regcache_cooked_read.
* target.c (debug_print_register): Replace calls to
deprecated_read_register_gen and read_register with
regcache_cooked_read.
2007-04-29 01:51:51 +00:00
Alan Modra
d8ab3e5259
daily update
2007-04-29 00:00:08 +00:00
gdbadmin
b4beb8b7b1
*** empty log message ***
2007-04-29 00:00:02 +00:00
Ulrich Weigand
8bb42077f2
* hpux-thread.c (hpux_thread_store_registers): Use
...
regcache_raw_collect, not regcache_raw_read.
* irix5-nat.c (fetch_core_registers): Use regcache_raw_supply,
not regcache_raw_write.
2007-04-28 22:51:34 +00:00
Thiemo Seufer
9ddf830930
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Don't access
...
memory which we might not own.
2007-04-28 22:31:45 +00:00
Thiemo Seufer
02ffd3e486
* config/tc-mips.c: Fix comment.
2007-04-28 22:12:58 +00:00
Ulrich Weigand
6ed7ea50e8
* gdbarch.sh: Remove deprecated_register_byte.
...
* gdbarch.c, gdbarch.h: Regenerate.
* arch-utils.h (generic_register_size, generic_register_byte): Remove.
* arch-utils.c (generic_register_size, generic_register_byte): Remove.
* regcache.h (regcache_valid_p): Make REGCACHE parameter const.
* regcache.c (regcache_valid_p): Allow to query cooked registers in
read-only register caches. Make REGCACHE parameter const.
(regcache_dump): Do not check DEPRECATED_REGISTER_BYTE.
* mi/mi-main.c (old_regs): Remove.
(mi_setup_architecture_data, _initialize_mi_main): Remove.
(register_changed_p): Reimplement to compare two register caches.
(mi_cmd_data_list_changed_registers): Update caller.
* mi/mi-main.h (mi_setup_architecture_data): Remove.
* mi/mi-interp.c (mi_interpreter_init): Do not call
mi_setup_architecture_data.
2007-04-28 21:52:38 +00:00
Ulrich Weigand
efc72ef5c0
* alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define,
...
inline definition at the places the macros are used.
* alpha-linux-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Likewise.
2007-04-28 18:15:01 +00:00
Ulrich Weigand
7a61a01c89
* rs6000-aix-tdep.c: Include "regcache.h", "regset.h", and
...
"gdb_string.h".
(rs6000_aix32_reg_offsets, rs6000_aix64_reg_offsets): New variables.
(rs6000_aix_supply_regset, rs6000_aix_collect_regset): New functions.
(rs6000_aix32_regset, rs6000_aix64_regset): New variables.
(rs6000_aix_regset_from_core_section): New function.
(rs6000_aix_init_osabi): Register it.
(_initialize_rs6000_aix_tdep): Register GDB_OSABI_AIX osabi and
sniffer for bfd_arch_powerpc as well as bfd_arch_rs6000.
* rs6000-nat.c (CoreRegs): Do not define type.
(fetch_core_registers, rs6000_core_fns): Remove.
(_initialize_core_rs6000): Do not register it. Rename to ...
(_initialize_rs6000_nat): ... this.
* Makefile.in (rs6000-aix-tdep.o): Update dependencies.
2007-04-28 16:47:00 +00:00
Alan Modra
d7d4c8debe
* ldcref.c (struct cref_hash_entry): Make "demangled" const.
...
(cref_fill_array): Adjust for changed demangler.
* ldlang.c (lang_one_common): Likewise.
2007-04-28 06:04:28 +00:00
Alan Modra
e74ecdb3cb
* prdbg.c (tg_variable): Adjust for changed demangler.
...
(tg_start_function): Likewise.
2007-04-28 06:03:36 +00:00
Alan Modra
d6f7985d40
daily update
2007-04-28 00:00:06 +00:00
gdbadmin
e94c7bad6b
*** empty log message ***
2007-04-28 00:00:03 +00:00
Kevin Buettner
ace186d47a
* dwarf2expr.c (unsigned_address_type): Add forward declaration.
...
(dwarf2_read_address): Sign extend return address as required by
target architecture.
2007-04-27 22:34:56 +00:00
Kevin Buettner
89a7ee67c5
* solib-frv.c (lm_base): Bail out if the main executable has
...
not been relocated.
2007-04-27 22:20:06 +00:00
Ulrich Weigand
6afb1f322b
* alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location
...
of FPCR register in fpregset.
2007-04-27 20:57:47 +00:00
Bob Wilson
951474417e
* elf32-xtensa.c (elf_xtensa_make_sym_local): Restore deleted function.
...
(elf_xtensa_hide_symbol, elf_backend_hide_symbol): Likewise.
(elf_xtensa_allocate_dynrelocs): Use elf_xtensa_make_sym_local.
2007-04-27 20:10:47 +00:00
Bob Wilson
bcc2cc8eff
* elf32-xtensa.c (xtensa_read_table_entries): Step through table
...
contents and relocs in parallel.
2007-04-27 19:57:40 +00:00
H.J. Lu
484c222e44
2007-04-27 H.J. Lu <hongjiu.lu@intel.com>
...
* i386-dis.c (modrm): Put reg before rm.
2007-04-27 19:47:30 +00:00
Bob Wilson
f29f96b630
* elf32-xtensa.c (relax_property_section): Remove extra irel increment.
2007-04-27 18:28:22 +00:00
Nathan Sidwell
353a0210f9
* ld-m68k/plt1-isac.d: New.
...
* ld-m68k/m68k.exp: Add it.
2007-04-27 16:24:18 +00:00
Maciej W. Rozycki
66a0218a1e
gdb/:
...
* Makefile.in (gdbtk-wrapper.o): Update dependencies.
(gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise.
gdb/gdbtk/:
* generic/gdbtk-wrapper.c (GDB_varobj_update): New function.
(wrap_varobj_update): Likewise.
* generic/gdbtk-wrapper.h (GDB_varobj_update): New declaration.
* generic/gdbtk-varobj.c (variable_update): Call
GDB_varobj_update() rather than varobj_update() directly. Take
the new semantics of the latter into account.
* generic/gdbtk-cmds.c: Include "varobj.h".
* generic/gdbtk-stack.c: Likewise.
2007-04-27 15:39:49 +00:00
Ulrich Weigand
482f7fee19
* config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove.
...
* rs6000-nat.c (rs6000_wait): New function.
(_initialize_core_rs6000): Install it as to_wait target method.
* target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS.
2007-04-27 13:26:05 +00:00