Michael Chastain [Thu, 26 Aug 2004 18:18:01 +0000 (18:18 +0000)]
Bleagh. I messed up the part about properly distinguishing
between "guy who wrote the patch" (Paul Gilliam) and
"guy who committed the patch" (me).
Michael Chastain [Thu, 26 Aug 2004 18:02:59 +0000 (18:02 +0000)]
2004-08-26 Paul Gilliam <pgilliam@us.ibm.com>
* gdb.base/call-sc.exp (test_scalar_returns): Make sure PC is
synchronized after the "return".
Paul Brook [Thu, 26 Aug 2004 16:18:37 +0000 (16:18 +0000)]
* INTERWORK_FLAG: Return true for EABIv3 objects.
Michael Chastain [Thu, 26 Aug 2004 15:13:17 +0000 (15:13 +0000)]
2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
* gdb.mi/basics.c: Include <stdio.h>.
* gdb.mi/pthreads.c: Include <stdlib.h>.
* gdb.mi/var-cmd.c: Include <stdlib.h>.
Michael Chastain [Thu, 26 Aug 2004 13:10:19 +0000 (13:10 +0000)]
2004-08-26 Michael Chastain <mec.gnu@mindspring.com>
* gdb.threads/schedlock.c: Add copyright notice.
gdbadmin [Thu, 26 Aug 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Thu, 26 Aug 2004 00:00:05 +0000 (00:00 +0000)]
daily update
Alan Modra [Wed, 25 Aug 2004 23:40:56 +0000 (23:40 +0000)]
bfd/
* elf32-m32r.c (m32r_elf_relocate_section): Don't compare with
TRUE or FALSE.
ld/
* ldlang.c (lang_init): Don't compare with TRUE.
Alan Modra [Wed, 25 Aug 2004 23:20:37 +0000 (23:20 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Tweak last change so
that pcrel correction is applied for R_386_PC32.
H.J. Lu [Wed, 25 Aug 2004 17:05:10 +0000 (17:05 +0000)]
2004-08-25 H.J. Lu <hongjiu.lu@intel.com>
* gas/all/gas.exp: Use `string match ""' instead of `eq ""'.
Jim Blandy [Wed, 25 Aug 2004 15:41:54 +0000 (15:41 +0000)]
* gdbtypes.h (TYPE_CODE_ARRAY): Doc fix.
Andrew Cagney [Wed, 25 Aug 2004 15:26:19 +0000 (15:26 +0000)]
2004-08-25 Andrew Cagney <cagney@gnu.org>
* gdb.base/sigstep.exp (breakpoint_to_handler, skip_to_handler)
(skip_over_handler, breakpoint_over_hander): New test procedures.
(advance, advancei): Add a proper prefix, do not use
rerun_to_main.
* gdb.base/sigstep.c (main): Change to use an infinite loop.
Andrew Cagney [Wed, 25 Aug 2004 15:18:05 +0000 (15:18 +0000)]
2004-08-25 Andrew Cagney <cagney@gnu.org>
* infrun.c (struct execution_control_state): Delete field
"stepping_through_sigtramp".
(init_execution_control_state): Do not set same.
(context_switch): Do not pass same to save_infrun_state and
load_infrun_state.
* gdbthread.h (struct thread_info): Delete field
stepping_through_sigtramp.
(save_infrun_state, load_infrun_state): Delete parameter
stepping_through_sigtramp.
* thread.c (load_infrun_state, save_infrun_state): Update.
Andrew Cagney [Wed, 25 Aug 2004 14:47:07 +0000 (14:47 +0000)]
2004-08-25 Andrew Cagney <cagney@gnu.org>
* infrun.c: Re-indent. Move expression operators to the beginning
of the line. Remove long disabled #if 0 code.
Alan Modra [Wed, 25 Aug 2004 14:35:58 +0000 (14:35 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Zero section contents
for R_386_32 and R_386_PC32 relocs against symbols defined in
discarded sections.
Nick Clifton [Wed, 25 Aug 2004 12:54:15 +0000 (12:54 +0000)]
Apply Dmitry Diky's patches to add relaxation to msp430.
H.J. Lu [Wed, 25 Aug 2004 06:11:43 +0000 (06:11 +0000)]
2004-08-24 H.J. Lu <hongjiu.lu@intel.com>
* ldlang.c (wildcardp): Defined as a macro with strpbrk.
Michael Chastain [Wed, 25 Aug 2004 00:54:53 +0000 (00:54 +0000)]
2004-08-24 Michael Chastain <mec.gnu@mindspring.com>
* gdb.mi/basics.c: Add copyright notice.
* gdb.mi/var-cmd.c: Add copyright notice.
Alan Modra [Wed, 25 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 25 Aug 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Tue, 24 Aug 2004 22:49:27 +0000 (22:49 +0000)]
2004-08-24 Andrew Cagney <cagney@gnu.org>
* doublest.h (floatformat_ieee_quad): Rename
floatformat_ia64_quad.
* doublest.c (floatformat_ieee_quad): Rename
floatformat_ia64_quad.
(_initialize_doublest): Update.
Jim Blandy [Tue, 24 Aug 2004 21:01:49 +0000 (21:01 +0000)]
* dwarf2expr.h (struct dwarf_expr_context): New members
'num_pieces' and 'pieces', for returning the result of an
expression that uses DW_OP_piece.
(struct dwarf_expr_piece): New struct type.
* dwarf2expr.c (new_dwarf_expr_context): Initialize num_pieces and
pieces.
(free_dwarf_expr_context): Free pieces, if any.
(add_piece): New function.
(execute_stack_op): Implement DW_OP_piece.
* dwarf2loc.c (dwarf2_evaluate_loc_desc): If the result of the
expression is a list of pieces, print an error message.
(dwarf2_loc_desc_needs_frame): If the expression yields
pieces, and any piece is in a register, then we need a frame.
Andrew Cagney [Tue, 24 Aug 2004 19:58:24 +0000 (19:58 +0000)]
2004-08-24 Andrew Cagney <cagney@gnu.org>
* gdbint.texinfo (Target Architecture Definition): Add missing
comma.
Jim Blandy [Tue, 24 Aug 2004 17:31:49 +0000 (17:31 +0000)]
* dwarf2loc.c (dwarf2_evaluate_loc_desc): Wait to fetch the top of
the stack until we've decided what sort of result the evaluation
has produced. Use separate variables, with more specific names.
Nick Clifton [Tue, 24 Aug 2004 11:58:27 +0000 (11:58 +0000)]
* as.c (std_shortopts): Allow -g to take an optional argument.
(parse_args): Pass any switch starting with -g on to the backend for parsing.
Nick Clifton [Tue, 24 Aug 2004 11:37:54 +0000 (11:37 +0000)]
altmacro.[sd]: Split out part from here...
altmac2.[sd]: ... to here.
excl.s: New.
gas.exp: Suppress both tests for a few targets known to break. Run the new
(split out) test only when the target doesn't use '!' as a comment character.
Nick Clifton [Tue, 24 Aug 2004 08:21:25 +0000 (08:21 +0000)]
(m32r_elf_relocate_section): Handle R_M32R_SDA16_RELA in the same way as
R_M32R_SDA16.
gdbadmin [Tue, 24 Aug 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 24 Aug 2004 00:00:07 +0000 (00:00 +0000)]
daily update
Jim Blandy [Mon, 23 Aug 2004 23:50:35 +0000 (23:50 +0000)]
Add missing ChangeLog entry.
Michael Chastain [Mon, 23 Aug 2004 13:43:15 +0000 (13:43 +0000)]
2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
* lib/gdb.exp: Remove signed_keyword_not_used.
* lib/compiler.c: Likewise.
* lib/compiler.cc: Likewise.
Michael Chastain [Mon, 23 Aug 2004 13:04:03 +0000 (13:04 +0000)]
2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/whatis.c: Remove conditional disabling of "signed".
* gdb.base/whatis.exp: Remove signed_keyword_not_used.
Michael Chastain [Mon, 23 Aug 2004 12:28:23 +0000 (12:28 +0000)]
2004-08-23 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/whatis.c: Add copyright notice.
Richard Earnshaw [Mon, 23 Aug 2004 10:28:58 +0000 (10:28 +0000)]
* armnbsd-tdep.c (arm_nbsd_arm_be_breakpoint): Define.
(arm_nbsd_thumb_[lb]e_breakpoint): Define.
(arm_netbsd_init_abi_common): Register them.
Alan Modra [Mon, 23 Aug 2004 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 23 Aug 2004 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Sun, 22 Aug 2004 20:57:06 +0000 (20:57 +0000)]
* config/vax/vax.mh (NATDEPFILES): Add vax-nat.c.
Mark Kettenis [Sun, 22 Aug 2004 20:34:55 +0000 (20:34 +0000)]
* amd64obsd-tdep.c (amd64obsd_sigtramp_p): Use
safe_frame_unwind_memory instead of target_read_memory.
Mark Kettenis [Sun, 22 Aug 2004 19:03:41 +0000 (19:03 +0000)]
* infptrace.c: Remove #ifdef'ed out inclusion of gdb_stat.h.
Reorder includes.
(fetch_register, store_register): Remove prototypes.
(child_resume): Reorganize code and comments such that it is
grouped a bit more logically.
(attach): Explicitly compare errno against 0.
(detach): Likewise. Use perror_with_name instead of
print_sys_errmsg.
* Makefile.in (infptrace.o): Update dependencies.
Mark Kettenis [Sun, 22 Aug 2004 16:32:35 +0000 (16:32 +0000)]
* ia64-linux-nat.c: Update copyright year.
(fetch_debug_register, store_debug_register)
(ia64_linux_stopped_by_watchpoint): Replace PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* config/ia64/nm-linux.h: Update copyright year.
(PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove defines.
Mark Kettenis [Sun, 22 Aug 2004 16:27:30 +0000 (16:27 +0000)]
* amd64-linux-tdep.c (amd64_linux_sigtramp_start): Change argument
from CORE_ADDR to struct frame_info *. Use
safe_frame_unwind_memory instead of deprecated_read_memory_nobpt.
(amd64_linux_sigtramp_p): Adjust for changed signature of
and64_linux_sigtramp_start
Mark Kettenis [Sun, 22 Aug 2004 15:41:47 +0000 (15:41 +0000)]
* gdb_ptrace.h: GNU/Linux.
Mark Kettenis [Sun, 22 Aug 2004 15:38:37 +0000 (15:38 +0000)]
* config/alpha/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE):
Remove defines.
Mark Kettenis [Sun, 22 Aug 2004 15:35:02 +0000 (15:35 +0000)]
* infptrace.c: Include "gdb_assert.h".
(PTRACE_XFER_TYPE): Remove define.
(offsetof): Only define if U_REGS_OFFSET isn't defined.
(fetch_register, store_register): Rewrite to use PTRACE_TYPE_RET.
Tweak comment.
(fetch_inferior_registers, store_inferior_registers): Remove
redundant culry braces. Tweak comment. s/regno/regnum.
* Makefile.in (infptrace.o): Update dependencies.
Mark Kettenis [Sun, 22 Aug 2004 14:18:02 +0000 (14:18 +0000)]
* configure.in: Change test for return type of ptrace to default
to `long' instead of `int'.
* configure: Regenerate.
gdbadmin [Sun, 22 Aug 2004 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Sun, 22 Aug 2004 00:00:05 +0000 (00:00 +0000)]
daily update
Hans-Peter Nilsson [Sat, 21 Aug 2004 12:51:41 +0000 (12:51 +0000)]
* ld-cris/expdyn1.d, ld-cris/expdyn5.d, ld-cris/expdyn6.d,
ld-cris/expdyn7.d, ld-cris/gotplt2.d, ld-cris/gotplt3.d,
ld-cris/libdso-1.d, ld-cris/libdso-2.d, ld-cris/locref1.d,
ld-cris/nodyn4.d, ld-cris/nodyn5.d: Adjust for reordered
sections.
Mark Kettenis [Sat, 21 Aug 2004 12:44:05 +0000 (12:44 +0000)]
* config/alpha/alpha-linux.mh (LOADLIBES): New variable.
Mark Kettenis [Sat, 21 Aug 2004 12:05:52 +0000 (12:05 +0000)]
* configure.in: Check for ttrace function.
* configure, config.in: Regenerate.
Michael Chastain [Sat, 21 Aug 2004 09:37:20 +0000 (09:37 +0000)]
2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
* (Using the Testsuite): build != host is supported,
but some test scripts do not support build != host.
Mark Kettenis [Sat, 21 Aug 2004 08:56:38 +0000 (08:56 +0000)]
* gdb_ptrace.h: New file.
* infptrace.c: Include "gdb_ptrace.h" instead of <ptrace.h> or
<sys/ptrace.h>.
(PT_READ_I, PT_READ_D, PT_READ_U, PT_WRITE_I, PT_WRITE_D)
(PT_WRITE_U, PT_CONTINUE, PT_STEP, PT_KILL): Remove defines.
(attach): Don't define PT_ATTACH.
(detach): Don't define PT_DETACH.
* Makefile.in (gdb_ptrace_h): New variable.
(infptrace.o): Update dependencies.
Daniel Jacobowitz [Sat, 21 Aug 2004 01:13:22 +0000 (01:13 +0000)]
* elflink.c (_bfd_elf_section_already_linked): Handle
SEC_LINK_DUPLICATES_SAME_CONTENTS.
Alan Modra [Sat, 21 Aug 2004 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 21 Aug 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Fri, 20 Aug 2004 22:15:03 +0000 (22:15 +0000)]
* gdb.arch/i386-prologue.exp (skip_breakpoint): New function. Use
it to skip the breakpoints encoded in the inline assembly.
Michael Chastain [Fri, 20 Aug 2004 14:52:36 +0000 (14:52 +0000)]
2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
* Makefile.in: Add gdb.fortran.
Ben Elliston [Fri, 20 Aug 2004 11:44:26 +0000 (11:44 +0000)]
Fix typo in Alan Modra's 2004-08-16 entry.
Michael Chastain [Fri, 20 Aug 2004 10:57:08 +0000 (10:57 +0000)]
2004-08-20 Michael Chastain <mec.gnu@mindspring.com>
* gdb.base/call-sc.exp (test_scalar_returns):
Fix cut-and-paste glitch in "Make fun return now".
Alan Modra [Fri, 20 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 20 Aug 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
Mark Mitchell [Thu, 19 Aug 2004 18:11:42 +0000 (18:11 +0000)]
* configure.tgt (arm*-*-symbianelf*): New target.
(arm*-*-eabi*): Likewise.
Mark Mitchell [Thu, 19 Aug 2004 18:11:00 +0000 (18:11 +0000)]
* configure.in (arm*-*-symbianelf*): New target.
(arm*-*-eabi*): Likewise.
* configure: Regenerated.
Mark Mitchell [Thu, 19 Aug 2004 18:09:44 +0000 (18:09 +0000)]
* config.bfd (arm*-*-symbianelf*): New target.
(arm*-*-eabi*): Likewise.
Alan Modra [Thu, 19 Aug 2004 08:30:16 +0000 (08:30 +0000)]
* elf64-ppc.c (ppc_get_stub_entry): Change third param to a
"struct ppc_link_hash_entry *".
(ppc64_elf_relocate_section): Ditto for type of h. Introduce h_elf
to satisfy RELOC_FOR_GLOBAL_SYMBOL.
Jakub Jelinek [Thu, 19 Aug 2004 07:47:25 +0000 (07:47 +0000)]
* elf64-ppc.c (ppc64_elf_edit_opd): Support 16 byte long .opd
entries (where fd_aux overlaps next entry's fd_func).
Add non_overlapping argument, use it.
(ppc64_elf_check_relocs, ppc64_elf_gc_mark_hook, adjust_opd_syms,
ppc64_elf_size_stubs, ppc64_elf_relocate_section,
ppc64_elf_output_symbol_hook): Use address / 8 instead of address / 24
as indexes into opd_sym_map/opd_adjust array.
* elf64-ppc.h (ppc64_elf_edit_opd): Adjust prototype.
* emultempl/ppc64elf.em (non_overlapping_opd): New variable.
(ppc_before_allocation): Pass it to ppc64_elf_edit_opd).
(OPTION_NON_OVERLAPPING_OPD): Define.
(PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_ARGS_CASES): Add
--non-overlapping-opd option.
Chris Demetriou [Thu, 19 Aug 2004 07:02:04 +0000 (07:02 +0000)]
2004-08-18 Chris Demetriou <cgd@broadcom.com>
* configure.in (mipsisa64sb1*-*-*): Add mips3d to sim_igen_machine.
* configure: Regenerate.
Alan Modra [Thu, 19 Aug 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 19 Aug 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Thiemo Seufer [Wed, 18 Aug 2004 15:58:12 +0000 (15:58 +0000)]
* config/tc-mips.c (append_insn): Handle delay slots in branch likely
correctly.
Joern Rennecke [Wed, 18 Aug 2004 11:47:15 +0000 (11:47 +0000)]
* gencode.c (tab): For shad snd shld, fix result for
(op1 < 0 && shift_amount == 0).
Alan Modra [Wed, 18 Aug 2004 10:11:02 +0000 (10:11 +0000)]
* elf64-ppc.c (func_desc_adjust): Give undefined dot-symbols a value
if we can look up their function descriptor in a regular file.
Jakub Jelinek [Wed, 18 Aug 2004 09:51:29 +0000 (09:51 +0000)]
* config/tc-ia64.c (start_unwind_section): Add linkonce_empty
argument, don't do anything if current section is not
.gnu.linkonce.t.* and linkonce_empty is set.
(generate_unwind_image, dot_endp): Adjust callers, call
start_unwind_section (*, 1) if nothing will be put into the
section.
Nick Clifton [Wed, 18 Aug 2004 09:44:11 +0000 (09:44 +0000)]
PR 324
(coff_link_add_symbols): Check that the comdat pointer in the coff_section_data
structure has been initialised before using it.
Nick Clifton [Wed, 18 Aug 2004 07:23:47 +0000 (07:23 +0000)]
Remove #NO_APP, accidentally committed as part of another patch.
Paolo Bonzini [Wed, 18 Aug 2004 06:51:38 +0000 (06:51 +0000)]
2004-08-17 Paolo Bonzini <bonzini@gnu.org>
* Makefile.in: Regenerate.
* configure: Regenerate.
* Makefile.def (bootstrap-stage): Rename extra_*_flags to
stage_*_flags.
* Makefile.tpl (configure-[+module+], all-[+module+]): Exit
for bootstrapped modules if toplevel bootstrap is going.
(GCC bootstrap): Generate per-stage targets for all bootstrapped
modules. Adjust for changes in Makefile.def. Enable several
rules even in non-bootstrap mode, just to avoid peppering the
template with unnecessary "@if/@endif gcc-bootstrap" pairs.
(stage-[+prev+]-bubble): Remove.
* Makefile.def (Dependencies): Depend on all-build-bison,
all-build-flex, all-build-byacc, all-build-texinfo, rather
than the host variations.
* Makefile.tpl (BUILD_DIR_PREFIX): Remove. Replace throughout
with BUILD_SUBDIR.
(BISON): Update for recent Bisons.
(YACC): Fix typo.
(cross): Depend on all-build.
(all): Do not depend on all-build.
(prebootstrap): Remove.
(dep-kind): Accept separate prefixes for MODULE and ON variables.
(Prebootstrap dependencies): Add them to the per-stage targets
and to all-prebootstrap.
* configure.in (build_configdirs): Always enable build_tools.
(BUILD_DIR_PREFIX): Remove.
* Makefile.def (gcc): Add target variable.
(gdb, expect, guile, tk, tix): Replace with_x with extra_make_flags.
* Makefile.tpl (Autogenerated `all-*' targets): Invoke $(TARGET-*)
in the recursive `make', instead of hardwiring `all'.
(Autogenerated TARGET-* variables): New.
Alan Modra [Wed, 18 Aug 2004 02:45:43 +0000 (02:45 +0000)]
PR 338
* elflink.c (bfd_elf_record_link_assignment): Add comment about
changing bfd_link_hash_undefined to bfd_link_hash_new.
* ldexp.c (fold_name): Don't call bfd_link_add_undef if the symbol
was already on the undefs list.
gdbadmin [Wed, 18 Aug 2004 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Wed, 18 Aug 2004 00:00:05 +0000 (00:00 +0000)]
daily update
Jim Wilson [Tue, 17 Aug 2004 22:09:17 +0000 (22:09 +0000)]
Patch from Robert Millan for knetbsd-gnu/kfreebsd-gnu.
* configure.in: In noconfigdirs check, match GNU/k*BSD with GNU/Linux
(instead of FreeBSD).
* configure: Regenerate.
Michael Chastain [Tue, 17 Aug 2004 16:33:28 +0000 (16:33 +0000)]
2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
* configure.in: Add gdb.fortran.
* configure: Regenerate.
* gdb.fortran/Makefile.in: New file.
* lib/gdb.exp (skip_fortran_tests): New procedure.
Alan Modra [Tue, 17 Aug 2004 13:07:48 +0000 (13:07 +0000)]
trim off entries that came in with a merge, rev 1.245, now in ChangeLog-9103
Alan Modra [Tue, 17 Aug 2004 12:33:59 +0000 (12:33 +0000)]
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Dot
prefix the symbol field too.
Nick Clifton [Tue, 17 Aug 2004 12:19:58 +0000 (12:19 +0000)]
Add support for a -g switch to GAS
Michael Chastain [Tue, 17 Aug 2004 09:38:29 +0000 (09:38 +0000)]
2004-08-17 Michael Chastain <mec.gnu@mindspring.com>
* gdb.mi/mi-var-block.exp: Use gdb_get_line_number. Remove
reference to bug-gnu@prep.ai.mit.edu.
* gdb.mi/mi-var-child.exp: Likewise.
* gdb.mi/mi-var-cmd.exp: Likewise.
* gdb.mi/mi-var-display.exp: Likewise.
* gdb.mi/mi2-var-block.exp: Likewise.
* gdb.mi/mi2-var-child.exp: Likewise.
* gdb.mi/mi2-var-cmd.exp: Likewise.
* gdb.mi/mi2-var-display.exp: Likewise.
Jakub Jelinek [Tue, 17 Aug 2004 09:07:35 +0000 (09:07 +0000)]
bfd/
* elfxx-target.h (bfd_elfNN_get_synthetic_symtab): Only define
if not yet defined.
* elf64-ppc.c (bfd_elf64_get_synthetic_symtab): Define.
(synthetic_opd, synthetic_relocatable): New variables.
(compare_symbols, compare_relocs): New helper routines.
(ppc64_elf_get_synthetic_symtab): New function.
* bfd.c (bfd_get_synthetic_symtab): Rename dynsyms argument
to relsyms.
* bfd-in2.h: Regenerated.
* elf.c (_bfd_elf_get_synthetic_symtab): Rename dynsyms argument
to relsyms. Return 0 if abfd is relocatable.
binutils/
* objdump.c (dump_bfd): For relocatable objects, pass syms instead
of dynsyms to bfd_get_synthetic_symtab.
Alan Modra [Tue, 17 Aug 2004 08:51:07 +0000 (08:51 +0000)]
* elflink.h (elf_gc_sweep): Keep non-alloc, non-load sections.
Nick Clifton [Tue, 17 Aug 2004 08:12:26 +0000 (08:12 +0000)]
(is_arm_mapping_symbol_name): New function - return true when a symbol name
matches the requirements for an ARM mapping symbol name.
(arm_elf_find_function): New function based on elf_find_function in elf.c but
skipping ARM mapping symbols and including thumb function symbols.
(elf32_arm_find_nearest_line): Use arm_elf_find_function.
(elf32_arm_output_symbol_hook): Use is_arm_mapping_symbol_name.
Alan Modra [Tue, 17 Aug 2004 07:05:52 +0000 (07:05 +0000)]
* elf64-ppc.c (ppc64_elf_branch_reloc): New function.
(ppc64_elf_howto_raw): Use ppc64_elf_branch_reloc.
(ppc64_elf_brtaken_reloc): Here too.
Alan Modra [Tue, 17 Aug 2004 05:39:32 +0000 (05:39 +0000)]
* ld-elfvsb/elfvsb.exp: Cope with ppc64 dot symbols.
Alan Modra [Tue, 17 Aug 2004 05:38:28 +0000 (05:38 +0000)]
* elf64-ppc.c (add_symbol_adjust): Correct mismatched function
symbol visibility.
(ppc64_elf_check_directives): Check that we have the right hash
table before proceeding.
Alan Modra [Tue, 17 Aug 2004 01:25:21 +0000 (01:25 +0000)]
* elf64-ppc.c (struct ppc64_elf_obj_tdata): Add "deleted_section".
(adjust_opd_syms): Attach opd syms for deleted entries to one of
the sections that will be discarded.
Alan Modra [Tue, 17 Aug 2004 01:18:50 +0000 (01:18 +0000)]
* ld-scripts/cross1.t: Remove .opd section spec.
Alan Modra [Tue, 17 Aug 2004 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 17 Aug 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
Mark Kettenis [Mon, 16 Aug 2004 15:27:54 +0000 (15:27 +0000)]
* inferior.h (PTRACE_ARG3_TYPE): Define as PTRACE_TYPE_ARG3
instead of `int' if not already defined.
(call_ptrace): Revert change that replaced PTRACE_ARG3_TYPE with
PTRACE_TYPE_ARG3.
* infptrace.c (call_ptrace): Revert change that replaced
PTRACE_ARG3_TYPE with PTRACE_TYPE_ARG3.
Nick Clifton [Mon, 16 Aug 2004 08:34:28 +0000 (08:34 +0000)]
(macro_set_alternate): Use ISO C90 formatting.
Nick Clifton [Mon, 16 Aug 2004 08:25:44 +0000 (08:25 +0000)]
Sort architecture based tables alphabetically.
Nick Clifton [Mon, 16 Aug 2004 08:15:50 +0000 (08:15 +0000)]
altmacro.d: Allow for rest of frag being padded to an alignment boundary.
arm.exp: Run bignum test for ELF based targets only.
Alan Modra [Mon, 16 Aug 2004 03:04:47 +0000 (03:04 +0000)]
* config/tc-ppc.c (tc_ppc_regname_to_dw2regnum <regnames>): Replace
{ "cc", 68 }, with { "cr", 70 }.