platform/upstream/binutils.git
20 years ago* NEWS: Mention .secrel32 for pe[i]-i386.
Brian Ford [Fri, 7 May 2004 14:44:56 +0000 (14:44 +0000)]
* NEWS: Mention .secrel32 for pe[i]-i386.

20 years ago* NEWS: Mention Cygwin DWARF 2 support.
Brian Ford [Fri, 7 May 2004 14:34:35 +0000 (14:34 +0000)]
* NEWS: Mention Cygwin DWARF 2 support.

20 years ago2004-05-07 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 7 May 2004 14:29:34 +0000 (14:29 +0000)]
2004-05-07  Andrew Cagney  <cagney@redhat.com>

* objfiles.h (struct entry_info): Delete unused fields
deprecated_entry_file_lowpc and deprecated_entry_file_highpc.
* objfiles.c (init_entry_point_info, objfile_relocate): Update.
* mipsread.c (mipscoff_symfile_read): Update.
* mdebugread.c (parse_partial_symbols): Update.
* dwarfread.c (read_file_scope): Update.
* dwarf2read.c (read_file_scope): Update.
* dbxread.c (read_dbx_symtab, read_dbx_symtab): Update.
* coffread.c (complete_symtab): Update.

20 years ago* infcall.c (_initialize_infcall): Fix typo.
Mark Kettenis [Fri, 7 May 2004 14:08:52 +0000 (14:08 +0000)]
* infcall.c (_initialize_infcall): Fix typo.

20 years ago2004-05-07 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 7 May 2004 13:35:52 +0000 (13:35 +0000)]
2004-05-07  Andrew Cagney  <cagney@redhat.com>

* cli/cli-decode.c (add_setshow_zinteger_cmd): New function.
* command.h (add_setshow_zinteger_cmd): Declare.

20 years ago* gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
Jim Blandy [Fri, 7 May 2004 09:16:29 +0000 (09:16 +0000)]
* gdb.base/lineinc.exp, gdb.base/lineinc1.h, gdb.base/lineinc2.h,
gdb.base/lineinc3.h, gdb.base/lineinc.c: New tests.

20 years ago* elf32-frv.c (elf32_frvfdpic_modify_segment_map): Return
Alexandre Oliva [Fri, 7 May 2004 06:28:39 +0000 (06:28 +0000)]
* elf32-frv.c (elf32_frvfdpic_modify_segment_map): Return
immediately if there's no link info.
(elf32_frvfdpic_copy_private_bfd_data): New.
(bfd_elf32_bfd_copy_private_bfd_data): Use it for frvfdpic.

20 years ago* config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New.
Alexandre Oliva [Fri, 7 May 2004 06:28:04 +0000 (06:28 +0000)]
* config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New.
(HANDLE_ALIGN): New.

20 years ago * Makefile.am (DIST_SUBDIRS): Define.
Daniel Jacobowitz [Fri, 7 May 2004 06:23:54 +0000 (06:23 +0000)]
* Makefile.am (DIST_SUBDIRS): Define.
* aclocal.m4: Regenerate with automake 1.8.4.
* Makefile.in: Likewise.
* doc/Makefile.in: Likewise.

20 years ago2004-05-06 Randolph Chung <tausq@debian.org>
Randolph Chung [Fri, 7 May 2004 05:48:50 +0000 (05:48 +0000)]
2004-05-06  Randolph Chung  <tausq@debian.org>

* config/pa/tm-hppa.h (RO_REGNUM, FLAGS_REGNUM, RP_REGNUM)
(HPPA_FP_REGNUM, HPPA_SP_REGNUM, SAR_REGNUM, IPSW_REGNUM)
(PCOQ_HEAD_REGNUM, PCSQ_HEAD_REGNUM, PCOQ_TAIL_REGNUM, PCSQ_TAIL_REGNUM)
(EIEM_REGNUM, IIR_REGNUM, ISR_REGNUM, IOR_REGNUM, SR4_REGNUM)
(RCR_REGNUM, PID0_REGNUM, PID1_REGNUM, PID2_REGNUM, PID3_REGNUM)
(CCR_REGNUM, TR0_REGNUM, CR27_REGNUM, HPPA_FP0_REGNUM, FP4_REGNUM)
(ARG0_REGNUM, ARG1_REGNUM, ARG2_REGNUM, ARG3_REGNUM): Move *_REGNUM
definitions ...
* hppa-tdep.h: ... to here, with HPPA_ prefix.
* Makefile.in (hppah-nat.o): Add $(hppa_tdep_h)
* hppa-hpux-tdep.c (hppa32_hpux_frame_find_saved_regs_in_sig)
(hppa64_hpux_frame_find_saved_regs_in_sig)
(child_get_current_exception_event): Add HPPA_ prefix to *_REGNUM usage.
* hppa-linux-nat.c (GR_REGNUM, TR_REGNUM, greg_map): Likewise.
* hppa-linux-tdep.c (hppa_dwarf_reg_to_regnum)
(hppa_linux_target_write_pc, hppa_linux_sigtramp_frame_unwind_cache)
(hppa_linux_sigtramp_frame_prev_register): Likewise.
* hppa-tdep.c (hppa32_return_value, hppa64_return_value)
(hppa32_push_dummy_call, hppa64_push_dummy_call, hppa64_frame_align)
(hppa_target_read_pc, hppa_target_write_pc, hppa_frame_cache)
(hppa_frame_prev_register, hppa_stub_frame_unwind_cache)
(hppa_stub_frame_prev_register, hppa_unwind_dummy_id)
(hppa_skip_permanent_breakpoint, hppa_instruction_nullified)
(hppa32_register_type, hppa_cannot_store_register)
(hppa_fetch_pointer_argument, hppa_pseudo_register_read): Likewise.
* hppah-nat.c (store_inferior_registers, fetch_register): Likewise.
* hpread.c (hpread_process_one_debug_symbol): Likewise.
* pa64solib.c (pa64_solib_have_load_event)
(pa64_solib_have_unload_event, pa64_solib_loaded_library_pathname)
(pa64_solib_unloaded_library_pathname): Likewise.
* somsolib.c (som_solib_have_load_event, som_solib_have_unload_event)
(som_solib_library_pathname): Likewise.

