Alan Modra
023aaf9519
daily update
2004-03-20 23:00:05 +00:00
Paul N. Hilfinger
b2ba182e8f
print_percentage: Use floating point to avoid incorrect results when
...
portion*100 overflows.
2004-03-20 09:53:03 +00:00
Alexandre Oliva
44349745f2
* emulparams/elf32frvfd.sh (MAXPAGESIZE): Change to 16Kb.
2004-03-20 05:49:27 +00:00
Kevin Buettner
81332287eb
Remove old frame code. Enable new frame code for AIX.
2004-03-20 04:58:13 +00:00
Kevin Buettner
61a650991d
Commit Andrew Cagney's rs6000 / PPC framification patch.
2004-03-20 04:51:21 +00:00
Dave Anglin
36751eee4a
* elf32-hppa.c (elf32_hppa_check_relocs): Handle R_PARISC_PCREL32.
...
(final_link_relocate): Likewise.
2004-03-20 00:42:10 +00:00
gdbadmin
4c05d73823
*** empty log message ***
2004-03-20 00:00:04 +00:00
Alan Modra
9e2af4d709
daily update
2004-03-19 23:00:07 +00:00
Bob Wilson
a78777489b
* config/tc-xtensa.c (mark_literal_frags): New function.
...
(xtensa_move_literals): Call mark_literal_frags for all literal
segments, including init and fini literal segments.
(xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec.
2004-03-19 22:35:32 +00:00
Kevin Buettner
88f7da0511
* breakpoint.c (adjust_breakpoint_address): Don't adjust
...
breakpoint address for watchpoints or the catch eventpoints.
Add new paramter ``bptype''. Adjust all callers.
2004-03-19 20:49:43 +00:00
Dave Anglin
9992270f89
* elf-hppa.h (elf_hppa_reloc_final_type): Handle selectors for
...
R_PARISC_PCREL32 and R_PARISC_PCREL64 relocations.
* tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type.
(pa_comm): Set BSF_OBJECT in symbol flags.
2004-03-19 19:19:53 +00:00
Andrew Cagney
33cb8b0f85
2004-03-19 Andrew Cagney <cagney@redhat.com>
...
* config/pa/tm-hppa.h (GDB_TARGET_IS_HPPA): Delete unused macro.
Index: doc/ChangeLog
2004-03-19 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
reference to GDB_TARGET_IS_HPPA.
2004-03-19 17:43:34 +00:00
H.J. Lu
d400d2a669
2004-03-19 H.J. Lu <hongjiu.lu@intel.com>
...
* ld-elfvers/vers.exp: Add new tests for versioned weak
definition.
* ld-elfvers/vers28a.c: New file.
* ld-elfvers/vers28a.dsym: Likewise.
* ld-elfvers/vers28a.ver: Likewise.
* ld-elfvers/vers28b.c: Likewise.
* ld-elfvers/vers28b.dsym: Likewise.
* ld-elfvers/vers28b.map: Likewise.
* ld-elfvers/vers28b.ver: Likewise.
* ld-elfvers/vers28c.c: Likewise.
* ld-elfvers/vers28c.dsym: Likewise.
* ld-elfvers/vers28c.ver: Likewise.
2004-03-19 17:02:31 +00:00
Andrew Cagney
f826dce170
2004-03-19 Andrew Cagney <cagney@redhat.com>
...
* PROBLEMS: Delete note that ARM does not use frame code, problem
fixed.
2004-03-19 16:42:31 +00:00
Alan Modra
e5d10b6033
* po/sv.po: Updated.
2004-03-19 07:21:48 +00:00
Alan Modra
140cc2404f
* ld-scripts/provide-2.d: Ignore random symbols.
2004-03-19 07:14:44 +00:00
Alan Modra
bfa36442db
* Makefile.am: Run "make dep-am".
...
* Makefile.in: Regenerate.
* gconfig.in: Regenerate.
* po/gprof.pot: Regenerate.
2004-03-19 07:07:22 +00:00
Alan Modra
81359a70c3
* config.in: Regenerate.
...
* po/ld.pot: Regenerate.
2004-03-19 07:06:35 +00:00
Alan Modra
6e1772d5c0
* Makefile.am: Run "make dep-am".
...
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* config.in: Regenerate.
* po/gas.pot: Regenerate.
2004-03-19 07:05:56 +00:00
Alan Modra
6ece5c5268
* Makefile.am: Run "make dep-am".
...
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate.
* config.in: Regenerate.
* configure: Regenerate.
* po/binutils.pot: Regenerate.
2004-03-19 07:03:40 +00:00
Alan Modra
e20c0b3d25
* aclocal.m4: Regenerate.
...
* config.in: Regenerate.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/opcodes.pot: Regenerate.
2004-03-19 07:02:24 +00:00
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