DJ Delorie
a35b6b049e
merge from gcc
2004-07-21 17:27:07 +00:00
Andrew Cagney
73cc75f3b2
2004-07-21 Andrew Cagney <cagney@gnu.org>
...
* PROBLEMS: Mention breakpoints/1702.
* NEWS: For signal trampolines, cite s390 GNU/Linux as a system
that is known to work.
2004-07-21 16:17:56 +00:00
Nick Clifton
20f0a1fc7d
Corrections for x86_64 assembly.
2004-07-21 16:09:43 +00:00
H.J. Lu
93a6423143
Update BFD_VERSION_DATE to 20040721.
2004-07-21 15:46:22 +00:00
H.J. Lu
082b729701
bfd/
...
2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
* aout-adobe.c (aout_32_section_already_linked): Defined.
* aout-target.h (MY_section_already_linked): Likewise.
* aout-tic30.c (MY_section_already_linked): Likewise.
* binary.c (binary_section_already_linked): Likewise.
* bout.c (b_out_section_already_linked): Likewise.
* coff-alpha.c (_bfd_ecoff_section_already_linked): Likewise.
* coff-mips.c (_bfd_ecoff_section_already_linked): Likewise.
* coffcode.h (coff_section_already_linked): Likewise.
* i386msdos.c (msdos_section_already_linked): Likewise.
* i386os9k.c (os9k_section_already_linked): Likewise.
* ieee.c (ieee_section_already_linked): Likewise.
* ihex.c (ihex_section_already_linked): Likewise.
* mach-o.c (bfd_mach_o_section_already_linked): Likewise.
* mmo.c (mmo_section_already_linked): Likewise.
* nlm-target.h (nlm_section_already_linked): Likewise.
* oasys.c (oasys_section_already_linked): Likewise.
* pef.c (bfd_pef_section_already_linked): Likewise.
* ppcboot.c (ppcboot_section_already_linked): Likewise.
* som.c (som_bfd_discard_group): Likewise.
* srec.c (srec_section_already_linked): Likewise.
* tekhex.c (tekhex_section_already_linked): Likewise.
* versados.c (versados_section_already_linked): Likewise.
* vms.c (vms_section_already_linked): Likewise.
* coff-target.h (_bfd_xcoff_section_already_linked): Likewise.
* xsym.c (bfd_sym_section_already_linked): Likewise.
* bfd-in.h (bfd_section_already_linked_table_init): New.
(bfd_section_already_linked_table_free): Likewise.
* coff-rs6000.c (rs6000coff_vec): Add
_bfd_generic_section_already_linked.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
(aix5coff64_vec): Likewise.
* elf-bfd.h (_bfd_elf_section_already_linked): New prototype.
* elflink.c (_bfd_elf_section_already_linked): New function.
* elfxx-target.h (bfd_elfNN_section_already_linked): Defined.
* libbfd-in.h (_bfd_nolink_section_already_linked): Defined.
(_bfd_generic_section_already_linked): New.
(bfd_section_already_linked_hash_entry): Likewise.
(bfd_section_already_linked): Likewise.
(bfd_section_already_linked_table_lookup): Likewise.
(bfd_section_already_linked_table_insert): Likewise.
* linker.c (bfd_section_already_linked): New.
(_bfd_section_already_linked_table): Likewise.
(bfd_section_already_linked_table_lookup): Likewise.
(bfd_section_already_linked_table_insert): Likewise.
(already_linked_newfunc): Likewise.
(bfd_section_already_linked_table_init): Likewise.
(bfd_section_already_linked_table_free): Likewise.
(_bfd_generic_section_already_linked): Likewise.
* section.c (bfd_section): Remove comdat.
(bfd_comdat_info): Moved to ...
* bfd-in.h (coff_comdat_info): Here.
(bfd_coff_get_comdat_section): New.
* coffgen.c (bfd_coff_get_comdat_section): Likewise.
* libcoff-in.h (coff_section_tdata): Add comdat.
* coffcode.h (handle_COMDAT): Updated.
* cofflink.c (coff_link_add_symbols): Likewise.
* ecoff.c (bfd_debug_section): Likewise.
* targets.c (bfd_target): Add _section_already_linked.
(BFD_JUMP_TABLE_LINK): Updated.
* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.
* libcoff.h: Likewise.
binutils/
2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
* objcopy.c (filter_symbols): Use bfd_coff_get_comdat_section
to access comdat.
* objdump.c (dump_section_header): Likewise.
ld/
2004-07-21 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (already_linked_hash_entry): Removed.
(already_linked): Likewise.
(already_linked_table): Likewise.
(section_already_linked): Call bfd_section_already_linked.
(lang_process): Replace already_linked_table_init with
bfd_section_already_linked_table_init and check return. Replace
already_linked_table_free with bfd_section_already_linked_table_free.
2004-07-21 15:42:58 +00:00
Nick Clifton
76d7af2d04
(init_os): Make sure that the newly allocated userdata structure is zeroed out.
2004-07-21 15:05:46 +00:00
Andrew Cagney
a53c66de31
2004-07-21 Andrew Cagney <cagney@gnu.org>
...
* config/mips/tm-mips.h (DEPRECATED_IGNORE_HELPER_CALL): Deprecate.
* mips-tdep.c (mips_dump_tdep, mips_ignore_helper): Update.
* infrun.c (DEPRECATED_IGNORE_HELPER_CALL): Delete macro.
(handle_inferior_event): Wrap call to deprecated
IGNORE_HELPER_CALL in #ifdef.
* config/mips/tm-nbsd.h: Update.
2004-07-21 14:23:37 +00:00
Paul Brook
0b52efa6eb
* elflink.c (elf_get_linked_section_vma, compare_link_order,
...
elf_fixup_link_order): New functions.
(bfd_elf_final_link): Call elf_fixup_link_order.
2004-07-21 13:32:26 +00:00
Alexandre Oliva
7e2294f937
* elf-bfd.h (ELF_COMMON_DEF_P): New.
...
* elflink.c (_bfd_elf_symbol_refs_local_p): Use it to handle
common definitions.
* elf-m10300.c: Use SYMBOL_REFERENCES_LOCAL instead of
_bfd_elf_symbol_refs_local_p.
* elf32-frv.c (FRVFDPIC_SYM_LOCAL): Remove hack for common
symbols.
2004-07-21 06:46:20 +00:00
gdbadmin
f6d87cd6b1
*** empty log message ***
2004-07-21 00:00:02 +00:00
Michael Chastain
8a12c1f0c4
2004-07-20 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.ada/gnat_ada.gpr.in: Rename from here ...
* gdb.ada/gnat_ada.gin: ... to here.
* configure.in: Use gnat_ada.gin.
* configure: Regenerate.
2004-07-20 23:11:21 +00:00
Jim Blandy
412b306056
* rs6000-tdep.c (rs6000_gdbarch_init): The register set used for
...
bfd_mach_ppc has no segment registers.
2004-07-20 22:09:53 +00:00
Jim Blandy
13ac140c31
Include PowerPC SPR numbers for special-purpose registers.
...
* rs6000-tdep.c (struct reg): Add new member, 'spr_num'.
(R, R4, R8, R16, F, P, R32, R64, R0): Include value for
new member in initializer.
(S, S4, SN4, S64): New macros for defining special-purpose
registers.
(PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS, PPC_OEA_SPRS, registers_power,
registers_403, registers_403GC, registers_505, registers_860,
registers_601, registers_602, registers_603, registers_604,
registers_750, registers_e500): Use them.
2004-07-20 22:08:37 +00:00
Jim Blandy
708ff41185
* rs6000-tdep.c (rs6000_gdbarch_init): Delete variable 'power';
...
replace references with expression used to initialize variable.
2004-07-20 22:06:05 +00:00
Andrew Cagney
23b451cfe2
2004-07-20 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/signals.exp: Replace send_gdb and gdb_expect with
gdb_test and gdb_test_multiple. Delete bash_bug. Delete suspect
XFAILs. Clean up test messages and comments. Check backtraces.
Delete re-sync code.
2004-07-20 19:59:26 +00:00
Andrew Cagney
1f602b35ff
2004-07-20 Andrew Cagney <cagney@gnu.org>
...
* breakpoint.c (deprecated_read_memory_nobpt): Rename
read_memory_nobpt.
* sparc-linux-tdep.c (sparc_linux_sigtramp_start): Update.
* s390-tdep.c (s390_readinstruction, s390_in_function_epilogue_p)
(s390_sigtramp_frame_sniffer): Update.
* mn10300-tdep.c (mn10300_analyze_prologue): Update.
* mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Update.
* mips-tdep.c (mips_fetch_instruction, mips16_fetch_instruction)
(mips32_fetch_instruction): Update.
* mcore-tdep.c (get_insn): Update.
* m68klinux-tdep.c (m68k_linux_pc_in_sigtramp): Update.
* i386nbsd-tdep.c (i386nbsd_sigtramp_offset): Update.
* i386ly-tdep.c (i386lynx_saved_pc_after_call): Update.
* i386-linux-tdep.c (i386_linux_sigtramp_start)
(i386_linux_rt_sigtramp_start): Update.
* i386-linux-nat.c (child_resume): Update.
* hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Update.
* hppa-linux-tdep.c (insns_match_pattern): Update.
* gdbcore.h: Update.
* frv-tdep.c (frv_gdbarch_adjust_breakpoint_address): Update.
* frame.c (safe_frame_unwind_memory): Update.
* amd64-linux-tdep.c (amd64_linux_sigtramp_start): Update.
* alphanbsd-tdep.c (alphanbsd_sigtramp_offset): Update.
* alpha-tdep.c (alpha_read_insn): Update.
2004-07-20 19:45:07 +00:00
Maciej W. Rozycki
d27af829b8
* gas/mips/elf-rel19.d: Pass -march=mips1 to gas as the test
...
expects load delay slots.
2004-07-20 18:02:09 +00:00
Maciej W. Rozycki
6f14957b2c
opcodes/
...
* mips-opc.c (mips_builtin_opcodes): Move coprocessor 2
move/branch operations to the bottom so that VR5400 multimedia
instructions take precedence in disassembly.
gas/testsuite/
* gas/mips/vr5400.d: Update for a correct disassembly of
"racm.ob".
2004-07-20 17:59:00 +00:00
Maciej W. Rozycki
01a3f561ab
* config/tc-mips.c (append_insn): Handle constant expressions with
...
no associated relocation.
(mips_ip): Cancel the expression after use for the Q format
specifier.
(parse_relocation): Return no relocation for unsupported
operators.
(my_getSmallExpression): Return no relocation if no relocation
operators are used.
2004-07-20 17:55:02 +00:00
Maciej W. Rozycki
1586d91e32
opcodes/
...
* mips-opc.c (mips_builtin_opcodes): Remove the MIPS32
ISA-specific "break" encoding.
gas/testsuite/
* gas/mips/mips32.s: Adjust for the unified "break" syntax. Add
another "break" case. Update the comment accordingly.
* gas/mips/set-arch.s: Likewise.
* gas/mips/mips32.d: Adjust for the new output.
* gas/mips/set-arch.d: Likewise.
2004-07-20 17:49:31 +00:00
Andrew Cagney
2cd8546d13
2004-07-20 Andrew Cagney <cagney@gnu.org>
...
* tramp-frame.h (struct tramp_frame): Change "insn" to a struct
containing both bytes and mask. Add "frame_type".
* tramp-frame.c (tramp_frame_start): Update.
(tramp_frame_prepend_unwinder): Update.
* mips-linux-tdep.c (mips_linux_o32_sigframe)
(mips_linux_o32_rt_sigframe, mips_linux_n32_rt_sigframe)
(mips_linux_n64_rt_sigframe): Update. Make "static const".
* ppcnbsd-tdep.c (tramp_frame ppcnbsd_sigtramp): Update.
2004-07-20 15:11:37 +00:00
Dave Anglin
e12904d27f
* config/obj-som.c (adjust_stab_sections): Add prototype.
...
(obj_som_compiler, obj_som_version, obj_som_copyright,
adjust_stab_sections): Add ATTRIBUTE_UNUSED to unused arguments.
* config/tc-hppa.c (update_subspace): Likewise.
(is_defined_subspace): Amplify comment.
* config/obj-som.h (som_frob_file): Add prototype.
2004-07-20 03:07:08 +00:00
Michael Chastain
83938a4eb9
Argh, I screwed up and committed a ChangeLog entry for a patch
...
that is still in the comment period. Sorry!
2004-07-20 00:26:35 +00:00
Michael Chastain
ab618a0235
2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
...
Fix PR cli/740.
* gdb.base/annota1.exp: Honor gdb,nosignals.
* gdb.base/annota3.exp: Likewise.
2004-07-20 00:24:41 +00:00
gdbadmin
3628158c3e
*** empty log message ***
2004-07-20 00:00:02 +00:00
Michael Chastain
46dad34018
2004-07-19 Michael Chastain <mec.gnu@mindspring.com>
...
* lib/java.exp: Update copyright notice.
2004-07-19 21:33:53 +00:00
H.J. Lu
90c1602c0f
2004-07-19 Christopher Faylor <cgf@timesys.com>
...
H.J. Lu <hongjiu.lu@intel.com>
* subsegs.c (section_symbol): Don't create a new segment when
existing segment is undefined.
2004-07-19 19:15:43 +00:00
H.J. Lu
14b3c46308
2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
...
* NEWS: Mention the new --add-needed/--no-add-needed and
--as-needed/--no-as-needed options.
2004-07-19 19:14:51 +00:00
Eli Zaretskii
f928dd6282
Add remapping for bfd/elf32-cr*.c,
...
bfd/elf32-sh-symbian.c, bfd/elf32-sh64-com.c,
sim/testsuite/sim/mips/hilo-hazard-[123].s, and
sim/testsuite/sim/mips/fpu64-ps-sb1.s.
2004-07-19 18:42:39 +00:00
H.J. Lu
e56f61be75
bfd/
...
2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
* bfd-in.h (dynamic_lib_link_class): Add DYN_NO_ADD_NEEDED and
DYN_NO_NEEDED.
(bfd_elf_get_dyn_lib_class): New prototype.
* elf.c (bfd_elf_get_dyn_lib_class): New function.
* elflink.c (elf_link_add_object_symbols): Check DYN_AS_NEEDED,
DYN_DT_NEEDED and DYN_NO_NEEDED bits to see if a DT_NEEDED
entry is needed. Issue an error if a DT_NEEDED entry is needed
for a file marked DYN_NO_NEEDED.
(elf_link_check_versioned_symbol): Check the DYN_DT_NEEDED bit
for DT_NEEDED tags.
* bfd-in2.h: Regenerated.
ld/
2004-07-19 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): Also
check the add_needed field.
(dt_needed): New struct.
(gld${EMULATION_NAME}_try_needed): Change the first argument
to a pointer to struct dt_needed. Check the DYN_NO_ADD_NEEDED
bit in the file where the DT_NEEDED entry comes from.
(gld${EMULATION_NAME}_search_needed): Change the second
argument to a pointer to struct dt_needed.
(gld${EMULATION_NAME}_check_ld_so_conf): Updated.
(gld${EMULATION_NAME}_after_open): Likewise.
* ld.texinfo: Add --add-needed document.
* ldlang.c (new_afile): Set p->add_needed.
* ldlang.h (lang_input_statement_type): Add add_needed field.
* ldmain.h (add_needed): Declare.
* ldmain.c (add_needed): New global var.
* lexsup.c (option_values): Add OPTION_ADD_NEEDED and
OPTION_NO_ADD_NEEDED.
(ld_options): Likewise.
(parse_args): Handle them.
2004-07-19 16:40:52 +00:00
Andrew Cagney
756d8c7093
2004-07-19 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/selftest.exp: Copy file from here ...
* gdb.gdb/selftest.exp: ... to here.
2004-07-19 13:58:21 +00:00
gdbadmin
db28a2ca38
*** empty log message ***
2004-07-19 00:00:04 +00:00
Andrew Cagney
860660cb5b
GRR, commit was lost.
2004-07-18 22:29:40 +00:00
gdbadmin
f8470a04c2
*** empty log message ***
2004-07-18 00:00:02 +00:00
Andrew Cagney
8c266f54ea
2004-07-17 Andrew Cagney <cagney@gnu.org>
...
* README: Update to 6.2.
2004-07-17 14:46:39 +00:00
Andrew Cagney
a552edd94e
2004-07-17 Andrew Cagney <cagney@gnu.org>
...
* utils.c (xvasprintf): Call xstrvprintf.
2004-07-17 14:42:01 +00:00
Andrew Cagney
c4a172b506
2004-07-17 Andrew Cagney <cagney@gnu.org>
...
* parse.c: Update copyright.
(null_post_parser): Eliminate ARGSUSED.
2004-07-17 14:27:55 +00:00
Andrew Cagney
da745b36fd
2004-07-17 Andrew Cagney <cagney@gnu.org>
...
* ppc-linux-nat.c (store_spe_registers): Eliminate K&R C.
* tui/tui-win.c (tui_get_cmd_list): Ditto.
* symfile-mem.c (_initialize_symfile_mem): Ditto.
2004-07-17 14:24:07 +00:00
Andrew Cagney
9cbc6ef04e
2004-07-17 Andrew Cagney <cagney@gnu.org>
...
* ppc-linux-tdep.c (ppc_linux_init_abi): Add [sic] to Linux.
* ppc-linux-nat.c: Use "Linux kernel".
* hppa-linux-tdep.c: Use GNU/Linux.
* hppa-linux-nat.c: Use GNU/Linux.
* dwarfread.c: Add [sic] to use of Linux.
2004-07-17 14:15:30 +00:00
Andrew Cagney
1b89295f2f
2004-07-17 Andrew Cagney <cagney@gnu.org>
...
* hppa-linux-nat.c: Do not include <string.h>.
(supply_fpregset): Remove "register" attribute.
2004-07-17 13:58:56 +00:00
Andrew Cagney
d5c560f7de
2004-07-17 Andrew Cagney <cagney@gnu.org>
...
* solib-frv.c (fetch_loadmap): Use xfree, not free.
2004-07-17 13:53:48 +00:00
Eli Zaretskii
153872542a
(Edit): Fix markup of EDITOR and improve wording.
...
(Search, Expressions, Arrays, Variables, Data, Machine Code)
(Auto Display): Improve indexing.
2004-07-17 12:25:40 +00:00
Mark Kettenis
b1d19a627e
* configure.in: Define _MSE_INT_H on Solaris 9 too.
...
* configure, config.in: Regenerated.
2004-07-17 11:24:26 +00:00
Mark Kettenis
7ddd770914
* vaxbsd-nat.c: Include <sys/types.h>, <machine/pcb.h> and
...
"bsd-kvm.h".
(vaxbsd_supply_pcb): New function.
(_initialize_vaxbsd_nat): New prototype and function.
* config/vax/nbsdaout.mh (NATDEPFILES): Add bsd-kvm.o, solib.o and
solib-sunos.o.
(LOADLIBES): New variable.
* config/vax/nbsdelf.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* config/vax/obsd.mh (NATDEPFILES): Add bsd-kvm.o.
(LOADLIBES): New variable.
* Makefile.in (vaxbsd-nat.o): Update dependencies.
2004-07-17 11:03:49 +00:00
Andrew Cagney
2c07db7ac0
Index: ChangeLog
...
2004-07-16 Andrew Cagney <cagney@gnu.org>
* defs.h (event_loop_p): Replace variable declaration with macro,
always 1.
* main.c (captured_main): Delete options "-async" and "-noasync".
(event_loop_p): Delete variable.
* NEWS: Mention that "-async" and "-noasync" were removed.
Index: doc/ChangeLog
2004-07-16 Andrew Cagney <cagney@gnu.org>
* gdb.texinfo (Mode Options): Delete documentation on "-async" and
"-noasync".
2004-07-17 03:25:11 +00:00
Andrew Cagney
586027e615
2004-07-16 Andrew Cagney <cagney@redhat.com>
...
* lib/insight-support.exp: Delete file.
* lib/java.exp (java_init): Fix copyright.
2004-07-17 02:03:00 +00:00
gdbadmin
2f446c6b0e
*** empty log message ***
2004-07-17 00:00:03 +00:00
Andrew Cagney
029d220040
2004-07-16 Andrew Cagney <cagney@gnu.org>
...
* gdb.base/restore.c: Append "prologue" to comments marking the a
function's prologue.
* gdb.base/restore.exp: Update copyright, re-indent.
(restore_tests): Use gdb_test_multiple. Add "calleeN calls
callerN" prefix where needed. Update patterns that match a
function's prologue.
2004-07-16 22:21:52 +00:00
Richard Earnshaw
f263249b3d
* config/tc-arm.c: Include include/opcode/arm.h.
...
(ARM_EXT_*, ARM_ARCH_*, ARM_ANY, ARM_ALL, COPROC_ANY): Delete.
(FPU_FPA_EXT_* FPU_VFP_EXT_*, FPU_ANY, FPU_NONE, FPU_MAVERICK): Delete.
(FPU_ARCH_*): Delete.
* Makefile.am: Update dependencies.
* Makefile.in: Regenerate.
2004-07-16 22:12:26 +00:00
Michael Chastain
653b62c59c
2004-07-16 Michael Chastain <mec.gnu@mindspring.com>
...
* gdb.base/restore.c: Add copyright notice.
2004-07-16 22:02:02 +00:00