20 years ago * dwarf2.c (add_line_info): Also set info->filename to NULL if
Zack Weinberg [Fri, 7 May 2004 00:01:25 +0000 (00:01 +0000)]
* dwarf2.c (add_line_info): Also set info->filename to NULL if
filename argument is null; do not call strlen on a null pointer.

20 years agodaily update
Alan Modra [Fri, 7 May 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago * elf32-arm.h (elf32_arm_relocate_section): Remove R_ARM_PLT32
Daniel Jacobowitz [Thu, 6 May 2004 23:43:40 +0000 (23:43 +0000)]
* elf32-arm.h (elf32_arm_relocate_section): Remove R_ARM_PLT32
special case.

20 years agoPatch from David Mosberger-Tang.
Jim Wilson [Thu, 6 May 2004 22:32:44 +0000 (22:32 +0000)]
Patch from David Mosberger-Tang.
* config/tc-ia64.c (dot_serialize): Declare.
(dot_serialize): New function.
(md_pseudo_table): Add ".serialize.data" and
".serialize.instruction" directives.

20 years ago * gdb.base/sep.exp: No longer setup_kfail when the program was
Joel Brobecker [Thu, 6 May 2004 21:32:01 +0000 (21:32 +0000)]
    * gdb.base/sep.exp: No longer setup_kfail when the program was
        built with dwarf2.

20 years agoRemove duplicate code and provide a function for generating internally consistent...
Nick Clifton [Thu, 6 May 2004 11:01:48 +0000 (11:01 +0000)]
Remove duplicate code and provide a function for generating internally consistent 'value out of range' messages

20 years ago* emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
Alexandre Oliva [Thu, 6 May 2004 02:46:54 +0000 (02:46 +0000)]
* emulparams/elf32frvfd.sh (OUTPUT_FORMAT): Switch to new
elf32-frvfdpic.

20 years ago* configure.in: Set em=linux for frv-*-*linux*.
Alexandre Oliva [Thu, 6 May 2004 02:46:45 +0000 (02:46 +0000)]
* configure.in: Set em=linux for frv-*-*linux*.
* configure: Rebuilt.
* config/tc-frv.h (TARGET_FORMAT): Use elf32-frvfdpic if...
(frv_md_fdpic_enabled): New.
* config/tc-frv.c (frv_md_fdpic_enabled): New.
(DEFAULT_FDPIC): New.
(frv_flags): Use DEFAULT_FDPIC.
(frv_pic_flag): Likewise.
(OPTION_NOPIC): New.
(md_longopts): Add -mnopic.
(md_parse_option): Handle it.
(md_show_usage): Add -mfdpic and -mnopic.

20 years ago* configure.in (bfd_elf32_frvfdpic_vec): New.
Alexandre Oliva [Thu, 6 May 2004 02:46:29 +0000 (02:46 +0000)]
* configure.in (bfd_elf32_frvfdpic_vec): New.
* configure: Rebuilt.
* targets.c (bfd_elf32_frvfdpic_vec): New.
* config.bfd: Enable it on frv-*-elf and frv-*-*linux*, as default
on the latter.
* elf32-frv.c: Prefix all identifiers added for FDPIC support with
frvfdpic instead of frv.  Rearrange elf-target macros such that
the FDPIC-specific ones are only defined for this new target
vector.
(bfd_elf32_frvfdpic_vec): Declare.
(IS_FDPIC): New.
(elf32_frv_relocate_section): Use it to enable segment checking
and to control rofixup emission.  Add output section vma to
applied relocation in non-LOAD non-ALLOC sections.  Use
_bfd_error_handler for errors.
(_frv_create_got_section): Create .rel.got and .rofixup only in
FDPIC.  Create non-dynamic _gp at .got+2048 in non-FDPIC, like the
linker script.
(elf32_frvfdpic_size_dynamic_sections): Assume FDPIC.
(elf32_frvfdpic_modify_segment_map): Likewise.
(elf32_frv_finish_dynamic_sections): New, do-nothing.
(elf32_frvfdpic_finish_dynamic_sections): Assume FDPIC.  Improve
error message if we miscompute the rofixup size.
(frvfdpic_elf_use_relative_eh_frame): Assume FDPIC.
(frvfdpic_elf_encode_eh_address): Likewise.
(elf32_frv_check_relocs): Reject FDPIC-only relocs in non-FDPIC.
Record relocs only in FDPIC.  Make sure _gp is defined for GPREL
relocs.  Reject unknown relocation types.
(elf32_frv_object_p): Make sure target vector matches FDPIC bits.
(frv_elf_merge_private_bfd_data): Likewise.
(ELF_MAXPAGESIZE): Revert to 0x1000 for elf32-frv; keep it as
0x4000 for newly-added elf32-frvfdpic.

20 years ago* ld-frv/fdpic.exp: Restore $LDFLAGS at the end.
Alexandre Oliva [Thu, 6 May 2004 02:46:13 +0000 (02:46 +0000)]
* ld-frv/fdpic.exp: Restore $LDFLAGS at the end.
* ld-frv/fr450-link.d: Match fdpic as well.

20 years ago* gas/frv/reloc1.d: Match elf32-frvfdpic as well.
Alexandre Oliva [Thu, 6 May 2004 02:46:07 +0000 (02:46 +0000)]
* gas/frv/reloc1.d: Match elf32-frvfdpic as well.
* gas/frv/fr405-insn.d: Likewise.
* gas/frv/fr450-insn.d: Likewise.

20 years ago * ld-sh/sh64/crange1.rd: Update sh_info to decimal.
Kaz Kojima [Thu, 6 May 2004 00:13:39 +0000 (00:13 +0000)]
* ld-sh/sh64/crange1.rd: Update sh_info to decimal.
* ld-sh/sh64/crange2.rd: Likewise.
* ld-sh/sh64/crange3.rd: Likewise.
* ld-sh/sh64/crange3-cmpct.rd: Likewise.
* ld-sh/sh64/crange3-media.rd: Likewise.
* ld-sh/sh64/crangerel1.rd: Likewise.
* ld-sh/sh64/crangerel2.rd: Likewise.

20 years agodaily update
Alan Modra [Thu, 6 May 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years agoPreserve the ignore count when we resolve a pending breakpoint. Also add
Jim Ingham [Wed, 5 May 2004 21:18:11 +0000 (21:18 +0000)]
Preserve the ignore count when we resolve a pending breakpoint.  Also add
a test for this to pending.exp.

20 years agoRemove checks of the return value from bfd_cache_ookup()
Nick Clifton [Wed, 5 May 2004 15:46:35 +0000 (15:46 +0000)]
Remove checks of the return value from bfd_cache_ookup()

20 years ago2004-05-05 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 5 May 2004 15:42:53 +0000 (15:42 +0000)]
2004-05-05  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (PARM_BOUNDARY): Delete.
gdbarch.h, gdbarch.c: Re-generate.
* valops.c (PARM_BOUNDARY): Delete macro.
(value_push): Delete PARM_BOUNDARY code.
* m68k-tdep.c (m68k_gdbarch_init): Do not set parm_boundary.

20 years agoPR/136 - Have bfd_cache_lookup_worker() abort rather than return an
Nick Clifton [Wed, 5 May 2004 15:39:11 +0000 (15:39 +0000)]
PR/136 - Have bfd_cache_lookup_worker() abort rather than return an
(unchecked-for) NULL.

20 years agoAdd support for 521x,5249,547x,548x.
Nick Clifton [Wed, 5 May 2004 14:33:14 +0000 (14:33 +0000)]
Add support for 521x,5249,547x,548x.

20 years ago * ppc-opc.c (PPCVEC): Remove PPC_OPCODE_PPC.
Alan Modra [Wed, 5 May 2004 13:43:36 +0000 (13:43 +0000)]
* ppc-opc.c (PPCVEC): Remove PPC_OPCODE_PPC.

20 years ago * ld-powerpc/tlsexe.r: Update sh_info to decimal.
Alan Modra [Wed, 5 May 2004 13:31:05 +0000 (13:31 +0000)]
* ld-powerpc/tlsexe.r: Update sh_info to decimal.
* ld-powerpc/tlsexe32.r: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlsso32.r: Likewise.
* ld-powerpc/tlstocso.r: Likewise.

20 years ago * tc-s390.h (md_do_align, HANDLE_ALIGN): Remove.
Jakub Jelinek [Wed, 5 May 2004 13:06:18 +0000 (13:06 +0000)]
* tc-s390.h (md_do_align, HANDLE_ALIGN): Remove.
(NOP_OPCODE): Define.
(s390_align_code): Remove prototype.
* tc-s390.c (s390_align_code): Remove.

20 years ago* ppc-linux-nat.c (fetch_ppc_registers, store_ppc_registers):
Jim Blandy [Wed, 5 May 2004 01:48:37 +0000 (01:48 +0000)]
* ppc-linux-nat.c (fetch_ppc_registers, store_ppc_registers):
Don't assume that the gprs, fprs, and UISA sprs are
contiguous, start at register number zero, and end with fpscr.
Instead, use the numbers from the tdep structure.

20 years ago* config/rs6000/tm-rs6000.h (FP0_REGNUM): Document that this
Jim Blandy [Wed, 5 May 2004 01:46:55 +0000 (01:46 +0000)]
* config/rs6000/tm-rs6000.h (FP0_REGNUM): Document that this
should no longer be used in code specific to the RS6000 and its
derivatives.
* ppc-tdep.h (struct gdbarch_tdep): Add 'ppc_fp0_regnum' member.
* rs6000-tdep.c (rs6000_gdbarch_init): Initialize
tdep->ppc_fp0_regnum.
(ppc_supply_fpregset, ppc_collect_fpregset)
(rs6000_push_dummy_call, rs6000_extract_return_value)
(rs6000_dwarf2_stab_reg_to_regnum, rs6000_store_return_value)
(rs6000_frame_cache): Use tdep->ppc_fp0_regnum instead of
FP0_REGNUM.
* aix-thread.c (supply_fprs, fetch_regs_kernel_thread)
(fill_gprs64, fill_gprs32, fill_fprs, store_regs_kernel_thread):
Same.
* ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_fetch_registers,
bdm_ppc_store_registers): Same.
* ppc-linux-nat.c (ppc_register_u_addr, fetch_register)
(store_register, fill_fpregset): Same.
* ppc-linux-tdep.c (ppc_linux_sigtramp_cache)
(ppc_linux_supply_fpregset): Same.
* ppcnbsd-nat.c (getfpregs_supplies): Same.
* ppcnbsd-tdep.c (ppcnbsd_supply_fpreg, ppcnbsd_fill_fpreg):
Same.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call,
do_ppc_sysv_return_value, ppc64_sysv_abi_push_dummy_call,
ppc64_sysv_abi_return_value): Same.
* rs6000-nat.c (regmap, fetch_inferior_registers)
(store_inferior_registers, fetch_core_registers): Same.

