Alan Modra
05864e2a71
* Makefile.am: Run "make dep-am".
...
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* po/bfd.pot: Regenerate.
doc/
* Makefile.in: Regenerate.
2004-03-19 07:00:51 +00:00
Alan Modra
0f8a2703a9
* elflink.c (_bfd_elf_merge_symbol): Revert last change. Move
...
type and size change code to where it was previously. Remove
dt_needed param. Treat old weak syms as strong if new sym is
from a shared lib, even when old sym is from another shared
lib. Remove unnecessary tests of oldweak and newweak. Correct
comments.
(_bfd_elf_add_default_symbol): Remove dt_needed param. Update
_bfd_elf_merge_symbol calls.
* elflink.h (elf_link_add_object_symbols): Update calls. Remove
dt_needed local var. Update comments.
* elf-bfd.h (_bfd_elf_merge_symbol): Update prototype.
(_bfd_elf_add_default_symbol): Likewise.
2004-03-19 01:36:45 +00:00
gdbadmin
c91810500b
*** empty log message ***
2004-03-19 00:00:03 +00:00
Andrew Cagney
292ab03412
2004-03-18 Andrew Cagney <cagney@redhat.com>
...
* stack.c (return_command): Delete code wrapped in #ifdef
DEPRECATED_CALL_DUMMY_HAS_COMPLETED, macro no longer defined.
2004-03-18 23:04:45 +00:00
Alan Modra
f218a464b2
* elflink.c (_bfd_elf_merge_symbol): Reinstate code to handle
...
strong syms in one shared object overriding weak syms in another.
2004-03-18 23:02:06 +00:00
Alan Modra
90b04e2953
daily update
2004-03-18 23:00:06 +00:00
Andrew Cagney
43b1ab882f
2004-03-18 Andrew Cagney <cagney@redhat.com>
...
* rs6000-tdep.c (skip_prologue): Record only the first LR save.
2004-03-18 20:30:08 +00:00
Andrew Cagney
fc989b7a7c
2004-03-18 Andrew Cagney <cagney@redhat.com>
...
* gdbint.texinfo (Coding): Update section on gdbarch_data,
describe pre_init and post_init.
2004-03-18 20:13:34 +00:00
Andrew Cagney
dbfe462616
2004-03-18 Andrew Cagney <cagney@redhat.com>
...
* config/mips/tm-nbsd.h: Replace IN_SIGTRAMP with
DEPRECATED_IN_SIGTRAMP.
* config/powerpc/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
* config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP) Ditto.
* config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Ditto.
* config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Ditto.
* config/ia64/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
* config/ia64/tm-aix.h (DEPRECATED_IN_SIGTRAMP): Ditto.
* config/arm/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Ditto.
* config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Ditto.
* arch-utils.c (legacy_pc_in_sigtramp): Ditto.
* arch-utils.h: Remove reference to IN_SIGTRAMP in comment.
2004-03-18 19:59:07 +00:00
Andrew Cagney
0cad6aec70
2004-03-18 Andrew Cagney <cagney@redhat.com>
...
* frame-base.c: Update copyright. Include "gdb_obstack.h".
(struct frame_base_table_entry): Define.
(struct frame_base_table): Re-implement as a linked list.
(frame_base_init): Re-implement.
(frame_base_table): Delete function.
(append_predicate): Delete function.
(frame_base_append_sniffer): Update.
(frame_base_set_default): Update.
(frame_base_find_by_frame): Update.
(_initialize_frame_base): Use gdbarch_data_register_pre_init.
* Makefile.in (frame-base.o): Update dependencies.
2004-03-18 16:22:00 +00:00
Nathan Sidwell
c95b35a920
* read.c (read_a_source_file): Use demand_empty_rest_of_line.
...
(demand_empty_rest_of_line): Issue an error here.
(ignore_rest_of_line): Silently skip to end.
(demand_copy_string): Issue an error, not warning.
(equals): Likewise.
* config/obj-elf.c (obj_elf_section_name): Likewise.
(obj_elf_section): Likewise.
* config/tc-arc.c (arc_extoper): Remove bogus NULL checks.
(arc_extinst): Likewise.
* config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line.
(dot_spill): Likewise.
(dot_unwabi): Likewise.
(dot_prologue): Likewise.
2004-03-18 13:31:04 +00:00
Alan Modra
4a43e768f1
bfd/
...
* elf-bfd.h (struct elf_obj_tdata): Delete dt_soname field. Add
dyn_lib_class field. Rearrange for better packing.
(elf_dt_soname): Delete.
(elf_dyn_lib_class): Define.
* elf.c (bfd_elf_set_dt_needed_name): Update comment.
(bfd_elf_set_dt_needed_soname): Delete.
(bfd_elf_set_dyn_lib_class): New function.
* elflink.h (add_dt_needed_tag): New function. Split out from..
(elf_link_add_object_symbols): ..here. Rename "name" to "soname".
Use elf_dyn_lib_class to set dt_needed and add_needed. Move fallback
initialization of soname.
(elf_link_check_versioned_symbol): Test elf_dyn_lib_class instead of
elf_dt_soname.
* bfd-in.h (enum dynamic_lib_link_class): New.
(bfd_elf_set_dt_needed_soname): Delete.
(bfd_elf_set_dyn_lib_class): Declare.
* bfd-in2.h: Regenerate.
ld/
* ld.texinfo: Add --as-needed doco.
* ldmain.c (as_needed): New global var.
* ldmain.h (as_needed): Declare.
* lexsup.c (option_values): Add OPTION_AS_NEEDED and
OPTION_NO_AS_NEEDED.
(ld_options): Likewise.
(parse_args): Handle them.
* ldlang.h (lang_input_statement_type): Add as_needed field.
* ldlang.c (new_afile): Set p->as_needed.
* emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols): New function.
(gld${EMULATION_NAME}_try_needed): Use bfd_elf_set_dyn_lib_class.
(ld_${EMULATION_NAME}_emulation): Set LDEMUL_RECOGNIZED_FILE entry.
* ldlang.c (open_input_bfds): Remove useless cast.
(lang_do_assignments_1): Likewise.
(lang_for_each_input_section): Delete.
2004-03-18 12:50:20 +00:00
Nathan Sidwell
3e4caed2b1
* expr.c (operand): Reject ++ and --.
...
(operator): Likewise.
2004-03-18 09:19:20 +00:00
Alan Modra
79349b0926
* elflink.c (_bfd_elf_merge_symbol): Rewrite weak symbol handling.
...
(_bfd_elf_add_default_symbol): Remove indirect BFD_ASSERTs.
* elflink.h (elf_link_add_object_symbols): Don't clear dt_needed in
symbol loop. Instead use add_needed to flag tag as written.
2004-03-18 04:32:17 +00:00
DJ Delorie
12a7367e81
merge from gcc
2004-03-18 04:07:41 +00:00
DJ Delorie
e0c148a751
merge from gcc
2004-03-18 02:07:18 +00:00
Kaz Kojima
2ce4cc6025
[gas]
...
* config/tc-sh.c: Include dw2gencfi.h.
(sh_cfi_frame_initial_instructions): New function.
(sh_regname_to_dw2regnum): Likewise.
* config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of
file.
(TARGET_USE_CFIPOP): Define.
(tc_cfi_frame_initial_instructions): Likewise.
(tc_regname_to_dw2regnum): Likewise.
(DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise.
* Makefile.am: Update dependencies.
* Makefile.in: Regenerate.
[gas/testsuite]
* gas/cfi/cfi-sh-1.d: New file.
* gas/cfi/cfi-sh-1.s: Likewise.
* gas/cfi/cfi.exp: Add SH case.
2004-03-18 00:49:23 +00:00
gdbadmin
cfef7cefb0
*** empty log message ***
2004-03-18 00:00:32 +00:00
Andrew Cagney
9982c2e721
2004-03-17 Andrew Cagney <cagney@redhat.com>
...
* frame.c (legacy_get_prev_frame): Pass correct frame to
frame_unwind_find_by_frame.
2004-03-17 23:43:36 +00:00
Alan Modra
1d9f550dd6
daily update
2004-03-17 23:00:06 +00:00
David Carlton
23c73aa3b7
2004-03-17 David Carlton <carlton@kealia.com>
...
* gdb.cp/classes.exp (test_enums): Refer to PR c++/1588 instead of
PR c++/826.
2004-03-17 20:11:22 +00:00
Nathanael Nerode
fb8a10fd06
2004-03-17 Paolo Bonzini <bonzini@gnu.org>
...
* configure.in: Remove symbolic link section.
* configure: Regenerate.
* Makefile.tpl (links): Remove.
* Makefile.in: Regenerate.
2004-03-17 19:26:07 +00:00
David Carlton
8dfe89858d
2004-03-17 David Carlton <carlton@kealia.com>
...
* NEWS: Mention C++ nested types and namespaces
2004-03-17 17:35:54 +00:00
Nathan Sidwell
d13d89fafa
* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct
...
logic for null_input_bfd detection.
2004-03-17 12:27:05 +00:00
Michael Chastain
ed47347a6d
2004-03-16 Michael Chastain <mec.gnu@mindspring.com>
...
* PROBLEMS: Add section headers, "Regressions since gdb 6.0"
and "Regressions since gdb 5.3.". Add known regressions since
gdb 6.0.
2004-03-17 07:00:41 +00:00
Alan Modra
9183ed4b1b
Switch sh-*-rtems* to ELF. Add sh-*-rtemscoff*.
2004-03-17 00:46:25 +00:00
Mark Kettenis
3248c32522
Fix typo in ChangeLog entry.
2004-03-17 00:21:17 +00:00
gdbadmin
c1824f0711
*** empty log message ***
2004-03-17 00:00:05 +00:00
Alan Modra
66e7d8ca91
daily update
2004-03-16 23:00:07 +00:00
David Carlton
90aeadfcc3
2004-03-16 David Carlton <carlton@kealia.com>
...
* dwarf2read.c (process_structure_scope): Process children even
when we're a declaration.
2004-03-16 22:43:15 +00:00
Nathanael Nerode
947f426e27
2004-03-15 Paolo Bonzini <bonzini@gnu.org>
...
Nathanael Nerode <neroden@gcc.gnu.org>
* configure.in (DEFAULT_YACC, DEFAULT_M4, DEFAULT_LEX):
Set with AC_CHECK_PROGS.
* configure.in: Fix comment typo from last patch.
* configure: Regenerate.
2004-03-16 22:21:55 +00:00
Roland McGrath
d63a86f8b1
.
2004-03-16 21:47:19 +00:00
Roland McGrath
d65308ae79
2004-03-16 Roland McGrath <roland@redhat.com>
...
* gdb.base/auxv.exp: New file.
* gdb.base/auxv.c: New file, copied verbatim from coremaker2.c.
2004-03-16 21:47:03 +00:00
Andrew Cagney
73912b9b23
2004-03-16 Andrew Cagney <cagney@redhat.com>
...
* symtab.h (find_pc_sect_partial_function): Delete declaration.
* blockframe.c (find_pc_partial_function)
(find_pc_sect_partial_function): Merge into a single
find_pc_partial_function.
2004-03-16 20:25:24 +00:00
Mark Kettenis
283accbcf2
* i386bsd-nat.c: s/regno/regnum/g.
...
(fetch_inferior_registers): Use I386_ST0_REGNUM instead of
FP0_REGNUM.
(store_inferior_registers): Likewise.
2004-03-16 13:54:10 +00:00
Mark Kettenis
f5b1afdf65
* i386bsd-nat.c (fill_fpregset): Call i387_collect_fsave instead
...
of i387_fill_fsave.
(store_inferior_registers): Call i387_collect_fsave and
i387_collect_fxsave instead of i387_fill_fsave and
i387_fill_fxsave.
2004-03-16 13:48:23 +00:00
Mark Kettenis
021d7868d0
* netbsd-core.c (netbsd_core_file_p) [CORE_FPU_OFFSET]: Remove
...
code.
2004-03-16 12:22:18 +00:00
Alan Modra
a9c3619ef1
Revert "lsdx", "lsdi", "stsdx", "stsdi", "lmd" and "stmd" insns.
2004-03-16 11:46:15 +00:00
Alan Modra
051d5130f3
copyright date.
2004-03-16 10:31:18 +00:00
Alan Modra
51992aec7a
* elflink.c (elf_link_read_relocs_from_section): Don't use
...
NUM_SHDR_ENTRIES in end of reloc calc. Move NULL shdr check..
(_bfd_elf_link_read_relocs): ..to here.
* elf32-ppc.c (ppc_elf_relax_section): Formatting.
2004-03-16 10:29:12 +00:00
Alan Modra
ccba357f63
* configure.in (HOST_64BIT_TYPE, HOST_U_64BIT_TYPE): Don't override
...
values selected in configure.host. Require both to be defined
before setting BFD_HOST_64_BIT_DEFINED. Protect assignment to
corresponding BFD_HOST vars with quotes.
<${host64}-${target64}-${want64} in *true*>: Don't exempt gcc;
Always require BFD_HOST_64_BIT_DEFINED.
<file_ptr type>: Find off_t size before emitting message. Combine
off_t and ftello64 conditional.
* configure: Regenerate.
2004-03-16 09:05:22 +00:00
Alan Modra
419783084d
* elf32-m32r.c (m32r_elf_create_dynamic_sections): Fix pointer
...
aliasing warning. Remove trailing whitespace throughout file.
2004-03-16 01:49:30 +00:00
Alan Modra
fdd12ef3c6
opcodes/
...
* ppc-dis.c (print_insn_powerpc): Don't print tabs. Handle
PPC_OPERANDS_GPR_0.
* ppc-opc.c (RA0): Define.
(RAQ, RAL, RAM, RAS, RSQ, RTQ, RSO): Use PPC_OPERAND_GPR_0.
(RAOPT): Rename from RAO. Update all uses.
(powerpc_opcodes): Use RA0 as appropriate. Add "lsdx", "lsdi",
"stsdx", "stsdi", "lmd" and "stmd" insns.
include/opcode/
* ppc.h (PPC_OPERAND_GPR_0): Define. Bump other operand defines.
gas/testsuite/
Update gas/ppc/.
ld/testsuite/
Update ld-powerpc/.
2004-03-16 00:58:43 +00:00
Nathanael Nerode
1d39f32996
2004-03-15 Nathanael Nerode <neroden@gcc.gnu.org>
...
* Makefile.tpl: Introduce experimental top level bootstrap support.
* Makefile.in: Regenerate.
* configure.in: Introduce support for top level bootstrap.
* configure: Regenerate.
2004-03-16 00:04:59 +00:00
gdbadmin
b2fb5b54bf
*** empty log message ***
2004-03-16 00:00:33 +00:00
Andrew Cagney
41fe5eb389
2004-03-15 Andrew Cagney <cagney@redhat.com>
...
* Makefile.in (frame-unwind.o): Update dependencies.
* frame-unwind.c: Include "gdb_obstack.h".
(frame_unwind_init): Replace "gdbarch" parameter with an "obstack"
parameter.
(append_predicate): Delete function.
(struct frame_unwind_table_entry): New structure.
(struct frame_unwind_table): Replace "sniffer" with "head" and
"tail".
(frame_unwind_append_sniffer): Update.
(frame_unwind_find_by_frame): Update.
(_initialize_frame_unwind): Registe frame_unwind_init using
gdbarch_data_register_pre_init.
2004-03-15 23:08:28 +00:00
Mark Kettenis
3f63813d05
* i386bsd-nat.c: Update copyright year.
...
(CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): Undefine and then
define unconditionally.
2004-03-15 23:03:07 +00:00
Alan Modra
17b3eb0e44
daily update
2004-03-15 23:00:05 +00:00
Mark Kettenis
63b6c53fc1
* i387-tdep.h (i387_collect_fsave): New prototype.
...
* i387-tdep.c (i387_collect_fsave): New function containing most
of the code from i387_fill_fsave.
(i387_fill_fsave): Call i387_fill_fsave.
2004-03-15 22:44:12 +00:00
Mark Kettenis
871fbe6a50
* i386-linux-tdep.c: Update copyright year.
...
(i386_linux_svr4_fetch_link_map_offsets): Remove function.
(i386_linux_init_abi): Set solib_svr4_fetch_link_maop_offsets to
svr4_ilp32_link_map_offsets instead of
i386_linux_svr4_fetch_link_map_offsets.
2004-03-15 22:38:21 +00:00