Nick Clifton [Fri, 2 May 2003 08:14:52 +0000 (08:14 +0000)]
Fix name of --enable-install-libbfd switch.
Chris Demetriou [Fri, 2 May 2003 05:29:13 +0000 (05:29 +0000)]
2003-05-01 Chris Demetriou <cgd@broadcom.com>
* gas/mips/mips.exp (mips_arch_init): New function.
Call it before setting up architecture array entries.
H.J. Lu [Fri, 2 May 2003 03:01:44 +0000 (03:01 +0000)]
2003-05-01 H.J. Lu <hjl@gnu.org>
* config/obj-elf.c (obj_elf_type): Accept "notype" and
"STT_NOTYPE".
H.J. Lu [Fri, 2 May 2003 03:00:49 +0000 (03:00 +0000)]
2003-05-01 H.J. Lu <hjl@gnu.org>
* gas/elf/elf.exp (run_list_test): Accept empty $opts.
Add type test.
* gas/elf/type.e: New file.
* gas/elf/type.s: Likewise.
* gas/elf/type.e-m32r: Likewise.
* gas/elf/type.e-mips: Likewise.
* gas/elf/type.e-miwmmxt: Likewise.
H.J. Lu [Fri, 2 May 2003 02:46:36 +0000 (02:46 +0000)]
gas/
2003-05-01 H.J. Lu <hjl@gnu.org>
* config/tc-ia64.h (tc_canonicalize_section_name): New.
* config/obj-elf.c (obj_elf_section_name): Call
tc_canonicalize_section_name if it is defined.
gas/testsuite/
2003-05-01 H.J. Lu <hjl@gnu.org>
* gas/ia64/ia64.exp: Add secname.
* gas/ia64/secname.s: New. Test the trailing '#' in section
name.
* gas/ia64/secname.d: Likewise.
H.J. Lu [Fri, 2 May 2003 02:43:28 +0000 (02:43 +0000)]
2003-05-01 H.J. Lu <hjl@gnu.org>
* gas/ia64/ia64.exp: Add "global".
* gas/ia64/global.d: New file.
* gas/ia64/global.s: Likewise.
H.J. Lu [Fri, 2 May 2003 02:41:45 +0000 (02:41 +0000)]
2003-05-01 H.J. Lu <hjl@gnu.org>
* config/tc-ia64.c (ia64_check_label): New.
* config/tc-ia64.h (tc_check_label): New.
* read.c (read_a_source_file): Call tc_check_label after
creating a user-defined label if defined.
Alan Modra [Fri, 2 May 2003 02:29:22 +0000 (02:29 +0000)]
* config/tc-ppc.c (md_show_usage): Mention -a32, -a64, -l, -le, -b,
-be and split strings to below 509 bytes in length.
gdbadmin [Fri, 2 May 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 2 May 2003 00:00:05 +0000 (00:00 +0000)]
daily update
Andrew Cagney [Thu, 1 May 2003 23:21:08 +0000 (23:21 +0000)]
2003-05-01 Andrew Cagney <cagney@redhat.com>
* disasm.c (gdb_disassemble_from_exec): Delete global variable.
(gdb_disassembly): Make "di" non static, always initialize and
cleanup. Always use dis_asm_read_memory.
(gdb_dis_asm_read_memory): Delete function.
2003-05-01 Andrew Cagney <cagney@redhat.com>
* gdb.asm/asm-source.exp: Check that "disassm" and "x/i" of a
variable do not give memory errors.
Christian Groessler [Thu, 1 May 2003 20:08:55 +0000 (20:08 +0000)]
* z8k-dis.c (z8k_lookup_instr): Optimize FETCH_DATA calls.
(unpack_instr): Fix representation of segmented addresses.
(intr_name): Added, contains names of the parameters to the EI/DI
instructions.
(unparse_instr): Fix display of EI/DI parameters.
Christian Groessler [Thu, 1 May 2003 20:05:45 +0000 (20:05 +0000)]
* expr.h: Fix comments in operatorT typedef.
* config/tc-z8k.c: Add 2003 to copyright message.
Fold s_segm() and s_unseg() into one function s_segm(parm) which
decides by the parameter.
(md_begin): Don't set linkrelax. Only set Z8002 default if no
command line argument was given to select the intended
architecure.
(get_interrupt_operand): Warn if NOP type code is emitted.
(newfix): New parameter 'size', forward it to 'fix_new_exp'.
(apply_fix): Call newfix with additional 'size' parameter.
(build_bytes): Remove unused variable 'nib'. Detect overflow in
4 bit immediate arguments.
(md_longopts): Add 'linkrelax' option.
(md_parse_option): Adapt to new s_segm function. Set 'linkrelax'
variable when 'linkrelax' command line option is specified.
(md_show_usage): Display 'linkrelax' option.
(md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8. Add cases
R_CALLR and R_REL16.
* config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD.
Christian Groessler [Thu, 1 May 2003 19:59:33 +0000 (19:59 +0000)]
* expr.h: Fix comments in operatorT typedef.
* config/tc-z8k.c: Add 2003 to copyright message.
Fold s_segm() and s_unseg() into one function s_segm(parm) which
decides by the parameter.
(md_begin): Don't set linkrelax. Only set Z8002 default if no
command line argument was given to select the intended
architecure.
(get_interrupt_operand): Warn if NOP type code is emitted.
(newfix): New parameter 'size', forward it to 'fix_new_exp'.
(apply_fix): Call newfix with additional 'size' parameter.
(build_bytes): Remove unused variable 'nib'. Detect overflow in
4 bit immediate arguments.
(md_longopts): Add 'linkrelax' option.
(md_parse_option): Adapt to new s_segm function. Set 'linkrelax'
variable when 'linkrelax' command line option is specified.
(md_show_usage): Display 'linkrelax' option.
(md_apply_fix3): Fix cases R_IMM4L, R_JR, and R_IMM8. Add cases
R_CALLR and R_REL16.
* config/tc-z8k.h: Undef WARN_SIGNED_OVERFLOW_WORD.
Andrew Cagney [Thu, 1 May 2003 15:37:45 +0000 (15:37 +0000)]
2003-05-01 Andrew Cagney <cagney@redhat.com>
* d10v-tdep.c (d10v_frame_align): Replace d10v_stack_align.
(d10v_gdbarch_init): Set frame_align instead of stack_align.
Alan Modra [Thu, 1 May 2003 10:22:46 +0000 (10:22 +0000)]
* elf32-ppc.c (ppc_elf_copy_indirect_symbol): Test whether the
weakdef sym has already been adjusted before treating it specially.
* elf32-i386.c (elf_i386_copy_indirect_symbol): Don't copy
ELF_LINK_NON_GOT_REF for weakdefs when symbol already adjusted.
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Likewise.
(ppc64_elf_check_relocs): Set ELF_LINK_NON_GOT_REF.
Adam Fedor [Thu, 1 May 2003 01:09:51 +0000 (01:09 +0000)]
* Makefile.in (ALL_SUBDIRS): Add gdb.objc
* configure.in (AC_OUTPUT): Add gdb.objc/Makefile
* gdb.objc/Makefile.in, gdb.objc/basicclass.exp,
gdb.objc/basicclass.m: : New files
* lib/gdb.exp (gdb_compile_objc): New procedure.
H.J. Lu [Thu, 1 May 2003 01:00:30 +0000 (01:00 +0000)]
gas/
2003-04-30 H.J. Lu <hjl@gnu.org>
* config/tc-ia64.c (ia64_number_to_chars): New function pointer.
(ia64_float_to_chars): Likewise.
(dot_byteorder): Set target_big_endian, ia64_number_to_chars
and ia64_float_to_chars by tc_segment_info_data.endian from
the current segment if byteorder == -1.
(md_begin): Call dot_byteorder to set target_big_endian.
(md_atof): Call ia64_float_to_chars to convert floating point.
(ia64_float_to_chars_bigendian): New function.
(ia64_float_to_chars_littleendian): Likewise.
(ia64_elf_section_change_hook): Likewise.
* config/tc-ia64.h (ia64_number_to_chars): New.
(md_number_to_chars): Changed to (*ia64_number_to_chars)
(ia64_elf_section_change_hook): New.
(md_elf_section_change_hook): Defined.
(ia64_segment_info_type): New struct.
(TC_SEGMENT_INFO_TYPE): Defined.
gas/testsuite/
2003-04-30 H.J. Lu <hjl@gnu.org>
* gas/ia64/ia64.exp: Add order.
* gas/ia64/order.s: New file.
* gas/ia64/order.d: Likewise.
H.J. Lu [Thu, 1 May 2003 00:53:39 +0000 (00:53 +0000)]
gas/
2003-04-30 H.J. Lu <hjl@gnu.org>
* config/tc-ia64.c (md_section_align): Deleted.
* config/tc-ia64.h (SUB_SEGMENT_ALIGN): New.
(md_section_align): New.
gas/testsuite/
2003-04-29 H.J. Lu <hjl@gnu.org>
* gas/ia64/ia64.exp: Add align.
* gas/ia64/align.d: New file.
* gas/ia64/align.s: Likewise.
* ia64/dependency-1.d: Remove the padding.
ld/testsuite/
2003-04-29 H.J. Lu <hjl@gnu.org>
* ld-ia64/tlsbin.dd: Updated.
* ld-ia64/tlsbin.rd: Likewise.
* ld-ia64/tlsbin.sd: Likewise.
* ld-ia64/tlsbin.td: Likewise.
* ld-ia64/tlspic.rd: Likewise.
* ld-ia64/tlspic.sd: Likewise.
* ld-ia64/tlspic.td: Likewise.
H.J. Lu [Thu, 1 May 2003 00:40:41 +0000 (00:40 +0000)]
2003-04-30 H.J. Lu <hjl@gnu.org>
* objdump.c (only): Change it to char **.
(only_size): New.
(only_used): New.
(disassemble_data): Check only as an array.
(dump_data): Likewise.
(dump_relocs): Likewise.
(main): Treat only as an array.
gdbadmin [Thu, 1 May 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 1 May 2003 00:00:07 +0000 (00:00 +0000)]
daily update
Andrew Cagney [Wed, 30 Apr 2003 22:01:38 +0000 (22:01 +0000)]
2003-04-30 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (deprecated_tm_print_insn_info): Rename
"tm_print_insn_info".
(TARGET_PRINT_INSN_INFO): Delete macro.
(dis_asm_read_memory): Delete function declaration.
(dis_asm_memory_error, dis_asm_print_address): Ditto.
(tm_print_insn_info): Delete variable definition.
(_initialize_gdbarch): Do not initialize "tm_print_insn_info".
* gdbarch.h, gdbarch.c: Re-generate.
* d10v-tdep.c (display_trace): Replace "tm_print_insn_info" with
"deprecated_tm_print_insn_info".
* mcore-tdep.c (mcore_dump_insn): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* sparc-tdep.c (_initialize_sparc_tdep): Ditto.
* v850-tdep.c (v850_scan_prologue, v850_gdbarch_init): Ditto.
* ia64-tdep.c (_initialize_ia64_tdep): Ditto.
* printcmd.c (print_insn): Use "deprecated_tm_print_insn_info"
instead of TARGET_PRINT_INSN_INFO, add comment.
* s390-tdep.c (s390_get_frame_info): Instead of
"dis_asm_read_memory", use "deprecated_tm_print_insn_info".
(s390_check_function_end, s390_is_sigreturn): Ditto.
* corefile.c (dis_asm_read_memory): Move to "disasm.c".
(dis_asm_memory_error, dis_asm_print_address): Ditto.
* disasm.c: Include "gdbcore.h".
(_initialize_disasm): New function, initialize
"deprecated_tm_print_insn_info".
(deprecated_tm_print_insn_info): New variable.
(dis_asm_read_memory): Moved from "corefile.c", made static.
(dis_asm_print_address, dis_asm_memory_error): Ditto.
* Makefile.in (disasm.o): Update dependencies.
2003-04-28 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Replace
read_fp, TARGET_READ_FP and FP_REGNUM, with deprecated_read_fp,
DEPRECATED_TARGET_READ_FP and DEPRECATED_REGNUM.
H.J. Lu [Wed, 30 Apr 2003 21:38:55 +0000 (21:38 +0000)]
gas/
2003-04-30 H.J. Lu <hjl@gnu.org>
* config/tc-ia64.c (stmt_float_cons): Fix alignment for real10
and add real16.
(md_pseudo_table): Add "xreal16", "xreal16.ua", "real16" and
"real16.ua".
(md_atof): Add 6 byte padding of zero for real16.
gas/testsuite/
2003-04-29 H.J. Lu <hjl@gnu.org>
* gas/ia64/ia64.exp: Add real.
* gas/ia64/real.s: New file.
* gas/ia64/real.d: Likewise.
Andrew Cagney [Wed, 30 Apr 2003 18:17:58 +0000 (18:17 +0000)]
2003-04-30 Andrew Cagney <cagney@redhat.com>
* sparc-tdep.c (SPARC_HAS_FPU): When multi-arch, define as 1.
Joern Rennecke [Wed, 30 Apr 2003 12:07:19 +0000 (12:07 +0000)]
* ld-selective/3.cc (start): New function.
* ld-selective/4.cc: Likewise.
* ld-selective/5.cc: Likewise.
Nick Clifton [Wed, 30 Apr 2003 12:03:58 +0000 (12:03 +0000)]
Do not crash when encountering relocs against the *ABS* section.
Adam Fedor [Wed, 30 Apr 2003 01:27:53 +0000 (01:27 +0000)]
* eval.c (evaluate_subexp_standard): Handle ObjC ops.
* infcall.c (find_function_addr): Make non-static.
* infcall.h (find_function_addr): Declare.
* Makefile.in (eval.o): Update dependencies.
gdbadmin [Wed, 30 Apr 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 30 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update
Nick Clifton [Tue, 29 Apr 2003 11:52:37 +0000 (11:52 +0000)]
Fix problem parsing symbol version strings when they are preceeded by whitespace.
Add test to catch this problem in the future.
Adam Fedor [Tue, 29 Apr 2003 02:34:24 +0000 (02:34 +0000)]
* symtab.c (symbol_find_demangled_name): Check for and demangle
ObjC symbols.
(symbol_init_demangled_name): Init for language_objc as well.
H.J. Lu [Tue, 29 Apr 2003 01:53:46 +0000 (01:53 +0000)]
bfd/
2003-04-28 H.J. Lu <hjl@gnu.org>
* elfxx-ia64.c (elfNN_ia64_relax_section): Relax ldxmov during
the relax finalize pass.
* section.c (struct sec): Add need_finalize_relax and remove
flag11.
(STD_SECTION): Update struct sec initializer.
* bfd-in2.h: Regenerated.
include/
2003-04-28 H.J. Lu <hjl@gnu.org>
* bfdlink.h (bfd_link_info): Add relax_finalizing.
ld/
2003-04-28 H.J. Lu <hjl@gnu.org>
* ldlang.c (lang_process): Add the relax finalize pass.
* ldmain.c (main): Initialize link_info.relax_finalizing to
FALSE.
Andrew Cagney [Tue, 29 Apr 2003 01:49:49 +0000 (01:49 +0000)]
2003-04-28 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_TARGET_READ_FP): Replace TARGET_READ_FP.
(DEPRECATED_FP_REGNUM): Replace FP_REGNUM.
* gdbarch.h, gdbarch.c: Re-generate.
* infcall.c (call_function_by_hand): Use DEPRECATED_FP_REGNUM,
DEPRECATED_TARGET_READ_FP, or "sp" to create the dummy frame ID.
* inferior.h (deprecated_read_fp): Rename read_fp.
(generic_target_read_fp): Delete declaration.
* regcache.c (generic_target_read_fp): Delete function.
(deprecated_read_fp): Replace read_fp, use
DEPRECATED_TARGET_READ_FP or DEPRECATED_FP_REGNUM.
* d10v-tdep.c (d10v_read_fp): Delete function.
(d10v_gdbarch_init): Do not set deprecated_read_fp.
* sparc-tdep.c (sparc_gdbarch_init): Do not set
deprecated_target_read_fp to generic_target_read_fp.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Set
deprecated_fp_regnum.
* x86-64-tdep.c (x86_64_init_abi): Ditto.
* vax-tdep.c (vax_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* m68k-tdep.c (m68k_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* hppa-tdep.c (hppa_gdbarch_init): Ditto.
* h8300-tdep.c (h8300_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Ditto.
* alpha-tdep.c (alpha_gdbarch_init): Ditto.
* x86-64-tdep.c (x86_64_init_abi): Set deprecated_target_read_fp.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* sparc-tdep.c (sparc_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.
* mn10300-tdep.c (mn10300_gdbarch_init): Ditto.
* mips-tdep.c (mips_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* hppa-tdep.c (hppa_gdbarch_init): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Ditto.
* vax-tdep.c (vax_frame_init_saved_regs): Replace FP_REGNUM with
DEPRECATED_FP_REGNUM.
(vax_push_dummy_frame, vax_pop_frame): Ditto.
* std-regs.c (value_of_builtin_frame_fp_reg): Ditto.
* sparc-tdep.c (sparc_init_extra_frame_info): Ditto.
(sparc_push_dummy_frame, sparc64_read_fp): Ditto.
(sparc32_register_virtual_type): Ditto.
* sh-tdep.c (sh64_frame_chain): Ditto.
(sh64_get_saved_register, sh64_pop_frame): Ditto.
(sh_nofp_frame_init_saved_regs): Ditto.
(sh64_nofp_frame_init_saved_regs): Ditto.
(sh_fp_frame_init_saved_regs): Ditto.
* remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
* remote-e7000.c (fetch_regs_from_dump): Ditto.
* procfs.c (procfs_fetch_registers): Ditto.
(procfs_store_registers): Ditto.
* ns32knbsd-nat.c (fetch_inferior_registers): Ditto.
(store_inferior_registers, fetch_core_registers): Ditto.
(fetch_kcore_registers, clear_regs): Ditto.
* ns32k-tdep.c (ns32k_frame_init_saved_regs): Ditto.
(ns32k_push_dummy_frame, ns32k_pop_frame): Ditto.
* nlm/i386.h (DEPRECATED_FP_REGNUM): Ditto.
* nlm/i386.c (do_status): Ditto.
* mipsv4-nat.c (supply_gregset): Ditto.
* mips-tdep.c: Ditto for comments.
* mips-nat.c (fetch_inferior_registers): Ditto.
(store_inferior_registers, fetch_core_registers): Ditto.
* m68k-tdep.c (m68k_push_dummy_frame): Ditto.
(m68k_pop_frame, m68k_frame_init_saved_regs): Ditto.
* i386-tdep.c (i386_frame_init_saved_regs): Ditto.
(i386_do_pop_frame, i386_register_type): Ditto.
* hppa-tdep.c (hppa_frame_chain): Ditto.
(hppa_push_dummy_frame, find_dummy_frame_regs): Ditto.
(hppa_pop_frame, hppa_read_fp): Ditto.
(skip_prologue_hard_way, hppa_frame_find_saved_regs): Ditto.
* cris-tdep.c (cris_examine, cris_pop_frame): Ditto.
* config/vax/nm-vax.h (REGISTER_U_ADDR): Ditto.
* config/sparc/tm-sparc.h (DEPRECATED_FP_REGNUM): Ditto.
* config/sparc/tm-sp64.h (DEPRECATED_FP_REGNUM): Ditto.
* config/s390/tm-s390.h (DEPRECATED_FP_REGNUM): Ditto.
* config/pa/tm-hppa64.h (DEPRECATED_FP_REGNUM): Ditto.
* config/ia64/tm-ia64.h (DEPRECATED_FP_REGNUM): Ditto.
* blockframe.c: Ditto for comments.
* arch-utils.h: Ditto for comments.
* arch-utils.c (legacy_virtual_frame_pointer): Ditto.
* alphanbsd-tdep.c (fetch_core_registers): Ditto.
* alphabsd-nat.c (fetch_inferior_registers): Ditto.
* alpha-tdep.h: Ditto for comments.
* alpha-tdep.c (alpha_cannot_fetch_register): Ditto.
(alpha_cannot_store_register): Ditto.
(alpha_push_dummy_frame): Ditto.
* alpha-nat.c (supply_gregset): Ditto.
* config/sparc/tm-sp64.h (DEPRECATED_TARGET_READ_FP): Update.
* config/pa/tm-hppa64.h (DEPRECATED_TARGET_READ_FP): Update.
* config/sparc/tm-sparc.h: Update comment.
* hppa-tdep.c (hppa_init_extra_frame_info): Use
deprecated_read_fp instead of TARGET_READ_FP.
(hppa_init_extra_frame_info, hppa_frame_chain): Ditto.
(hppa_push_dummy_frame, hppa_read_fp): Ditto.
* sparc-tdep.c (sparc_init_extra_frame_info): Use
deprecated_read_fp instead of read_fp.
* s390-tdep.c (s390_push_arguments): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* frame.h: Ditto in comments.
* frame.c (legacy_get_prev_frame): Ditto.
* dummy-frame.c (dummy_frame_this_id): Ditto.
* arm-tdep.c (arm_init_extra_frame_info): Ditto.
2003-04-28 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Replace
read_fp, TARGET_READ_FP and FP_REGNUM, with deprecated_read_fp,
DEPRECATED_TARGET_READ_FP and DEPRECATED_REGNUM.
Alan Modra [Tue, 29 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 29 Apr 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Chris Demetriou [Mon, 28 Apr 2003 23:48:42 +0000 (23:48 +0000)]
2003-04-28 Chris Demetriou <cgd@broadcom.com>
* configure.in (mips-*-*n*bsd*): Replace with...
(mips-*-netbsd*, mips-*-openbsd*): These.
* configure: Regenerate.
H.J. Lu [Mon, 28 Apr 2003 16:58:01 +0000 (16:58 +0000)]
bfd/
2003-04-28 H.J. Lu <hjl@gnu.org>
* elflink.h (elf_merge_symbol): Call elf_backend_copy_indirect_symbol
to copy any information related to dynamic linking when we flip
the indirection.
ld/testsuite/
2003-04-28 H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers.exp (picflag): Set PIC flag for compiler.
(build_vers_lib): Support PIC.
(build_vers_lib_no_pic): New. Change all calls to build_vers_lib
to build_vers_lib_no_pic.
(build_vers_lib_pic): New.
Add tests vers26a, vers26b1, vers26b2 and vers26b3 for versioned
definition vs. normal definition in different files.
* ld-elfvers/vers26a.c: New file.
* ld-elfvers/vers26a.dsym: Likewise.
* ld-elfvers/vers26a.map: Likewise.
* ld-elfvers/vers26a.ver: Likewise.
* ld-elfvers/vers26b.c: Likewise.
* ld-elfvers/vers26b.dsym: New empty file.
* ld-elfvers/vers26b.ver: Likewise.
Andrew Cagney [Mon, 28 Apr 2003 16:17:29 +0000 (16:17 +0000)]
2003-04-28 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (deprecated_tm_print_insn): Rename tm_print_insn.
* gdbarch.h, gdbarch.c: Re-generate.
* xstormy16-tdep.c (_initialize_xstormy16_tdep): Update.
* vax-tdep.c (_initialize_vax_tdep): Update.
* v850-tdep.c (_initialize_v850_tdep): Update.
* sparc-tdep.c (_initialize_sparc_tdep): Update.
* s390-tdep.c (_initialize_s390_tdep): Update.
* ns32k-tdep.c (_initialize_ns32k_tdep): Update.
* mn10300-tdep.c (_initialize_mn10300_tdep): Update.
* mips-tdep.c (_initialize_mips_tdep): Update.
* mcore-tdep.c (_initialize_mcore_tdep): Update.
* m68k-tdep.c (_initialize_m68k_tdep): Update.
* ia64-tdep.c (_initialize_ia64_tdep): Update.
* hppa-tdep.c (_initialize_hppa_tdep): Update.
* h8300-tdep.c (_initialize_h8300_tdep): Update.
* frv-tdep.c (_initialize_frv_tdep): Update.
* cris-tdep.c (cris_delayed_get_disassembler): Update.
(_initialize_cris_tdep): Update.
* arch-utils.c (legacy_print_insn): Update.
* alpha-tdep.c (_initialize_alpha_tdep): Update.
2003-04-28 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Rename
"tm_print_insn" to "deprecated_tm_print_insn".
Nick Clifton [Mon, 28 Apr 2003 08:35:06 +0000 (08:35 +0000)]
* config/tc-hppa.c (hppa_symbol_chars): New.
* config/tc-hppa.h (tc_symbol_chars): Likewise.
H.J. Lu [Mon, 28 Apr 2003 03:31:36 +0000 (03:31 +0000)]
bfd/
2003-04-27 H.J. Lu <hjl@gnu.org>
* elf-bfd.h (ELF_LINK_DYNAMIC_DEF): New.
(ELF_LINK_DYNAMIC_WEAK): New.
* elflink.h (elf_merge_symbol): Add one argument to indicate if
a symbol should be skipped. Ignore definitions in dynamic
objects for symbols with non-default visibility.
(elf_add_default_symbol): Adjusted.
(elf_link_add_object_symbols): Check if a symbol should be
skipped. Don't merge the visibility field with the one from
a dynamic object.
(elf_link_check_versioned_symbol): Use undef_bfd.
(elf_link_output_extsym): Warn if a forced local symbol is
referenced from dynamic objects. Make non-weak undefined symbol
with non-default visibility a fatal error.
ld/testsuite/
2003-04-27 H.J. Lu <hjl@gnu.org>
* ld-elfvsb/elfvsb.dat: Updated.
* ld-elfvsb/elfvsb.exp: Likewise.
* ld-elfvsb/main.c: Likewise.
* ld-elfvsb/sh1.c: Likewise.
* ld-elfvsb/sh2.c: Likewise.
Daniel Jacobowitz [Mon, 28 Apr 2003 02:24:35 +0000 (02:24 +0000)]
* Makefile.tpl: Clean $(BUILD_SUBDIR).
* Makefile.in: Regenerated.
Daniel Jacobowitz [Mon, 28 Apr 2003 00:50:30 +0000 (00:50 +0000)]
* gdb.base/signals.exp: Make backtrace tests more specific.
Alan Modra [Mon, 28 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 28 Apr 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Sun, 27 Apr 2003 19:59:10 +0000 (19:59 +0000)]
* configure.in: Bump version on HEAD to 2.14.90.
* configure: Regenerated.
Adam Fedor [Sun, 27 Apr 2003 03:23:38 +0000 (03:23 +0000)]
* linespec.c (decode_objc): New function to decode ObjC calls
(decode_line_1): Check for ObjC calls (using decode_objc)
* Makefile (linespec.o): Update dependencies.
Daniel Jacobowitz [Sun, 27 Apr 2003 01:11:10 +0000 (01:11 +0000)]
* breakpoint.h (struct breakpoint_ops): New.
(struct breakpoint): Add ops member.
* breakpoint.c (print_bp_stop_message, print_one_breakpoint)
(mention): Use new breakpoint ops member.
(set_raw_breakpoint): Initialize ops field to NULL.
(print_exception_catchpoint, print_one_exception_catchpoint)
(print_mention_exception_catchpoint, handle_gnu_v3_exceptions): New.
(gnu_v3_exception_catchpoint_ops): New.
(catch_exception_command_1): Call handle_gnu_v3_exceptions.
gdbadmin [Sun, 27 Apr 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Thiemo Seufer [Sat, 26 Apr 2003 20:57:14 +0000 (20:57 +0000)]
* config/tc-mips.h (TC_FORCE_RELOCATION_SUB_SAME): Define again.
Stephane Carrez [Sat, 26 Apr 2003 11:53:36 +0000 (11:53 +0000)]
PR savannah/3331:
* elf32-m68hc11.c (m68hc11_elf_relax_section): Clear prev_insn_group
when we couldn't relax something.
* ld-m68hc11/bug-3331.d: New test.
* ld-m68hc11/bug-3331.s: New file.
Nick Clifton [Sat, 26 Apr 2003 07:57:26 +0000 (07:57 +0000)]
oops - forgot to add the grep for "(DW_OP_addr: 0)"
Nick Clifton [Sat, 26 Apr 2003 07:53:20 +0000 (07:53 +0000)]
Rework readelf -wi tests to grep for expected strings.
Adam Fedor [Sat, 26 Apr 2003 01:57:28 +0000 (01:57 +0000)]
* Makefile.in (COMMON_OBS): Add objc-lang.o
Chris Demetriou [Sat, 26 Apr 2003 01:35:58 +0000 (01:35 +0000)]
2003-04-25 Chris Demetriou <cgd@broadcom.com>
* NEWS: Belatedly mention support for MIPS32 Release 2.
gdbadmin [Sat, 26 Apr 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sat, 26 Apr 2003 00:00:07 +0000 (00:00 +0000)]
daily update
Andrew Cagney [Fri, 25 Apr 2003 22:14:05 +0000 (22:14 +0000)]
2003-04-25 Andrew Cagney <cagney@redhat.com>
* d10v-tdep.c (print_insn): Delete function.
(display_trace): Use TARGET_PRINT_INSN.
(_initialize_d10v_tdep): Do not set tm_print_insn.
(d10v_gdbarch_init): Set print_insn.
Andrew Cagney [Fri, 25 Apr 2003 21:20:58 +0000 (21:20 +0000)]
2003-04-25 Andrew Cagney <cagney@redhat.com>
* d10v-tdep.c (d10v_extract_return_value): Delete call to printf.
(_initialize_d10v_tdep): Use add_setshow_boolean_cmd.
(d10v_frame_unwind_cache): Use FRAME_OBSTACK_CALLOC.
(NR_DMAP_REGS, A0_REGNUM): Delete, replaced by ...
(nr_dmap_regs, a0_regnum): ... new functions.
(d10v_print_registers_info): Use a0_regnum, use register_size.
(d10v_register_byte): Delete function.
(d10v_register_raw_size): Delete function.
(d10v_register_type): Use a0_regnum.
(d10v_print_registers_info): Use a0_regnum.
(D10V_SP_REGNUM): Rename _SP_REGNUM, replace it and SP_REGNUM.
(d10v_gdbarch_init): Do not set register_byte or
register_raw_size, use D10V_SP_REGNUM to set sp_regnum.
(d10v_pointer_to_address): Use extract_unsigned_integer instead of
extract_address.
(trace_command): Use XCALLOC.
(print_insn): Delete reference to tm_print_insn.
(saved_regs_unwinder): Use store_unsigned_integer instead of
store_address.
* frame.h (FRAME_OBSTACK_CALLOC): Define
David Carlton [Fri, 25 Apr 2003 16:49:22 +0000 (16:49 +0000)]
2003-04-25 David Carlton <carlton@bactrian.org>
* config/djgpp/fnchange.lst: Add testsuite/gdb.c++/maint.exp.
H.J. Lu [Fri, 25 Apr 2003 15:17:51 +0000 (15:17 +0000)]
2003-04-25 Alan Modra <amodra@bigpond.net.au>
* elflink.h (elf_merge_symbol): When we find a regular definition
for an indirect symbol, flip the indirection so that the old
direct symbol now points to the new definition.
Joern Rennecke [Fri, 25 Apr 2003 14:23:31 +0000 (14:23 +0000)]
* lib/ld-lib.exp (big_or_little_endian): Also check for -mb and -ml.
Eric Christopher [Fri, 25 Apr 2003 04:40:09 +0000 (04:40 +0000)]
2003-04-24 Eric Christopher <echristo@redhat.com>
* config/tc-mips.c (nopic_need_relax): Revert previous
change.
Adam Fedor [Fri, 25 Apr 2003 03:30:17 +0000 (03:30 +0000)]
* objc-lang.c: Include "valprint.h"
* Makefile.in (objc-lang.o): Update dependencies.
Adam Fedor [Fri, 25 Apr 2003 03:18:20 +0000 (03:18 +0000)]
* objc-lang.c (FETCH_ARGUMENT, CONVERT_FUNCPTR): Remove
architecture dependant compilation and mark as unimplemented
(until they get put in the gdbarch vector).
gdbadmin [Fri, 25 Apr 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 25 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update
H.J. Lu [Thu, 24 Apr 2003 21:00:06 +0000 (21:00 +0000)]
2003-04-24 J"orn Rennecke <joern.rennecke@superh.com>
* ld-elfcomm/elfcomm.exp: Allow symbols to have '_' prepended.
Roland McGrath [Thu, 24 Apr 2003 17:19:55 +0000 (17:19 +0000)]
.
Roland McGrath [Thu, 24 Apr 2003 17:19:37 +0000 (17:19 +0000)]
2003-04-24 Roland McGrath <roland@redhat.com>
* elf.c (bfd_section_from_phdr): Map PT_GNU_EH_FRAME to "eh_frame_hdr".
Roland McGrath [Thu, 24 Apr 2003 17:15:25 +0000 (17:15 +0000)]
2003-04-24 Roland McGrath <roland@redhat.com>
* ldgram.y (phdr_type): Grok PT_TLS and PT_GNU_EH_FRAME names.
If a name string is unknown, give an error rather than crashing later.
Nick Clifton [Thu, 24 Apr 2003 17:04:22 +0000 (17:04 +0000)]
Add tests of conditional branch instructions with probability postfixes
Nick Clifton [Thu, 24 Apr 2003 15:25:24 +0000 (15:25 +0000)]
oops - omitted from previous delta
Alan Modra [Thu, 24 Apr 2003 13:44:10 +0000 (13:44 +0000)]
* elf32-ppc.c: Formatting and comment fixes.
(ELIMINATE_COPY_RELOCS): Move before ppc_elf_copy_indirect_symbol.
(ppc_elf_copy_indirect_symbol): Copy flags here for weakdefs.
Nick Clifton [Thu, 24 Apr 2003 12:47:32 +0000 (12:47 +0000)]
Add support for dwarf2 debug information.
Nick Clifton [Thu, 24 Apr 2003 12:36:08 +0000 (12:36 +0000)]
Add support for h8300hn and h8300sn
Nick Clifton [Thu, 24 Apr 2003 10:22:35 +0000 (10:22 +0000)]
Add '+' and '-' as valid symbol characters for PPC port.
Nick Clifton [Thu, 24 Apr 2003 07:58:49 +0000 (07:58 +0000)]
Fix the documentation for the -fo option.
Kaz Kojima [Thu, 24 Apr 2003 05:19:09 +0000 (05:19 +0000)]
* elf32-sh.c (tpoff): New.
(struct elf_sh_dyn_relocs): Remove tls_tpoff32.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO.
(allocate_dynrelocs): Don't make unnecessary dynamic TLS
relocations. Adjust WILL_CALL_FINISH_DYNAMIC_SYMBOL uses.
(sh_elf_relocate_section): Likewise. Remove unnecessary tests.
(dtpoff_base): Fix wrong indentation.
(sh_elf_check_relocs): Don't set DF_STATIC_TLS flag with non-TLS
relocations. Don't set tls_tpoff32 flag. Don't make unnecessary
R_SH_TLS_TPOFF32 relocations.
* ld-sh/tlsbin-1.d, ld-sh/tlsbin-2.d, ld-sh/tlsbin-3.d,
ld-sh/tlstpoff-1.d, ld-sh/tlstpoff-2.d: Update for removing
unnecessary TLS relocs.
H.J. Lu [Thu, 24 Apr 2003 01:43:33 +0000 (01:43 +0000)]
include/
* bfdlink.h (bfd_link_callbacks): Add error_handler.
ld/
* ldmain.c (link_callbacks): Initialize error_handler.
* ldmisc.c (error_handler): New function.
* ldmisc.h (error_handler): New prototype.
gdbadmin [Thu, 24 Apr 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 24 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update
David Carlton [Wed, 23 Apr 2003 23:45:24 +0000 (23:45 +0000)]
2003-04-23 David Carlton <carlton@bactrian.org>
* cp-support.c (cp_find_first_component): Accept 'operator' in
more locations.
2003-04-23 David Carlton <carlton@bactrian.org>
* gdb.c++/maint.exp (test_first_component): Add tests for
'operator' in more locations.
Andrew Cagney [Wed, 23 Apr 2003 22:28:42 +0000 (22:28 +0000)]
2003-04-23 Andrew Cagney <cagney@redhat.com>
* infcall.c (call_function_by_hand): Eliminate redundant
indentation. Move "saved_async" and "old_cleanups" to where they
are needed.
Andrew Cagney [Wed, 23 Apr 2003 22:12:40 +0000 (22:12 +0000)]
2003-04-23 Andrew Cagney <cagney@redhat.com>
* infcall.c (call_function_by_hand): Eliminate the variables "rc"
and "buffer". Move the "name" code to where it is needed.
Andrew Cagney [Wed, 23 Apr 2003 21:14:33 +0000 (21:14 +0000)]
2003-04-23 Andrew Cagney <cagney@redhat.com>
* infcall.c (call_function_by_hand): Move variables "start_sp",
"dummy", "sizeof_dummy1" and "dummy1" and corresponding dummy call
code to ON_STACK switch branch.
Joern Rennecke [Wed, 23 Apr 2003 21:09:04 +0000 (21:09 +0000)]
bfd:
* archures.c (enum bfd_architecture): Amend comment to refer to SuperH.
* cpu-sh.c: Likewise.
* elf32-sh.c: Likewise.
* reloc.c (bfd_reloc_code_real): Likewise.
* elf32-sh64-com.c: Change comment to refer to SuperH.
* elf32-sh64.c: Likewise.
* elf64-sh64.c: Likewise.
* bfd-in2.h (enum bfd_architecture): Regenerate.
binutils:
* readelf.c (get_machine_name) <EM_SH>: Amend return value
to refer to SuperH.
gas:
* config/tc-sh.c: Amend comment to refer to SuperH.
* config/tc-sh.h: Likewise.
(LISTING_HEADER): Amend to refer to SuperH.
* config/tc-sh64.c: Change comment to refer to SuperH.
* config/tc-sh64.h (LISTING_HEADER): Change to refer to SuperH.
* doc/as.texinfo [SH, GENERIC]: Amend / Change to refer to SuperH.
* doc/c-sh.texi: Amend to refer to SuperH.
Add SuperH architecture documentation references.
* doc/c-sh64.texi: Change to refer to SuperH.
include/elf:
* common.h (EM_SH): Amend comment to refer to SuperH.
ld/testsuite:
* ld-sh/sh64/crange3-cmpct.rd (Machine): Change to refer to SuperH.
* ld-sh/sh64/crange3-media.rd (Machine): Likewise.
Andrew Cagney [Wed, 23 Apr 2003 20:31:57 +0000 (20:31 +0000)]
2003-04-23 Andrew Cagney <cagney@redhat.com>
* infcall.c (call_function_by_hand): Make declaration of "i",
"sal", "bpt" and "old_sp" more local to their use. Delete #if
lint.
Andrew Cagney [Wed, 23 Apr 2003 19:32:38 +0000 (19:32 +0000)]
2003-04-23 Andrew Cagney <cagney@redhat.com>
* infcall.c (call_function_by_hand): Delete variable
"n_method_args". Localize "param_type"'s declaration to the loop
that it is used. Reinstate code assigning to said variable -
deleted on 2002-06-14. Rationalize calls to value_args_coerce.
Rationalize code using "param_type".
Nick Clifton [Wed, 23 Apr 2003 17:51:42 +0000 (17:51 +0000)]
More checks for valid labels
Nick Clifton [Wed, 23 Apr 2003 17:36:08 +0000 (17:36 +0000)]
Fix "readelf -wi" test
H.J. Lu [Wed, 23 Apr 2003 16:40:04 +0000 (16:40 +0000)]
Check in the new files.
H.J. Lu [Wed, 23 Apr 2003 16:34:39 +0000 (16:34 +0000)]
2003-04-23 H.J. Lu <hjl@gnu.org>
* ld-elfvers/vers.exp (objdump_dynsymstuff): Support empty
files.
(objdump_versionstuff): Likewise.
Add tests vers25a, vers25b1 and vers25b2 for versioned
definition vs. normal definition in different files.
* ld-elfvers/vers25a.c: New file.
* ld-elfvers/vers25a.dsym: Likewise.
* ld-elfvers/vers25a.map: Likewise.
* ld-elfvers/vers25a.ver: Likewise.
* ld-elfvers/vers25b.c: New empty file.
* ld-elfvers/vers25b.dsym: Likewise.
* ld-elfvers/vers25b.ver: Likewise.
Andrew Cagney [Wed, 23 Apr 2003 15:02:02 +0000 (15:02 +0000)]
2003-04-22 Andrew Cagney <cagney@redhat.com>
* infcall.c (call_function_by_hand): Use new variable "bp_addr" to
compute the breakpoint address. Only call FIX_CALL_DUMMY when
ON_STACK. Eliminate the variable "addr". Do not pass "real_pc"
to DEPRECATED_PUSH_RETURN_ADDRESS.
Nick Clifton [Wed, 23 Apr 2003 09:00:22 +0000 (09:00 +0000)]
Accept -fo as an alias for -o
Alan Modra [Wed, 23 Apr 2003 05:21:29 +0000 (05:21 +0000)]
* elf32-i386.c (elf_i386_info_to_howto): Delete.
(elf_info_to_howto): Define as elf_i386_info_to_howto_rel.
gdbadmin [Wed, 23 Apr 2003 03:38:43 +0000 (03:38 +0000)]
*** empty log message ***
Alan Modra [Wed, 23 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update
Kevin Buettner [Tue, 22 Apr 2003 23:18:26 +0000 (23:18 +0000)]
* dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM
on the DWARF2 register number prior to fetching a register.
Joel Brobecker [Tue, 22 Apr 2003 23:04:40 +0000 (23:04 +0000)]
* config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro.
Update all the tests using SOFT_FLOAT considering the fact that
this macro was always set to 0.
* config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT
considering the fact that this macro was always set to 0.
* hppa-tdep.h (hppa_store_return_value): Likewise.
(hppa_extract_return_value): Likewise.