20 years agodaily update
Alan Modra [Wed, 5 May 2004 00:00:09 +0000 (00:00 +0000)]
daily update

20 years ago* m68knbsd-nat.c: Remove file.
Mark Kettenis [Tue, 4 May 2004 23:47:15 +0000 (23:47 +0000)]
* m68knbsd-nat.c: Remove file.
* m68knbsd-tdep.c: Remove file.
* Makefile.in: (m68knbsd-nat.o, m68knbsd-tdep.o): Remove
dependencies.
* configure.host: Add m68k-*-netbsdelf*.
* configure.tgt (m68k-*-netbsd*): Set gdb_target to nbsd.
* config/m68k/nbsdaout.mh (NATDEPFILES): Add m68kbsd-nat.o,
solib.o and solib-sunos.o.  Remove m68knbsd-nat.o, corelow.o.
(XM_FILE): Remove.
* config/m68k/nbsdelf.mh: New file.
* config/m68k/nbsd.mt: New file.
* config/m68k/nbsdaout.mt: Remove file.
* config/m68k/tm-nbsd.h: Don't include <sys/param.h>,
<machine/vmparam.h> and "m68k/tm-m68k.h".  Include "solib.h".
(BPT_VECTOR, STACK_END_ADDR): Remove defines.
(DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Likewise.
(use_struct_convention): Remove prototype.
(USE_STRUCT_CONVENTION): Remove define.
* config/m68k/xm-nbsd.h: Remove file.

20 years agomerge from gcc
DJ Delorie [Tue, 4 May 2004 20:06:15 +0000 (20:06 +0000)]
merge from gcc

20 years ago2004-05-04 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 4 May 2004 20:04:58 +0000 (20:04 +0000)]
2004-05-04  Michael Snyder  <msnyder@redhat.com>

        * m68k-tdep.c (m68k_gdbarch_init): Default to using
        reg_struct_return method (as gcc usually does for cross targets).

20 years ago2004-05-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
Andrew Cagney [Tue, 4 May 2004 18:50:26 +0000 (18:50 +0000)]
2004-05-04  Ulrich Weigand <Ulrich.Weigand@de.ibm.com>

Committed by Andrew Cagney.
* s390-tdep.c (s390_sigtramp_frame_unwind_cache): Account for
alignment padding when accessing ucontext struct members.

20 years ago* config/ppc-tdep.h (struct gdbarch_tdep): Delete
Jim Blandy [Tue, 4 May 2004 17:58:31 +0000 (17:58 +0000)]
* config/ppc-tdep.h (struct gdbarch_tdep): Delete
'ppc_gplast_regnum' member.
(ppc_num_gprs): New enum constant.
* ppc-linux-nat.c (ppc_register_u_addr): Use tdep->ppc_gp0_regnum
and ppc_num_gprs instead of tdep->ppc_gplast_regnum.
* rs6000-nat.c (regmap, fetch_inferior_registers,
store_inferior_registers): Same.
* rs6000-tdep.c (e500_pseudo_register_read)
(e500_pseudo_register_write): Same.
(rs6000_gdbarch_init): Don't initialize tdep->ppc_gplast_regnum.

20 years ago* config/rs6000/tm-rs6000.h (FPLAST_REGNUM): Delete #definition.
Jim Blandy [Tue, 4 May 2004 17:43:52 +0000 (17:43 +0000)]
* config/rs6000/tm-rs6000.h (FPLAST_REGNUM): Delete #definition.
* ppc-tdep.h (ppc_num_fprs): New enum constant.
* aix-thread.c (fetch_regs_kernel_thread, fill_fprs,
store_regs_kernel_thread): Use FP0_REGNUM + ppc_num_fprs, not
FPLAST_REGNUM.
* ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers):
Same.
* ppc-linux-nat.c (ppc_register_u_addr): Same.
* rs6000-nat.c (regmap, fetch_inferior_registers)
(store_inferior_registers): Same.

20 years ago* aix-thread.c (fill_fprs): Fix off-by-one error comparing regno
Jim Blandy [Tue, 4 May 2004 17:40:40 +0000 (17:40 +0000)]
* aix-thread.c (fill_fprs): Fix off-by-one error comparing regno
with FPLAST_REGNUM.

20 years ago2004-05-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Tue, 4 May 2004 14:58:11 +0000 (14:58 +0000)]
2004-05-04  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (make_unw_section_name): Removed.
(start_unwind_section): New function.
(generate_unwind_image): Take const segT instead of const
char *.
(dot_handlerdata): Adjusted.
(dot_endp): Likewise.

20 years ago * dwarf2read.c (dwarf2_create_include_psymtab): Fix build
Joel Brobecker [Tue, 4 May 2004 00:11:25 +0000 (00:11 +0000)]
    * dwarf2read.c (dwarf2_create_include_psymtab): Fix build
        failure detected by recent versions of GCC.
        (psymtab_to_symtab_1): No longer use the PST_PRIVATE macro
        to be consistent with the usage in dwarf2_create_include_psymtab.

20 years agodaily update
Alan Modra [Tue, 4 May 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago2004-05-03 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Mon, 3 May 2004 22:20:18 +0000 (22:20 +0000)]
2004-05-03  Michael Snyder  <msnyder@redhat.com>

        * mips-tdep.c (mips_gdbarch_init): Fix typo in comment.
        (heuristic_proc_start): Whitespace cleanup.

20 years agoReally remove file.
Mark Kettenis [Mon, 3 May 2004 22:16:11 +0000 (22:16 +0000)]
Really remove file.

20 years ago* sun3-nat.c: Remove file.
Mark Kettenis [Mon, 3 May 2004 22:12:29 +0000 (22:12 +0000)]
* sun3-nat.c: Remove file.
* Makefile.in (tm-sun3.h tm-altos.h tm-sun2.h tm-3b1.h): Remove
dependencies.
(ALLDEPFILES): Remove sun3-nat.c.
(sun3-nat.o): Remove dependencies.

20 years ago* i386-interix-nat.c, i386-interix-tdep.c,
Mark Kettenis [Mon, 3 May 2004 22:06:15 +0000 (22:06 +0000)]
* i386-interix-nat.c, i386-interix-tdep.c,
config/i386/nm-interix.h, config/i386/interix.mh,
config/i386/interix.mt: Remove files.
* Makefile.in (i386-interix-nat.o, i386-interix-tdep.o): Remove
dependencies.

20 years ago* m68k-tdep.h (struct gdbarch_tdep): Add member
Mark Kettenis [Mon, 3 May 2004 21:56:09 +0000 (21:56 +0000)]
* m68k-tdep.h (struct gdbarch_tdep): Add member
struct_value_regnum.
(m68k_svr4_init_abi): New prototype.
* m68k-tdep.c: Include "floatformat.h".  Add comment about all the
different calling conventions.
(m68k_extract_return_value): Remove code dealing with single-field
structs.
(m68k_store_return_value): Remove code dealing with single-field
structs.  Correctly store return values of 5, 6, 7 or 8 bytes.
(m68k_extract_struct_value_address): Remove function.
(m68k_svr4_extract_return_value,m68k_svr4_store_return_value)
(m68k_reg_struct_return_p, m68k_return_value)
(m68k_svr4_return_value): New functions.
(m68k_use_struct_convention): Remove function.
(m68k_push_dummy_call): Use new struct_value_regnum member of
`struct gdbarch_tdep' instead of hardcoded register number to
store STRUCT_ADDR.
(m68k_svr4_init_abi): New function.
(m68k_gdbarch_init): Don't set extract_return_value,
store_return_values, deprecated_extract_struct_value_address and
use_struct_convention.  Set return_value instead.  Initialize new
struct_value_regnum member of `struct gdbarch_tdep'.
* m68klinux-tdep.c: Update copyright year.
(m68k_linux_extract_return_value, m68k_linux_store_return_value)
(m68k_linux_extract_struct_value_address): Remove function.
(m68k_linux_init_abi): Don't set extract_return_value,
store_return_values, deprecated_extract_struct_value_address and
use_struct_convention.  Call m68k_svr4_init_abi but override the
new struct_value_regnum member of `struct gdbarch_tdep'.
* Makefile.in (m68k-tdep.o): Update dependencies.

20 years ago * dwarf2read.c (line_header): Add new included_p field in
Joel Brobecker [Mon, 3 May 2004 16:21:51 +0000 (16:21 +0000)]
    * dwarf2read.c (line_header): Add new included_p field in
        field file_names.
        (partial_die_info): New field has_stmt_list. New field line_offset.
        (dwarf2_create_include_psymtab): New function.
        (dwarf2_build_include_psymtabs): New function.
        (add_file_name): Add forward declaration. Initialize new field.
        (dwarf_decode_lines): Add new parameter. Enhance this procedure
        to be able to determine the list of files included by the
        given unit, and build their associated psymtabs.
        (dwarf2_build_psymtabs_hard): Build the psymtabs for the included
        files as well.
        (psymtab_to_symtab_1): Build the symtabs of all dependencies as well.
        (read_file_scope): Update call to dwarf_decode_lines.
        (read_partial_die): Handle DW_AT_stmt_list attributes.

20 years ago * elf.c (_bfd_elf_rela_local_sym): Set kept_section for excluded
Alan Modra [Mon, 3 May 2004 14:52:02 +0000 (14:52 +0000)]
* elf.c (_bfd_elf_rela_local_sym): Set kept_section for excluded
SEC_MERGE sections.
* elflink.c (elf_link_input_bfd): Adjust output reloc index for
those against discarded link-once and SEC_MERGE section symbols.

20 years ago2004-05-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Mon, 3 May 2004 04:08:32 +0000 (04:08 +0000)]
2004-05-02  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c (obj_elf_change_section): Allow the
".note.GNU-stack" section has SHF_EXECINSTR.

20 years ago2004-05-02 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Mon, 3 May 2004 02:03:17 +0000 (02:03 +0000)]
2004-05-02  Michael Chastain  <mec.gnu@mindspring.com>

Unfix PR gdb/1626.
* configure.in: Revert special case for osf5.*.
* configure: Regenerate.

20 years agodaily update
Alan Modra [Mon, 3 May 2004 00:00:06 +0000 (00:00 +0000)]
daily update

20 years agobfd/
H.J. Lu [Sun, 2 May 2004 14:36:25 +0000 (14:36 +0000)]
bfd/

2004-05-02  H.J. Lu  <hongjiu.lu@intel.com>

* section.c (bfd_get_section_by_name_if): New.
* bfd-in2.h: Regenerated.

gas/

2004-05-02  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c (get_section): Return bfd_boolean.
(obj_elf_change_section): Call bfd_get_section_by_name_if
instead of bfd_map_over_sections.

20 years agoMove the symbol-file-from-memory functions into their own file.
Jim Blandy [Sun, 2 May 2004 10:14:02 +0000 (10:14 +0000)]
Move the symbol-file-from-memory functions into their own file.
* symfile-mem.c, symfile-mem.h: New files.
* symfile.c (symbol_file_add_from_bfd): New function.
(symbol_file_add): Call symbol_file_add_from_bfd.
(symbol_file_add_from_memory, add_symbol_file_from_memory_command):
Moved to symfile-mem.c.
(_initialize_symfile): Move definition of
add-symbol-file-from-memory command to symfile-mem.c.
* symfile.h (symbol_file_add_from_bfd): New declaration.
* config/i386/linux.mt (TDEPFILES): Add symfile-mem.o.
* config/powerpc/linux.mt (TDEPFILES): Same.
* Makefile.in (SFILES): Add symfile-mem.c.
(symfile_mem_h): New variable.
(HFILES_NO_SRCDIR): Add symfile-mem.h.
(symfile-mem.o): New rule.

20 years ago * som.c (som_bfd_is_group_section): Define.
Alan Modra [Sun, 2 May 2004 06:21:08 +0000 (06:21 +0000)]
* som.c (som_bfd_is_group_section): Define.

20 years ago2004-05-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 2 May 2004 00:21:41 +0000 (00:21 +0000)]
2004-05-01  Andrew Cagney  <cagney@redhat.com>

* breakpoint.c (insert_bp_location): Use get_frame_id, and
frame_find_by_id instead of frame_relative_level.
(do_enable_breakpoint): Ditto.
* thread.c: Update copyright.
(info_threads_command): Ditto, simplify.

20 years agodaily update
Alan Modra [Sun, 2 May 2004 00:00:07 +0000 (00:00 +0000)]
daily update

20 years ago2004-05-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 1 May 2004 22:41:34 +0000 (22:41 +0000)]
2004-05-01  Andrew Cagney  <cagney@redhat.com>

* frame.c (deprecated_generic_get_saved_register): Delete
function, moved to "xstormy16-tdep.c".
* xstormy16-tdep.c (xstormy16_get_saved_register): Inline
deprecated_generic_get_saved_register from "frame.c".
(xstormy16_frame_saved_register): Call
xstormy16_get_saved_register.
* dummy-frame.c (deprecated_find_dummy_frame_regcache): Make
static.
* dummy-frame.h (deprecated_find_dummy_frame_regcache): Delete.
* frame.h (deprecated_generic_get_saved_register): Delete.

20 years ago2004-05-01 Michael Chastain <mec.gnu@mindspring.com>
Michael Chastain [Sat, 1 May 2004 22:30:27 +0000 (22:30 +0000)]
2004-05-01  Michael Chastain  <mec.gnu@mindspring.com>

* dwarfread.c: Update documentation on the state of dwarf-1.

20 years ago2004-05-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 1 May 2004 21:11:16 +0000 (21:11 +0000)]
2004-05-01  Andrew Cagney  <cagney@redhat.com>

* stack.c (select_frame_command): Delete call to
frame_relative_level.
(print_frame, set_backtrace_limit_command, backtrace_limit_info):
Delete #if0 code.
(frame_info): Do not print FRAMELESS.
(print_block_frame_labels): Replace DEPRECATED_STREQ.
(catch_info): Delete #if0 code.

20 years ago2004-05-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 1 May 2004 19:35:22 +0000 (19:35 +0000)]
2004-05-01  Andrew Cagney  <cagney@redhat.com>

* frame.c (create_sentinel_frame): Set type to SENTINEL_FRAME.
* dummy-frame.c (dummy_frame_this_id): Use get_frame_type, instead
of frame_relative_level.
* sentinel-frame.c (sentinel_frame_unwinder): Set unwinder's type
to SENTINEL_FRAME.
* frame.h (enum frame_type): Add SENTINEL_FRAME.
* s390-tdep.c (s390_prologue_frame_unwind_cache): Delete calls to
frame_relative_level.

20 years ago2004-05-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 1 May 2004 19:02:11 +0000 (19:02 +0000)]
2004-05-01  Andrew Cagney  <cagney@redhat.com>

* frame.h (deprecated_set_frame_type): Delete declaration.
* frame.c (deprecated_set_frame_type): Delete function, update
comments.

20 years ago2004-05-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 1 May 2004 16:52:30 +0000 (16:52 +0000)]
2004-05-01  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_PC_IN_SIGTRAMP): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* shnbsd-tdep.c (shnbsd_init_abi): Do not set pc_in_sigtramp.
(shnbsd_pc_in_sigtramp): Delete.
* i386-interix-tdep.c (i386_interix_init_abi): Do not set
pc_in_sigtramp.
* hppa-hpux-tdep.c (hppa_hpux_init_abi): Do not set
pc_in_sigtramp.
* frame.h: Update comments.
* ppc-linux-tdep.c: Update comments.
* breakpoint.c (bpstat_what): Update comments.

Index: doc/ChangeLog
2004-05-01  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Delete
description of DEPRECATED_PC_IN_SIGTRAMP.

20 years ago2004-05-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 1 May 2004 16:28:11 +0000 (16:28 +0000)]
2004-05-01  Andrew Cagney  <cagney@redhat.com>

* Makefile.in (m68klinux-tdep.o, m68klinux-nat.o): Fix
m68klinux-tdep.o's dependencies, were previously added to
m68klinux-nat.o.

20 years ago2004-05-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 1 May 2004 15:34:49 +0000 (15:34 +0000)]
2004-05-01  Andrew Cagney  <cagney@redhat.com>

* alpha-tdep.c (alpha_sigtramp_frame_sniffer): Use pc_in_sigtramp.
* alpha-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp.
* alphafbsd-tdep.c (alphafbsd_init_abi): Update.
* alpha-osf1-tdep.c (alpha_osf1_init_abi): Update.
* alpha-linux-tdep.c (alpha_linux_init_abi): Update.

20 years ago2004-05-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 1 May 2004 15:10:15 +0000 (15:10 +0000)]
2004-05-01  Andrew Cagney  <cagney@redhat.com>

* Makefile.in (m68klinux-nat.o): Update dependencies.
* m68klinux-tdep.c: Include "trad-frame.h" and "frame-unwind.h".
(m68k_linux_sigtramp_frame_cache)
(m68k_linux_sigtramp_frame_this_id)
(m68k_linux_sigtramp_frame_prev_register)
(m68k_linux_sigtramp_frame_unwind)
(m68k_linux_sigtramp_frame_sniffer)
(struct m68k_linux_sigtramp_info, m68k_linux_init_abi): Code from
m68k-tdep.h and m68k-tdep.c, add "linux" to function and variable
names, use trad-frame.h.
* m68k-tdep.h (struct gdbarch_tdep): Delete get_sigtramp_info.
(struct m68k_sigtramp_info): Delete.
* m68k-tdep.c (m68k_sigtramp_frame_cache)
(m68k_sigtramp_frame_this_id, m68k_sigtramp_frame_prev_register)
(m68k_sigtramp_frame_unwind, m68k_sigtramp_frame_sniffer)
(m68k_gdbarch_init): Delete all the sigtramp code, moved to
"m68klinux-tdep.c".

20 years ago * section.c (bfd_make_section_anyway): Copy the whole
Alan Modra [Sat, 1 May 2004 14:20:26 +0000 (14:20 +0000)]
* section.c (bfd_make_section_anyway): Copy the whole
bfd_hash_entry, not just "next" from existing entry.

20 years ago2004-05-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 1 May 2004 14:15:19 +0000 (14:15 +0000)]
2004-05-01  Andrew Cagney  <cagney@redhat.com>

* infrun.c (check_sigtramp2): Delete check for
DEPRECATED_PC_IN_SIGTRAMP and INNER_THAN.

20 years ago* m68k-tdep.h (m68kbsd_fpreg_offset): New prototype.
Mark Kettenis [Sat, 1 May 2004 14:08:47 +0000 (14:08 +0000)]
* m68k-tdep.h (m68kbsd_fpreg_offset): New prototype.

20 years ago2004-05-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 1 May 2004 14:00:57 +0000 (14:00 +0000)]
2004-05-01  Andrew Cagney  <cagney@redhat.com>

* frv-linux-tdep.c: Include "trad-frame.h" and "frame-unwind.h".
(frv_linux_sigtramp_frame_cache)
(frv_linux_sigtramp_frame_this_id)
(frv_linux_sigtramp_frame_prev_register)
(frv_linux_sigtramp_frame_unwind)
(frv_linux_sigtramp_frame_sniffer): Copied from frv-tdep.c,
include "linux" in function and variable names, directly call
frv_linux_pc_in_sigtramp and frv_linux_sigcontext_reg_addr, use
the latest trad-frame code.
(frv_linux_init_abi): Append frv_linux_sigtramp_frame_sniffer, do
not set frv_sigcontext_reg_addr or deprecated_pc_in_sigtramp
* Makefile.in (frv-linux-tdep.o): Update dependencies.
* frv-tdep.h (frv_set_sigcontext_reg_addr): Delete declaration.
* frv-tdep.c (frv_sigtramp_frame_cache)
(frv_sigtramp_frame_this_id, frv_sigtramp_frame_prev_register)
(frv_sigtramp_frame_unwind, frv_sigtramp_frame_sniffer): Moved to
frv-linux-tdep.c.
(frv_gdbarch_init): Do not append a sigtramp sniffer.
(struct gdbarch_tdep): Delete sigcontext_reg_addr.
(frv_set_sigcontext_reg_addr): Delete function.

20 years ago2004-05-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 1 May 2004 13:14:20 +0000 (13:14 +0000)]
2004-05-01  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_SIGTRAMP_START)
(DEPRECATED_SIGTRAMP_END): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* arch-utils.c (legacy_pc_in_sigtramp): Simplify.
* config/vax/tm-vaxbsd.h: Update copyright.
(DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete.
(DEPRECATED_IN_SIGTRAMP): Define.
* config/m68k/tm-nbsd.h: Update copyright.
(DEPRECATED_SIGTRAMP_START, DEPRECATED_SIGTRAMP_END): Delete.
(DEPRECATED_IN_SIGTRAMP): Define.

20 years ago* dwarf2-frame.c (read_encoded_value): Handle DW_EH_PE_funcrel
Mark Kettenis [Sat, 1 May 2004 10:55:19 +0000 (10:55 +0000)]
* dwarf2-frame.c (read_encoded_value): Handle DW_EH_PE_funcrel
encondings.  Fixes PR gdb/1628.

20 years ago* dwarf2-frame.c (execute_cfa_program): Complain if we encounter a
Mark Kettenis [Sat, 1 May 2004 09:52:47 +0000 (09:52 +0000)]
* dwarf2-frame.c (execute_cfa_program): Complain if we encounter a
DW_CFA_restore state without a matching DW_CFA_remember_state
instead of aborting.  Fixes PR backtrace/1589.

20 years ago * MAINTAINERS: Add self as AIX maintainer.
Joel Brobecker [Sat, 1 May 2004 01:28:17 +0000 (01:28 +0000)]
    * MAINTAINERS: Add self as AIX maintainer.
        Update my e-mail address in write-after-approval section.

20 years ago2004-04-30 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 1 May 2004 00:52:36 +0000 (00:52 +0000)]
2004-04-30  Andrew Cagney  <cagney@redhat.com>

* frame.c (frame_type_from_pc): Delete call to PC_IN_SIGTRAMP.
(legacy_get_prev_frame): Ditto.

20 years ago2004-04-30 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 1 May 2004 00:34:55 +0000 (00:34 +0000)]
2004-04-30  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (mips_pc_in_sigtramp): Delete.
(mips_gdbarch_init): Do not set pc_in_sigtramp.
* mipsread.c (sigtramp_address): Delete extern variable.
(mipscoff_new_init): Delete reference.
* mdebugread.c (sigtramp_address, sigtramp_end): Delete variables.
(fixup_sigtramp): Delete function.
* config/mips/tm-mips.h (sigtramp_address, sigtramp_end)
(fixup_sigtramp): Delete declarations.

20 years ago2004-04-30 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 1 May 2004 00:09:12 +0000 (00:09 +0000)]
2004-04-30  Andrew Cagney  <cagney@redhat.com>

* ppcnbsd-tdep.c (ppcnbsd_init_abi): Do not set
deprecated_pc_in_sigtramp.
(ppcnbsd_pc_in_sigtramp): Delete function.

20 years agodaily update
Alan Modra [Sat, 1 May 2004 00:00:08 +0000 (00:00 +0000)]
daily update

20 years ago* config/m68k/nm-nbsd.h: Tweak comments.
Mark Kettenis [Fri, 30 Apr 2004 23:59:54 +0000 (23:59 +0000)]
* config/m68k/nm-nbsd.h: Tweak comments.
* config/m68k/nm-nbsdaout.h: Likewise.

20 years ago2004-04-30 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 30 Apr 2004 23:47:56 +0000 (23:47 +0000)]
2004-04-30  Andrew Cagney  <cagney@redhat.com>

* arm-tdep.c (arm_sigtramp_unwind_sniffer): Call legacy_pc_in_sigtramp.
* ia64-tdep.c (ia64_sigtramp_frame_sniffer): Ditto.

20 years agoAdd OpenBSD/m68k support.
Mark Kettenis [Fri, 30 Apr 2004 23:28:52 +0000 (23:28 +0000)]
Add OpenBSD/m68k support.
* NEWS (New native configurations): Mention OpenBSD/m68k.
* m68kbsd-tdep.c: New file.
* m68kbsd-nat.c: New file.
* Makefile.in (ALLDEPFILES): Add m68kbsd-nat.c and m68kbsd-tdep.c.
(m68kbsd-nat.o, m68kbsd-tdep.o): New dependencies.
* configure.host: Add m68k-*-openbsd.
* configure.tgt: Add m68k-*-openbsd.
* config/m68k/tm-obsd.h: New file.
* config/m68k/obsd.mt: New file.
* config/m68k/obsd.mh: New file.
* config/djgpp/fnchange.lst: Add entries for m68kbsd-nat.c and
m68kbsd-tdep.c.

20 years ago2004-04-30 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 30 Apr 2004 22:38:03 +0000 (22:38 +0000)]
2004-04-30  Andrew Cagney  <cagney@redhat.com>

* mipsnbsd-tdep.c (mipsnbsd_pc_in_sigtramp): Delete function.
(mipsnbsd_init_abi): Do not set pc_in_sigtramp.

20 years ago* m68k-tdep.c (REMOTE_BPT_VECTOR): Remove define.
Mark Kettenis [Fri, 30 Apr 2004 21:47:07 +0000 (21:47 +0000)]
* m68k-tdep.c (REMOTE_BPT_VECTOR): Remove define.
* config/m68k/tm-nbsd.h (REMOTE_BPT_VECTOR): Remove define.

20 years ago Revert 2004-04-16 change.
Brian Ford [Fri, 30 Apr 2004 21:13:58 +0000 (21:13 +0000)]
Revert 2004-04-16 change.
* i386-tdep.c (i386_gdbarch_init): Fix comment typos.
(i386_coff_init_abi): Remove.
* i386-tdep.h (i386_coff_init_abi): Remove.
* i386-cygwin-tdep.c (i386_cygwin_init_abi): Remove call to above.

20 years ago2004-04-30 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 30 Apr 2004 20:58:32 +0000 (20:58 +0000)]
2004-04-30  Andrew Cagney  <cagney@redhat.com>

* blockframe.c (find_pc_partial_function): Delete use of
DEPRECATED_PC_IN_SIGTRAMP, DEPRECATED_SIGTRAMP_START and
DEPRECATED_SIGTRAMP_END.

20 years ago2004-04-30 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 30 Apr 2004 20:52:17 +0000 (20:52 +0000)]
2004-04-30  Andrew Cagney  <cagney@redhat.com>

* config/mips/tm-linux.h (DEPRECATED_IN_SIGTRAMP): Delete.
* config/mips/tm-irix6.h (DEPRECATED_IN_SIGTRAMP): Delete.
* config/mips/tm-nbsd.h: Delete undef DEPRECATED_IN_SIGTRAMP.
* config/mips/tm-irix5.h (DEPRECATED_IN_SIGTRAMP): Delete.
* config/arm/tm-embed.h (DEPRECATED_IN_SIGTRAMP): Delete.

20 years ago2004-04-30 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 30 Apr 2004 20:44:59 +0000 (20:44 +0000)]
2004-04-30  Andrew Cagney  <cagney@redhat.com>

* defs.h (deprecated_inside_entry_file): Delete declaration.
* blockframe.c (deprecated_inside_entry_file): Delete function.
(legacy_frame_chain_valid): Delete call.
* sh64-tdep.c (sh64_frame_chain): Delete call.
* objfiles.h: Update comments.
* i386-interix-tdep.c (i386_interix_frame_chain_valid): Delete
call.
* frame.c (get_prev_frame): Delete call, update comments.

20 years ago * MAINTAINERS (Write After Approval): Add myself.
Brian Ford [Fri, 30 Apr 2004 19:44:50 +0000 (19:44 +0000)]
* MAINTAINERS (Write After Approval): Add myself.

20 years agogas/
H.J. Lu [Fri, 30 Apr 2004 16:47:46 +0000 (16:47 +0000)]
gas/

2004-04-30  H.J. Lu  <hongjiu.lu@intel.com>

* config/obj-elf.c (get_section): New function.
(obj_elf_change_section): Support multiple sections with same
name.

gas/testsuite/

2004-04-30  H.J. Lu  <hongjiu.lu@intel.com>

* gas/elf/elf.exp: Remove group1, add group1a and group1b for
section group.

* gas/elf/group1a.d: New file.
* gas/elf/group1b.d: Likewise.

* gas/elf/group1.e: Removed.

20 years ago2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Apr 2004 15:04:30 +0000 (15:04 +0000)]
2004-04-30  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (bfd_section_from_shdr): Maintain the section order in
a section group.
(special_sections): Add ".note.GNU-stack".
(elf_fake_sections): Handle section group for relocatable
link..

20 years ago2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Apr 2004 15:01:15 +0000 (15:01 +0000)]
2004-04-30  H.J. Lu  <hongjiu.lu@intel.com>

* section.c (bfd_sections_find_if): New.
* bfd-in2.h: Regenerated.

20 years ago2004-04-30 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 30 Apr 2004 14:56:03 +0000 (14:56 +0000)]
2004-04-30  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (process_section_headers): Use %3lu on sh_info.

20 years ago2004-04-30 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 30 Apr 2004 14:40:56 +0000 (14:40 +0000)]
2004-04-30  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (BELIEVE_PCC_PROMOTION_TYPE): Delete.
* gdbarch.h, gdbarch.c: Re-generate.
* stabsread.c (define_symbol): Delete BELIEVE_PCC_PROMOTION_TYPE
code.

20 years ago * ldlang.c (unique_section_p): Pass section parm, return true on
Alan Modra [Fri, 30 Apr 2004 14:26:09 +0000 (14:26 +0000)]
* ldlang.c (unique_section_p): Pass section parm, return true on
group sections.
(output_section_callback): Adjust.
* ldlang.h (unique_section_p): Update prototype.
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Adjust.

20 years ago * section.c (bfd_make_section_anyway): Add all sections to hash tab.
Alan Modra [Fri, 30 Apr 2004 14:23:40 +0000 (14:23 +0000)]
* section.c (bfd_make_section_anyway): Add all sections to hash tab.

* elf-bfd.h (bfd_elf_is_group_section): Declare.
* elf.c (bfd_elf_is_group_section): New function.
* elfxx-target.h (bfd_elfNN_bfd_is_group_section
* section.c (bfd_generic_is_group_section): New function.
* targets.c (struct bfd_target): Add _bfd_is_group_section field.
(BFD_JUMP_TABLE_LINK): Adjust.
* aout-adobe.c (aout_32_bfd_is_group_section): Define.
* aout-target.h (MY_bfd_is_group_section): Define.
* aout-tic30.c (MY_bfd_is_group_section): Define.
* bfd.c (bfd_is_group_section): Define.
* binary.c (binary_bfd_is_group_section): Define.
* bout.c (b_out_bfd_is_group_section): Define.
* coff-alpha.c (_bfd_ecoff_bfd_is_group_section): Define.
* coff-mips.c (_bfd_ecoff_bfd_is_group_section): Define.
* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Adjust.
* coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Adjust.
* coffcode.h (coff_bfd_is_group_section): Define.
* i386msdos.c (msdos_bfd_is_group_section): Define.
* i386os9k.c (os9k_bfd_is_group_section): Define.
* ieee.c (ieee_bfd_is_group_section): Define.
* ihex.c (ihex_bfd_is_group_section): Define.
* libbfd-in.h (_bfd_nolink_bfd_is_group_section): Define.
* mach-o.c (bfd_mach_o_bfd_is_group_section): Define.
* mmo.c (mmo_bfd_is_group_section): Define.
* nlm-target.h (nlm_bfd_is_group_section): Define.
* oasys.c (oasys_bfd_is_group_section): Define.
* pef.c (bfd_pef_bfd_is_group_section): Define.
* ppcboot.c (ppcboot_bfd_is_group_section): Define.
* srec.c (srec_bfd_is_group_section): Define.
* tekhex.c (tekhex_bfd_is_group_section): Define.
* versados.c (versados_bfd_is_group_section): Define.
* vms.c (vms_bfd_is_group_section): Define.
* xsym.c (bfd_sym_bfd_is_group_section): Define.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.

20 years ago2004-04-30 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 30 Apr 2004 14:12:46 +0000 (14:12 +0000)]
2004-04-30  Andrew Cagney  <cagney@redhat.com>

* gdb-events.sh (selected_thread_changed)
(selected_frame_level_changed, target_changed): Delete.
* gdb-events.h, gdb-events.c: Re-generate.
* valops.c (value_assign): Update.
* stack.c (select_frame_command, up_silently_base)
(down_silently_base): Update.

20 years ago * ld.texinfo (--gc-sections): Remove restriction for
Eric Botcazou [Fri, 30 Apr 2004 11:49:45 +0000 (11:49 +0000)]
* ld.texinfo (--gc-sections): Remove restriction for
dynamic linking.

20 years agoFix handling of case sensitive register aliases and add a test for the bug
Nick Clifton [Fri, 30 Apr 2004 10:51:13 +0000 (10:51 +0000)]
Fix handling of case sensitive register aliases and add a test for the bug