OSDN Git Service

pf3gnuchains/sourceware.git
22 years agoContribute sh64-elf.
aoliva [Fri, 8 Feb 2002 05:33:19 +0000 (05:33 +0000)]
Contribute sh64-elf.
2002-01-23  Alexandre Oliva  <aoliva@redhat.com>
* reloc.c (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8, R_SH_GOTPLT10BY8,
R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64, R_SH_RELATIVE64):
New relocs.
* libbfd.h, bfd-in2.h: Rebuilt.
* elf32-sh.c (sh_elf_howto_table): Define new relocs.
(sh_reloc_map): Map them.
(PLT_ENTRY_SIZE, elf_sh_plt0_entry_be, elf_sh_plt0_entry_le,
elf_sh_plt_entry_be, elf_sh_plt_entry_le, elf_sh_pic_plt_entry_be,
elf_sh_pic_plt_entry_le, elf_sh_plt0_entry, elf_sh_plt_entry,
elf_sh_pic_plt_entry, elf_sh_sizeof_plt, elf_sh_plt_plt0_offset,
elf_sh_plt0_gotplt_offset, elf_sh_plt_temp_offset,
elf_sh_plt_symbol_offset, elf_sh_plt_reloc_offset,
movi_shori_putval) [INCLUDE_SHMEDIA]: New.
(elf_sh_link_hash_entry) [INCLUDE_SHMEDIA]: Add
datalabel_got_offset.
(sh_elf_link_hash_newfunc): Initialize it.
(sh_elf_relocate_section): Augment the scope of
seen_stt_datalabel.  Introduce GOTPLT support. Extend GOTPC, PLT,
GOT and GOTOFF handling to new SHmedia relocation types.  Support
GOT_BIAS.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_symbol) [TARGET_SHMEDIA]: Set up values in
PLT entries using movi_shori_putval.  Support GOT_BIAS.
(sh_elf_finish_dynamic_sections): Likewise.
* elf32-sh64.c (shmedia_prepare_reloc): Do not add addend to
relocation, it's now done by the caller.
(GOT_BIAS): New.
* elf64-sh64.c (GOT_BIAS, PLT_ENTRY_SIZE, elf_sh64_sizeof_plt,
elf_sh64_plt_plt0_offset, elf_sh64_plt0_gotplt_offset,
elf_sh64_plt_temp_offset, elf_sh64_plt_symbol_offset,
elf_sh64_plt_reloc_offset, ELF_DYNAMIC_INTERPRETER,
elf_sh64_pcrel_relocs_copied, elf_sh64_link_hash_entry,
elf_sh64_link_hash_table, sh64_elf64_link_hash_traverse,
sh64_elf64_hash_table): New.
(sh_elf64_howto_table): Introduce new relocs.
(sh_elf64_info_to_howto): Accept new PIC relocs.
(sh_elf64_relocate_section): Augment the scope of
seen_stt_datalabel.  Support new PIC relocs.
(sh_elf64_check_relocs): Support new PIC relocs.
(elf_sh64_plt0_entry_be, elf_sh64_plt0_entry_le,
elf_sh64_plt_entry_be, elf_sh64_plt_entry_le,
elf_sh64_pic_plt_entry_be, elf_sh64_pic_plt_entry_le,
elf_sh64_plt0_entry, elf_sh64_plt_entry, elf_sh64_pic_plt_entry,
sh64_elf64_link_hash_newfunc, sh64_elf64_link_hash_table_create,
movi_shori_putval, movi_3shori_putval,
sh64_elf64_create_dynamic_sections,
sh64_elf64_adjust_dynamic_symbol, sh64_elf64_discard_copies,
sh64_elf64_size_dynamic_sections,
sh64_elf64_finish_dynamic_symbol,
sh64_elf64_finish_dynamic_sections): New.
(elf_backend_create_dynamic-sections,
bfd_elf64_bfd_link_hash_table_create,
elf_backend_adjust_dynamic_symbol,
elf_backend_size_dynamic_sections,
elf_backend_finish_dynamic_symbol,
elf_backend_finish_dynamic_sections, elf_backend_want_got_plt,
elf_backend_plt_readonly, elf_backend_want_plt_sym,
elf_backend_got_header_size, elf_backend_plt_header_size):
Define.
2001-05-16  Alexandre Oliva  <aoliva@redhat.com>
* elf32-sh.c: Renumbered and renamed some SH5 relocations to
match official numbers and names; moved unmaching ones to the
range 0xf2-0xff.
* elf32-sh64.c, elf64-sh64.c: Likewise.
2001-03-12  DJ Delorie <dj@redhat.com>
* elf32-sh.c (sh_elf_relax_section): Don't relax SHmedia
sections.
2001-03-12  DJ Delorie <dj@redhat.com>
* elf32-sh64.c (shmedia_prepare_reloc): Validate relocs that must
be aligned.
* elf64-sh64.c (sh_elf64_relocate_section): Ditto.
2001-01-14  Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (bfd_elf32_bfd_copy_private_section_data): Define.
(sh64_elf_fake_sections): Set type to SHT_SH5_CR_SORTED for a
.cranges section with SEC_SORT_ENTRIES set.
(sh64_backend_section_from_shdr): Set SEC_SORT_ENTRIES on an
incoming sorted .cranges section.
(sh64_bfd_elf_copy_private_section_data): New.
(sh64_elf_final_write_processing): Only sort .cranges and modify
start address if called by linker.
2001-01-08  Ben Elliston  <bje@redhat.com>
* elf32-sh64.c (sh64_elf_final_write_processing): Activate
Hans-Peter Nilsson's set bit 0 patch from 2001-01-06.
* elf64-sh64.c (sh64_elf64_final_write_processing): Ditto.
2001-01-06  Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh_elf64_howto_table): No open brace at start of
line.  Add comments before all entries.
<R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct and clarify describing
comment.
(sh_elf64_reloc): Correct head comment.
(sh_elf64_relocate_section): Correct spacing.
<relocating for a local symbol>: Do not honour STO_SH5_ISA32;
instead call reloc_dangerous callback.
<case R_SH_SHMEDIA_CODE>: New case.
(sh_elf64_gc_mark_hook): Correct spacing.
(sh_elf64_check_relocs): Ditto.
* elf32-sh64.c (shmedia_prepare_reloc) <case R_SH_SHMEDIA_CODE>:
New case.
* elf32-sh.c: Correct #endif comments for #ifndef-wrapped
functions.
(sh_elf_howto_table) <R_SH_PT_16, R_SH_SHMEDIA_CODE>: Correct,
clarify describing comment.  Add comments before all entries.
(sh_elf_relocate_section) <relocating for a local symbol>: Do not
honour STO_SH5_ISA32; instead call reloc_dangerous callback.
2001-01-06  Hans-Peter Nilsson <hpn@cygnus.com>
Sort .cranges section in final link.  Prepare to set bit 0 on
entry address.
* elf32-sh64.c (struct sh64_find_section_vma_data): New.
(sh64_elf_link_output_symbol_hook): Fix typo in prototype.
(sh64_elf_set_mach_from_flags): Set SEC_DEBUGGING on incoming
.cranges section.
(sh64_backend_section_from_shdr): New, to recognize
SHT_SH5_CR_SORTED on incoming .cranges section.
(elf_backend_section_from_shdr): Define.
(sh64_elf_final_write_processing): Sort outgoing .cranges
section.  (New, temporarily disabled:) Set bit 0 on entry address
according to ISA type.
(sh64_find_section_for_address): New.
(crange_qsort_cmpb, crange_qsort_cmpl, crange_bsearch_cmpb,
crange_bsearch_cmpl): Move here from opcodes/sh64-dis.c.
(sh64_address_in_cranges): Move here from opcodes/sh64-dis.c.  Use
bfd_malloc, not xmalloc.
(sh64_get_contents_type): Move here from opcodes/sh64-dis.c.  Make
global.
* elf32-sh64.c (sh64_elf64_final_write_processing): New, (but
temporarily disabled) setting bit 0 on entry address.
(elf_backend_final_write_processing): Define.
2001-01-05  Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_PT_16>: Adjust fields to
be a proper relocation for PTA and PTB rather than a marker.
<R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL>:
Zero src_mask.
* elf64-sh64.c: Ditto.
(sh_elf64_relocate_section) <case R_SH_PT_16>: New case.
* elf32-sh64.c: Include opcodes/sh64-opc.h
(shmedia_prepare_reloc): Take a bfd_link_info pointer as first
argument.  Drop const qualifiers from "bfd *" and "bfd_byte *"
parameters.  No unused parameters.  Caller changed.
<case R_SH_PT_16>: New case.
* Makefile.am (elf32-sh64.lo): Add dependency on sh64-opc.h.
* Makefile.in: Regenerate.
2000-12-30  Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): Set SHF_SH5_ISA32 for
all code sections.
(sh_elf64_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh64_elf_merge_private_data): Ditto.
* elf32-sh64.c (sh64_elf_fake_sections): Use sh64_elf_section_data
to access stored section flags.
(sh64_elf_final_write_processing): Return immediately unless
called by linker.  Use sh64_elf_section_data (cranges) to get size
of linker-generated cranges entries.
(sh64_elf_copy_private_data): Add missing "return true".
(sh64_elf_set_mach_from_flags): Change from EF_SH64 to EF_SH5.
(sh_elf64_merge_private_data): Ditto.
2000-12-19  Hans-Peter Nilsson <hpn@cygnus.com>
* elf64-sh64.c (sh64_elf64_fake_sections): New, copy of
elf64-sh64.c:sh64_elf_fake_sections.
(elf_backend_fake_sections): Define as sh64_elf64_fake_sections.
2000-12-18  Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_copy_private_data_internal): Delete.
(sh64_elf_final_write_processing): New.
(elf_backend_final_write_processing): Define.
(sh64_elf_fake_sections): Get header flags from tdata field.
(sh64_elf_copy_private_data): Do not call
sh64_elf_copy_private_data_internal, just copy e_flags field.
(sh64_elf_merge_private_data): Do not call
sh64_elf_copy_private_data_internal.
2000-12-12  Hans-Peter Nilsson <hpn@cygnus.com>
Remove EF_SH64_ABI64, let ELF size make difference.
Remove SH64-specific BFD section flag.
* elf32-sh64.c (sh64_elf_fake_sections): Recognize section as
containing SHmedia through elf_section_data (asect)->tdata
non-zero, not using a BFD section flag.
(sh64_elf_set_mach_from_flags): Don't recognize EF_SH64_ABI64.
(sh64_elf_merge_private_data): Similar.
(elf_backend_section_flags): Don't define.
(sh64_elf_backend_section_flags): Delete.
* elf64-sh64.c (sh_elf64_set_mach_from_flags): Recognize EF_SH64,
not EF_SH64_ABI64.
(sh_elf64_merge_private_data): Similar.
* section.c (Section flags definitions): Don't define
SEC_SH_ISA_SHMEDIA.
(bfd-in2.h): Regenerate.
2000-12-09  Hans-Peter Nilsson <hpn@cygnus.com>
Make DataLabel references work with partial linking.
* elf32-sh64.c: Fix formatting.
(sh64_elf_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf_link_output_symbol_hook.
(sh64_elf_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking.  Adjust sanity check.
* elf64-sh64.c (sh64_elf64_link_output_symbol_hook): New.
(elf_backend_link_output_symbol_hook): Define to
sh64_elf64_link_output_symbol_hook.
(sh64_elf64_add_symbol_hook): Make DataLabel symbol just global
undefined if partial linking.  Adjust sanity check.
2000-12-07  Hans-Peter Nilsson <hpn@cygnus.com>
Implement semantics for inter-file DataLabel references.
* elf64-sh64.c (DATALABEL_SUFFIX): Define.
(sh64_elf64_add_symbol_hook): New.
(sh_elf64_relocate_section): If passing an indirect symbol with
st_type STT_DATALABEL on the way to a symbol with st_other
STO_SH5_ISA32, do not bitor 1 to the relocation.
(elf_backend_add_symbol_hook): Define to
sh64_elf64_add_symbol_hook.
* elf64-sh32.c: Tweak comments.
(DATALABEL_SUFFIX): Define.
(sh64_elf_add_symbol_hook): New.
(elf_backend_add_symbol_hook): Define to sh64_elf_add_symbol_hook.
* elf32-sh.c (sh_elf_relocate_section): If passing an indirect
symbol with st_type STT_DATALABEL on the way to a symbol with
st_other STO_SH5_ISA32, do not bitor 1 to the relocation.
2000-12-05  Hans-Peter Nilsson <hpn@cygnus.com>
Pass through STT_DATALABEL.
* elf32-sh64.c (sh64_elf_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
* elf64-sh64.c (sh64_elf64_get_symbol_type): New.
(elf_backend_get_symbol_type): Define.
2000-11-30  Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c: Tweak comments.
(sh64_elf_copy_private_data_internal): Add prototype.
(bfd_elf32_bfd_set_private_flags): Define.
(sh64_elf_copy_private_data_internal): Compare machine name, not
textual BFD target name, to check whether to copy section flag
SHF_SH5_ISA32.
(sh64_elf_merge_private_data): Validize bfd_get_arch_size.
Tweak section-contents-type-mismatch message.
(shmedia_prepare_reloc): Add ATTRIBUTE_UNUSED markers.
Validize reloc-types.
* elf64-sh64.c: New file.
* targets.c (bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec): Declare.
* Makefile.am (BFD64_BACKENDS): Add elf64-sh64.lo.
(BFD64_BACKENDS_CFILES): Add elf64-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* config.bfd (sh64-*-elf*): Add bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure.in: Handle bfd_elf64_sh64_vec and
bfd_elf64_sh64l_vec.
* configure: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
2000-11-29  Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh64.c (sh64_elf_set_mach_from_flags): Do not recognize
anything else but EF_SH64 and EF_SH64_ABI64.
(sh64_elf_merge_private_data): Emit error for anything else but
EF_SH64 and EF_SH64_ABI64.
* config.bfd: Remove bfd_elf32_shblin_vec and bfd_elf32_shlin_vec
from targ_selvecs.
* configure.in: Add cofflink.lo to bfd_elf32_sh64_vec and
bfd_elf32_sh64l_vec as a temporary measure.
* configure: Regenerate.
2000-11-27  Hans-Peter Nilsson <hpn@cygnus.com>
* cpu-sh.c (arch_info_struct): Include sh5 item
unconditionalized.
* config.bfd (sh64-*-elf*): Do not set targ_cflags.
Add targ_selvecs bfd_elf32_sh_vec, bfd_elf32_shl_vec,
bfd_elf32_shblin_vec and bfd_elf32_shlin_vec.
* elf32-sh64.c: Tweak comments.
(sh64_elf_set_mach_from_flags): Recognize all machine flags that
are proper subsets of SH64 as bfd_mach_sh5.  Add EF_SH64_ABI64.
(sh64_elf_copy_private_data_internal): Wrap long line.
(sh64_elf_merge_private_data): Rewrite to allow objects from
SH64 subsets to be linked together.
(INCLUDE_SHMEDIA): Define.
* elf32-sh.c (sh_elf_relocate_section) <local symbol>:
Parenthesize plus-expression inside or-expression.
<global symbol>: Ditto.
(sh_elf_set_mach_from_flags): Remove code refusing
deleted EF_SH64_32BIT_ABI flag.
2000-11-26  Hans-Peter Nilsson <hpn@cygnus.com>
* elf32-sh.c (sh_elf_howto_table) <R_SH_IMM_LOW16_PCREL,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16_PCREL, R_SH_64_PCREL>: Set pcrel_offset to true.
(sh_elf_relocate_section) <local symbol>: Or 1 in
calculation of relocation if sym->st_other & STO_SH5_ISA32.
<global symbol>: Ditto if h->other & STO_SH5_ISA32.
* elf32-sh64.c (shmedia_prepare_reloc): Add rel->r_addend to
relocation.
2000-11-24  Hans-Peter Nilsson <hpn@cygnus.com>
* Makefile.am (BFD32_BACKENDS): Add elf32-sh64.lo.
(BFD32_BACKENDS_CFILES): Add elf32-sh64.c.
Regenerate dependencies.
* Makefile.in: Regenerate.
* archures.c: Add bfd_mach_sh5.
* config.bfd: Map targ_cpu sh* to bfd_sh_arch.
Handle sh64-*-elf*.  Set targ_cflags to -DINCLUDE_SHMEDIA.
* configure.in: Handle bfd_elf32_sh64_vec and bfd_elf32_sh64l_vec.
* configure: Regenerate.
* reloc.c (BFD_RELOC_SH_SHMEDIA_CODE, BFD_RELOC_SH_IMMU5,
BFD_RELOC_SH_IMMS6, BFD_RELOC_SH_IMMS6BY32, BFD_RELOC_SH_IMMU6,
BFD_RELOC_SH_IMMS10, BFD_RELOC_SH_IMMS10BY2,
BFD_RELOC_SH_IMMS10BY4, BFD_RELOC_SH_IMMS10BY8,
BFD_RELOC_SH_IMMS16, BFD_RELOC_SH_IMMU16, BFD_RELOC_SH_IMM_LOW16,
BFD_RELOC_SH_IMM_LOW16_PCREL, BFD_RELOC_SH_IMM_MEDLOW16,
BFD_RELOC_SH_IMM_MEDLOW16_PCREL, BFD_RELOC_SH_IMM_MEDHI16,
BFD_RELOC_SH_IMM_MEDHI16_PCREL, BFD_RELOC_SH_IMM_HI16,
BFD_RELOC_SH_IMM_HI16_PCREL, BFD_RELOC_SH_PT_16): New relocations.
* cpu-sh.c [INCLUDE_SHMEDIA] (arch_info_struct): Define and link
in item for SH5.
* elf32-sh.c [INCLUDE_SHMEDIA] (sh_elf_howto_table): Add howto items
for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_rel): Add mappings for SHmedia relocs.
[INCLUDE_SHMEDIA] (sh_elf_relocate_section) [default]: Call
shmedia_prepare_reloc, goto final_link_relocate if it returns
non-zero, else fail as before.
(sh_elf_set_mach_from_flags): Provide function only if not defined
as macro.  Do not recognize objects with EF_SH64_32BIT_ABI set.
(sh_elf_set_private_flags): Provide function only if not defined
as a macro.
(sh_elf_copy_private_data): Similar.
(sh_elf_merge_private_data): Similar.
* section.c (SEC_SH_ISA_SHMEDIA): New.
* targets.c (bfd_elf32_sh64_vec, bfd_elf32_sh64l_vec): Declare.
* elf32-sh64.c: New file.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* po/POTFILES.in: Regenerate.
* po/bfd.pot: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.

22 years agoContribute sh64-elf.
aoliva [Fri, 8 Feb 2002 05:05:58 +0000 (05:05 +0000)]
Contribute sh64-elf.
2002-01-23  Alexandre Oliva  <aoliva@redhat.com>
* sh.h (R_SH_GOTPLT32, R_SH_GOT_LOW16, R_SH_GOT_MEDLOW16,
R_SH_GOT_MEDHI16, R_SH_GOT_HI16, R_SH_GOTPLT_LOW16,
R_SH_GOTPLT_MEDLOW16, R_SH_GOTPLT_MEDHI16, R_SH_GOTPLT_HI16,
R_SH_PLT_LOW16, R_SH_PLT_MEDLOW16, R_SH_PLT_MEDHI16,
R_SH_PLT_HI16, R_SH_GOTOFF_LOW16, R_SH_GOTOFF_MEDLOW16,
R_SH_GOTOFF_MEDHI16, R_SH_GOTOFF_HI16, R_SH_GOTPC_LOW16,
R_SH_GOTPC_MEDLOW16, R_SH_GOTPC_MEDHI16, R_SH_GOTPC_HI16,
R_SH_GOT10BY4, R_SH_GOTPLT10BY4, R_SH_GOT10BY8,
R_SH_GOTPLT10BY8, R_SH_COPY64, R_SH_GLOB_DAT64, R_SH_JMP_SLOT64,
R_SH_RELATIVE64): New relocs.
(R_SH_FIRST_INVALID_RELOC_4): Adjust.
2001-05-16  Alexandre Oliva  <aoliva@redhat.com>
* sh.h: Renumbered and renamed some SH5 relocations to match
official numbers and names; moved unmaching ones to the range
0xf2-0xff.
2001-01-06  Hans-Peter Nilsson  <hpn@cygnus.com>
* sh.h (sh64_get_contents_type): Declare.
(sh64_address_is_shmedia): Likewise.
2000-12-30  Hans-Peter Nilsson  <hpn@cygnus.com>
* sh.h (sh64_elf_crange): New type.
(struct sh64_section_data): New.
(sh64_elf_section_data): New macro.
(EF_SH5): Rename back from EF_SH64.
2000-12-18  Hans-Peter Nilsson  <hpn@cygnus.com>
* sh.h (SHF_SH5_ISA32_MIXED, SHT_SH5_CR_SORTED,
SH64_CRANGES_SECTION_NAME, SH64_CRANGE_SIZE,
SH64_CRANGE_CR_ADDR_OFFSET, SH64_CRANGE_CR_SIZE_OFFSET,
SH64_CRANGE_CR_TYPE_OFFSET): New macros.
2000-12-12  Hans-Peter Nilsson  <hpn@cygnus.com>
* sh.h (EF_SH64): Don't define EF_SH64_ABI64.
2000-11-27  Hans-Peter Nilsson  <hpn@cygnus.com>
* sh.h (EF_SH64_32BIT_ABI, EF_SH64_64BIT_ABI): Delete.
(EF_SH64_ABI64): New.
2000-11-23  Hans-Peter Nilsson  <hpn@cygnus.com>
* sh.h (EF_SH64): Rename from EF_SH5.
(EF_SH64_32BIT_ABI): New.
(EF_SH64_64BIT_ABI): New.
(R_SH_PT_16, R_SH_SHMEDIA_CODE
R_SH_IMMU5, R_SH_IMMS6, R_SH_IMMU6, R_SH_IMMS10, R_SH_IMMS10BY2,
R_SH_IMMS10BY4, R_SH_IMMS10BY8, R_SH_IMMS16, R_SH_IMMU16,
R_SH_IMM_LOW16, R_SH_IMM_LOW16_PCREL, R_SH_IMM_MEDLOW16,
R_SH_IMM_MEDLOW16_PCREL, R_SH_IMM_MEDHI16, R_SH_IMM_MEDHI16_PCREL,
R_SH_IMM_HI16, R_SH_IMM_HI16_PCREL, R_SH_64, R_SH_64_PCREL): New
relocs.
2000-09-01  Ben Elliston  <bje@redhat.com>
* sh.h (EF_SH5): Define.

22 years agoContribute sh64-elf.
aoliva [Fri, 8 Feb 2002 05:01:25 +0000 (05:01 +0000)]
Contribute sh64-elf.
2000-11-25  Hans-Peter Nilsson  <hpn@cygnus.com>
* dis-asm.h (print_insn_sh64): New prototype.
(print_insn_sh64l): New prototype.
(print_insn_sh64x_media): New prototype.

22 years ago2002-02-07 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Fri, 8 Feb 2002 03:01:10 +0000 (03:01 +0000)]
2002-02-07  Elena Zannoni  <ezannoni@redhat.com>

* sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array
to include space for pseudoregs as well. Update loops accordingly.
(sh_fp_frame_init_saved_regs): Ditto.
(sh_init_extra_frame_info, sh_pop_frame): Split long lines.

22 years ago* MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.
cagney [Fri, 8 Feb 2002 02:31:15 +0000 (02:31 +0000)]
* MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer.
Add Richard Earnshaw to Arm maintainers.

22 years agoZap warning_begin() declaration. (Attempt two).
cagney [Fri, 8 Feb 2002 00:53:17 +0000 (00:53 +0000)]
Zap warning_begin() declaration.  (Attempt two).

22 years ago* config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
cagney [Fri, 8 Feb 2002 00:46:37 +0000 (00:46 +0000)]
* config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT):
Delete macro.

(second attempt).

22 years ago2002-02-07 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 8 Feb 2002 00:39:45 +0000 (00:39 +0000)]
2002-02-07  Michael Snyder  <msnyder@redhat.com>

* gdb.texinfo (overlays): Change @var(_ovly_debug_event)
to @code(_ovly_debug_event).

22 years ago*** empty log message ***
gdbadmin [Fri, 8 Feb 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* gdb.texinfo (How Overlays Work): Shrink the overlay diagram.
cagney [Thu, 7 Feb 2002 23:58:41 +0000 (23:58 +0000)]
* gdb.texinfo (How Overlays Work): Shrink the overlay diagram.

22 years ago2002-02-07 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 7 Feb 2002 23:08:53 +0000 (23:08 +0000)]
2002-02-07  Michael Snyder  <msnyder@redhat.com>

* solib-legacy.c (legacy_svr4_fetch_link_map_offsets):
Logic bug, remove misplaced else.

22 years agodaily update
amodra [Thu, 7 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-07 Daniel Jacobowitz <drow@mvista.com>
drow [Thu, 7 Feb 2002 22:28:31 +0000 (22:28 +0000)]
2002-02-07  Daniel Jacobowitz  <drow@mvista.com>

        * bfd-in.h: Update <stdbool.h> check to only see if <stdbool.h> has
        been included, not drag it in.
        * bfd-in2.h: Regenerate.

22 years ago* gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
jimb [Thu, 7 Feb 2002 22:02:29 +0000 (22:02 +0000)]
* gdb.base/callfwmall.c, gdb.base/callfwmall.exp: Move these tests
from here...
* gdb.hp/gdb.base-hp/callfwmall.c, gdb.hp/gdb.base-hp/callfwmall.exp:
To here.  Disable this test on non-HP platforms.  Add big comment.

22 years ago2002-02-07 Martin M. Hunt <hunt@redhat.com>
hunt [Thu, 7 Feb 2002 21:56:06 +0000 (21:56 +0000)]
2002-02-07  Martin M. Hunt  <hunt@redhat.com>

* generic/gdbtk.c, generic/gdbtk-bp.c, generic/gdbtk-cmds.c,
generic/gdbtk-hooks.c, generic/gdbtk-stack.c: Cleanup includes.

22 years ago2002-02-07 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 7 Feb 2002 19:15:14 +0000 (19:15 +0000)]
2002-02-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/machine/i386/Makefile.am: (mach_add_src): Remove.
        (mach_add_obj): Conditionally set to setjmp.o or nothing.
        (LIB_SOURCES): Remove $(mach_add_src).
        (lib_a_LIBADD, lib_a_DEPENDENCIES): Add and set to $(mach_add_src).
        (lib_la_LIBADD, lib_la_DEPENDENCIES): Ditto.
        * libc/machine/i386/Makefile.in: Regenerate.

22 years ago* better support multiple-isa devices.
fche [Thu, 7 Feb 2002 18:46:19 +0000 (18:46 +0000)]
* better support multiple-isa devices.

2002-01-25  Frank Ch. Eigler  <fche@redhat.com>

        * sid-cpu.scm (-gen-hardware-types): Generate single hardware union
        for multiple-isa configurations.
        * sid-decode.scm (-gen-decode-fn): Tolerate empty insn list.

22 years ago* disasm improvements
fche [Thu, 7 Feb 2002 17:32:28 +0000 (17:32 +0000)]
* disasm improvements

2002-02-06  Frank Ch. Eigler  <fche@redhat.com>

* compCGEN.cxx (cgen_disassemble): New "isa_mask" argument.
* tracedis.c (disassemble): Ditto.  Support it.
(cgen_disassemble): Defeat initialization bypass cache.
* cgen-cpu.h, tracedis.h: Corresponding changes.

22 years ago * net.cc (cygwin_getsockname): Fix handling of NULL sun_path.
corinna [Thu, 7 Feb 2002 15:04:31 +0000 (15:04 +0000)]
* net.cc (cygwin_getsockname): Fix handling of NULL sun_path.

22 years agoDocument check-in procedures
nickc [Thu, 7 Feb 2002 09:09:13 +0000 (09:09 +0000)]
Document check-in procedures

22 years ago2002-02-07 Klee Dienes <klee@apple.com>
kdienes [Thu, 7 Feb 2002 06:11:53 +0000 (06:11 +0000)]
2002-02-07  Klee Dienes  <klee@apple.com>

        * fork-inferior.c (fork_inferior): Add '!' to the list of
        characters that need to be quoted when building a string for the
        shell.  Quote '!' specifically with a backslash, since CSH chokes
        when trying to evaluate "str!str".

22 years ago2002-02-06 Martin M. Hunt <hunt@redhat.com>
hunt [Thu, 7 Feb 2002 05:05:04 +0000 (05:05 +0000)]
2002-02-06  Martin M. Hunt  <hunt@redhat.com>

* generic/gdbtk.c, generic/gdbtk-bp.c, generic/gdbtk-cmds.c,
generic/gdbtk-hooks.c, generic/gdbtk-register.c,
generic/gdbtk-stack.c, generic/gdbtk-varobj.c,
generic/gdbtk-wrapper.c: Cleanup. Fix indentation. Fix
function declarations. Remove unused variables. Add 2002
copyrights.

22 years ago* gcc 3.1 build fixes.
bje [Thu, 7 Feb 2002 03:34:08 +0000 (03:34 +0000)]
* gcc 3.1 build fixes.
* reported by Klaus Pedersen <klaus.kruse.pedersen@mail.tele.dk>.

2002-02-07  Ben Elliston  <bje@redhat.com>

* VoicePager.cxx: Don't include <stdio.h>. Qualify std objects.
* VoicePager.h: Include <iostream>. Use std::map, std::vector.
* adac-driver.h: Use std::string.
* lcd-driver.cxx: Qualify unqualified std objects.
* adac-driver.cxx (adac_driver::begin_read): Cast -1 to unsigned.
(adac_driver::begin_write): Likewise.
* page-lcd.cxx: Include <iostream>. Use std::{cerr,cout,endl}.
* page-lcd.h: Use std::string.

22 years ago * ld-selective/keepdot.s: Remove section specifier.
hp [Thu, 7 Feb 2002 02:48:39 +0000 (02:48 +0000)]
* ld-selective/keepdot.s: Remove section specifier.

22 years ago* import from public tree.
bje [Thu, 7 Feb 2002 02:44:07 +0000 (02:44 +0000)]
* import from public tree.

        * voice-pager-demo.conf.in: Load libtclapi.la.  `mapper' has been
renamed to `cpu-mapper' in bsp-generated configuration files;
update accordingly.
* voice-pager-demo.conf.pport: Likewise.

22 years ago*** empty log message ***
gdbadmin [Thu, 7 Feb 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Wed, 6 Feb 2002 23:00:05 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-06 H.J. Lu (hjl@gnu.org)
hjl [Wed, 6 Feb 2002 21:34:15 +0000 (21:34 +0000)]
2002-02-06  H.J. Lu  (hjl@gnu.org)

* elf32-mips.c (_bfd_mips_elf_merge_private_bfd_data): Update
the mach and ISA fields if necessary.

22 years agoOnly provide a typedef for bool if it is not defined.
nickc [Wed, 6 Feb 2002 20:09:16 +0000 (20:09 +0000)]
Only provide a typedef for bool if it is not defined.

22 years ago * library/images/cygnus.gif: Remove.
kseitz [Wed, 6 Feb 2002 18:57:14 +0000 (18:57 +0000)]
* library/images/cygnus.gif: Remove.
* library/images2/cygnus.gif: Remove.

22 years ago2002-02-04 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 6 Feb 2002 18:31:06 +0000 (18:31 +0000)]
2002-02-04  Michael Snyder  <msnyder@redhat.com>

* breakpoint.h (enum bptype): Add new overlay event bp type.
(enable_overlay_breakpoints, disable_overlay_breakpoints): Export.

* breakpoint.c (create_internal_breakpoint): New function.
(internal_breakpoint_number): Moved into create_internal_breakpoint.
(create_longjmp_breakpoint): Use create_internal_breakpoint.
(create_thread_event_breakpoint): Ditto.
(create_solib_event_breakpoint): Ditto.
(create_overlay_event_breakpoint): New function.
(enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs.
(update_breakpoints_after_exec): Delete and re-initialize
overlay event breakpoints after an exec.  Add FIXME comment
about longjmp breakpoint.
(print_it_typical): Ignore overlay event breakpoints.
(print_one_breakpoint): Ditto.
(mention): Ditto.
(bpstat_what): Do not stop for overlay event breakpoints.
(delete_breakpoint): Don't delete overlay event breakpoints.
(breakpoint_re_set_one): Delete the overlay event breakpoint.
(breakpoint_re_set): Re-create overlay event breakpoint.

* symfile.c (overlay_auto_command): Enable overlay breakpoints.
(overlay_manual_command): Disable overlay breakpoints.
(overlay_off_command): Disable overlay breakpoints.

22 years ago2002-02-06 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 6 Feb 2002 18:29:38 +0000 (18:29 +0000)]
2002-02-06  Michael Snyder  <msnyder@redhat.com>

* gdb.texinfo (overlays): Mention new magic symbol
'_ovly_debug_event', which allows GDB to keep better track
of overlays.

22 years ago* MAINTAINERS: Added self as SH co-maintainer.
aoliva [Wed, 6 Feb 2002 18:23:16 +0000 (18:23 +0000)]
* MAINTAINERS: Added self as SH co-maintainer.

22 years agoSelect the highest known ARM architecture when an F_ARM_5 flag is detected,
nickc [Wed, 6 Feb 2002 16:29:28 +0000 (16:29 +0000)]
Select the highest known ARM architecture when an F_ARM_5 flag is detected,
since we cannot be sure exactly which architecture this represents.

22 years ago* arm-tdep.c: Include elf-bfd.h and coff/internal.h.
rearnsha [Wed, 6 Feb 2002 15:21:16 +0000 (15:21 +0000)]
* arm-tdep.c: Include elf-bfd.h and coff/internal.h.
(MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines
to here from config/tm-arm.h.
(coff_sym_is_thumb): Make static.
(arm_elf_make_msymbol_special): New function.
(arm_coff_make_msymbol_special): New function.
* config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition.
(MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise.
(coff_sym_is_thumb): Delete declaration.
(arm_elf_make_msymbol_special): Declare.
(arm_coff_make_msymbol_special): Declare.
(ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special.
(COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special.

22 years ago* arm-tdep.c (arm_software_single_step): ANSIfy function declaration.
rearnsha [Wed, 6 Feb 2002 13:12:12 +0000 (13:12 +0000)]
* arm-tdep.c (arm_software_single_step): ANSIfy function declaration.

22 years ago* gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
rearnsha [Wed, 6 Feb 2002 13:00:44 +0000 (13:00 +0000)]
* gdbarch.sh (PRINT_FLOAT_INFO): Add rule.
* gdbarch.c gdbarch.h: Regenerate.
* arch-utils.c (default_print_float_info): New function.
* arch-utils.h (default_print_float_info): Prototype it.
* infcmd.c (float_info): Call PRINT_FLOAT_INFO.
* doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated.
(PRINT_FLOAT_INFO): Document it.

* arm-tdep.c (arm_print_float_info): Renamed from arm_float_info.
* config/arm/tm-arm.h (FLOAT_INFO): Delete.
(PRINT_FLOAT_INFO): Define.

22 years agoRemove some extraneous conflict markers.
rearnsha [Wed, 6 Feb 2002 10:31:07 +0000 (10:31 +0000)]
Remove some extraneous conflict markers.

22 years ago2002-02-06 Pierre Muller <muller@ics.u-strasbg.fr>
muller [Wed, 6 Feb 2002 09:27:29 +0000 (09:27 +0000)]
2002-02-06  Pierre Muller  <muller@ics.u-strasbg.fr>

* win32-nat.c (_initialize_check_for_gdb_ini):
Add typecast to sprintf argument to suppress a warning.

22 years ago2002-02-05 Pierre Muller <muller@ics.u-strasbg.fr>
muller [Wed, 6 Feb 2002 09:14:50 +0000 (09:14 +0000)]
2002-02-05  Pierre Muller  <muller@ics.u-strasbg.fr>

win32-nat.c (last_sig): Changed type of variable to target_signal,
to allow easier handling of pass state.
(DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception,
that gives exception name and address.
(handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro
and set last_sig value to ourstatus->value.sig. Some missing
exceptions added.
(child_continue): Correctly report continue_status.
(get_child_debug_event,do_initial_child_stuff): Set last_sig to
TARGET_SIGNAL_0 (new default value).
(child_resume): consider sig argument passed to decide if
the exception should be passed to debuggee or not.

22 years ago* config/tc-sh.c (parse_at): Install the correct version of
aoliva [Wed, 6 Feb 2002 06:26:11 +0000 (06:26 +0000)]
* config/tc-sh.c (parse_at): Install the correct version of
2002-02-04's patch.

22 years ago* gas/sh/pic.d, gas/sh/pic.s: New test.
aoliva [Wed, 6 Feb 2002 06:18:26 +0000 (06:18 +0000)]
* gas/sh/pic.d, gas/sh/pic.s: New test.
* gas/sh/basic.exp: Run it.

22 years ago* config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
aoliva [Wed, 6 Feb 2002 05:34:34 +0000 (05:34 +0000)]
* config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
assume fixP->fx_subsy is non-NULL.

22 years ago* config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
aoliva [Wed, 6 Feb 2002 05:33:54 +0000 (05:33 +0000)]
* config/tc-sh.c (md_apply_fix3) <BFD_RELOC_32_PLT_PCREL>: Don't
assume fixP->fx_subsy is non-NULL.

22 years ago2002-02-05 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Wed, 6 Feb 2002 03:47:53 +0000 (03:47 +0000)]
2002-02-05  Elena Zannoni  <ezannoni@redhat.com>

        * generic/gdbtk-cmds.c (gdbtk_load_asm, gdbtk_print_asm): Use
        TARGET_PRINT_INSN instead of tm_print_insn.

22 years ago2002-02-05 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 6 Feb 2002 03:16:38 +0000 (03:16 +0000)]
2002-02-05  Michael Snyder  <msnyder@redhat.com>

* regcache.c (fetch_register): Call target_fetch_register
only if we don't call FETCH_PSEUDO_REGISTER.
(store_register): Call target_store_register only if we
don't call STORE_PSEUDO_REGISTER.

22 years ago2002-02-06 Ben Elliston <bje@redhat.com>
bje [Wed, 6 Feb 2002 01:25:43 +0000 (01:25 +0000)]
2002-02-06  Ben Elliston  <bje@redhat.com>

* angel.cxx (arm_angel): Initialise command_line correctly.
(do_get_cmdline): Use get_command_line().

22 years ago2002-02-04 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Wed, 6 Feb 2002 01:20:22 +0000 (01:20 +0000)]
2002-02-04  Elena Zannoni  <ezannoni@redhat.com>

* gdbarch.sh: Add definitions for COFF_MAKE_MSYMBOL_SPECIAL and
ELF_MAKE_MSYMBOL_SPECIAL.
* gdbarch.c, gdbarch.h: Regenerate.
* arch-utils.c (default_elf_make_msymbol_special,
        default_coff_make_msymbol_special): New functions.
* arch-utils.h (default_elf_make_msymbol_special,
        default_coff_make_msymbol_special): Export.
* elfread.c (elf_symtab_read): Compile use of
ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now
multiarched.
* coffread.c (coff_symtab_read): Ditto, for
COFF_MAKE_MSYMBOL_SPECIAL.

22 years ago2002-02-06 Ben Elliston <bje@redhat.com>
bje [Wed, 6 Feb 2002 00:52:29 +0000 (00:52 +0000)]
2002-02-06  Ben Elliston  <bje@redhat.com>

* families/Makefile.am (ACLOCAL_AMFLAGS): Define.

22 years ago*** empty log message ***
gdbadmin [Wed, 6 Feb 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* mi-regs.exp: Various cleanups for SPARC-only tests.
jimb [Tue, 5 Feb 2002 23:58:45 +0000 (23:58 +0000)]
* mi-regs.exp: Various cleanups for SPARC-only tests.
(test_breakpoints_creation_and_listing): Format of breakpoint
table has changed.
(sparc_register_tests): Expand floating-point number regexp to
recognize NaN values, too.  Replace ineffectual single backslash
before a hyphen with a double backslash.  Don't check the exact
numbers of the registers which have changed, since there's no way
to know which registers changed, exactly; just check that the
result is well-formed.
* mi0-regs.exp: (sparc_register_tests): Same as for
sparc_register_tests in mi-regs.exp.

22 years ago* mi-var-child.exp ("get children of struct_declarations", "get
jimb [Tue, 5 Feb 2002 23:56:45 +0000 (23:56 +0000)]
* mi-var-child.exp ("get children of struct_declarations", "get
children of struct_declarations.s2.u2.u1s2", "get children of
weird"): Tolerate argument types when they appear in function
types.  (Dwarf 2 includes prototype info; STABS does not.)
* mi0-var-child.exp: Same.

22 years ago* solib-svr4.c (svr4_truncate_ptr): New function.
jimb [Tue, 5 Feb 2002 23:28:12 +0000 (23:28 +0000)]
* solib-svr4.c (svr4_truncate_ptr): New function.
(svr4_relocate_section_addresses): Do the address arithmetic with
the appropriate truncation for target addresses, even when
CORE_ADDR is larger than a target address.

22 years agoDe-Cygnify libgui.
jimb [Tue, 5 Feb 2002 23:16:12 +0000 (23:16 +0000)]
De-Cygnify libgui.

* library/Makefile.am (guidir): Name dir `redhat', not `cygnus'.
* src/Makefile.am (guidir): Same.
* library/Makefile.in, src/Makefile.in: Regenerated.
* library/sendpr.tcl (itcl_class Sendpr): Update company name in
PR headers.
* src/paths.c: Rename environment variables CYGNUS_GUI_LIBRARY
and CYGNUS_IDE_LIBRARY to REDHAT_GUI_LIBRARY and
REDHAT_IDE_LIBRARY.  Name dir `redhat', not `cygnus'.

22 years agodaily update
amodra [Tue, 5 Feb 2002 23:00:06 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-05 Daniel Jacobowitz <drow@mvista.com>
drow [Tue, 5 Feb 2002 22:14:06 +0000 (22:14 +0000)]
2002-02-05  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/linux-low.c (mywait): Cast second argument of waitpid
        to (int *).

22 years ago2002-02-05 Daniel Jacobowitz <drow@mvista.com>
drow [Tue, 5 Feb 2002 22:01:48 +0000 (22:01 +0000)]
2002-02-05  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/linux-low.c (kill_inferior): Remove commented out
        code.

22 years ago2002-02-05 Daniel Jacobowitz <drow@mvista.com>
drow [Tue, 5 Feb 2002 21:41:29 +0000 (21:41 +0000)]
2002-02-05  Daniel Jacobowitz  <drow@mvista.com>

        * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX.

22 years ago* opcodes disassembler extension
fche [Tue, 5 Feb 2002 19:40:42 +0000 (19:40 +0000)]
* opcodes disassembler extension

[includes]
2002-02-04  Frank Ch. Eigler  <fche@redhat.com>

* dis-asm.h (disassemble_info): New field `insn_sets'.
(INIT_DISASSEMBLE_INFO): Clear it.

[opcodes]
2002-02-04  Frank Ch. Eigler  <fche@redhat.com>

* cgen-dis.in (print_insn_@arch@): Support disassemble_info.insn_sets.

22 years ago* mi-cmd-stack.c (list_args_or_locals): Move declaration of
jimb [Tue, 5 Feb 2002 19:28:36 +0000 (19:28 +0000)]
* mi-cmd-stack.c (list_args_or_locals): Move declaration of
print_me inside the loop body, so it gets re-initialized every
iteration.  The cases for the different symbol kinds leave
print_me unchanged if they don't want the symbol printed.

22 years ago2002-02-05 Daniel Jacobowitz <drow@mvista.com>
drow [Tue, 5 Feb 2002 19:09:31 +0000 (19:09 +0000)]
2002-02-05  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/linux-low.c: Remove unused include files.

22 years ago2002-02-05 Daniel Jacobowitz <drow@mvista.com>
drow [Tue, 5 Feb 2002 19:06:21 +0000 (19:06 +0000)]
2002-02-05  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE.
        (read_inferior_memory): Use it.
        (write_inferior_memory): Likewise.

22 years ago2002-02-05 Daniel Jacobowitz <drow@mvista.com>
drow [Tue, 5 Feb 2002 18:49:53 +0000 (18:49 +0000)]
2002-02-05  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/linux-low.c (create_inferior): Call strerror instead of
        grubbing through sys_errlist.

22 years ago2002-02-05 Daniel Jacobowitz <drow@mvista.com>
drow [Tue, 5 Feb 2002 18:44:12 +0000 (18:44 +0000)]
2002-02-05  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/linux-low.c: New file, copied exactly from low-linux.c.

22 years ago*** empty log message ***
msalter [Tue, 5 Feb 2002 18:13:21 +0000 (18:13 +0000)]
*** empty log message ***

22 years agoAdd eh stuff and .jcr.
msalter [Tue, 5 Feb 2002 18:12:23 +0000 (18:12 +0000)]
Add eh stuff and .jcr.

22 years agoAdd crti to startfile.
msalter [Tue, 5 Feb 2002 18:11:13 +0000 (18:11 +0000)]
Add crti to startfile.

22 years agoAdd crti to startfile.
msalter [Tue, 5 Feb 2002 18:10:21 +0000 (18:10 +0000)]
Add crti to startfile.

22 years agoAdd init/fini support.
msalter [Tue, 5 Feb 2002 18:09:18 +0000 (18:09 +0000)]
Add init/fini support.

22 years agomerge from gcc
dj [Tue, 5 Feb 2002 17:53:16 +0000 (17:53 +0000)]
merge from gcc

22 years agomerge from gcc
dj [Tue, 5 Feb 2002 17:53:03 +0000 (17:53 +0000)]
merge from gcc

22 years agoFix typo.
jjohnstn [Tue, 5 Feb 2002 17:17:28 +0000 (17:17 +0000)]
Fix typo.

22 years ago2002-02-05 Manik Raina <manik@cisco.com>
jjohnstn [Tue, 5 Feb 2002 17:14:32 +0000 (17:14 +0000)]
2002-02-05  Manik Raina <manik@cisco.com>

        * libc/misc/dprintf (parse_number): #if 0 unused function.
        * libc/stdlib/ldtoa.c (_ldcheck): Remove unused local variables
        s, p, k, and outstr.
        * libc/stdlib/dtoa.c (_dtoa_r): Initialize mlo.

22 years agoAdd top level libstdc++-v3 build include path,
nickc [Tue, 5 Feb 2002 17:01:56 +0000 (17:01 +0000)]
Add top level libstdc++-v3 build include path,

22 years agoUpdate copyright date.
brolley [Tue, 5 Feb 2002 16:36:48 +0000 (16:36 +0000)]
Update copyright date.

22 years ago2002-02-05 Dave Brolley <brolley@redhat.com>
brolley [Tue, 5 Feb 2002 16:33:02 +0000 (16:33 +0000)]
2002-02-05  Dave Brolley  <brolley@redhat.com>

* elfload.c (readElfFile): Obtain the load address from offset 24 for
elf64 and from offset 12 for elf32.

22 years agoModify previous patch so that it is only triggered for COFF format executables.
nickc [Tue, 5 Feb 2002 11:22:26 +0000 (11:22 +0000)]
Modify previous patch so that it is only triggered for COFF format executables.

22 years agoUpdated Turkish translations
nickc [Tue, 5 Feb 2002 10:25:56 +0000 (10:25 +0000)]
Updated Turkish translations

22 years ago2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr>
muller [Tue, 5 Feb 2002 08:04:20 +0000 (08:04 +0000)]
2002-02-04  Pierre Muller  <muller@ics.u-strasbg.fr>
          win32-nat.c (handle_exception): Handle Ctrl-Break exception.

22 years agoForgot to ci ChangeLog
hp [Tue, 5 Feb 2002 07:14:26 +0000 (07:14 +0000)]
Forgot to ci ChangeLog

22 years agoUpdate copyright
hp [Tue, 5 Feb 2002 07:12:38 +0000 (07:12 +0000)]
Update copyright

22 years ago * emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
hp [Tue, 5 Feb 2002 07:07:21 +0000 (07:07 +0000)]
* emultempl/hppaelf.em (hppaelf_layout_sections_again): Likewise.
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Likewise.

22 years ago * ldlang.c (lang_reset_memory_regions): Rename from
hp [Tue, 5 Feb 2002 06:52:15 +0000 (06:52 +0000)]
* ldlang.c (lang_reset_memory_regions): Rename from
reset_memory_regions.  Change all callers.  Make public.
* ldlang.h (lang_reset_memory_regions): Prototype.
* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Call
lang_reset_memory_regions before lang_size_sections.

22 years ago * ld-selective/keepdot.d, ld-selective/keepdot.ld,
hp [Tue, 5 Feb 2002 06:45:13 +0000 (06:45 +0000)]
* ld-selective/keepdot.d, ld-selective/keepdot.ld,
ld-selective/keepdot.s, ld-selective/keepdot0.d: New tests.
* ld-selective/sel-dump.exp: New, driver for run_dump_test:s.

22 years ago * config.guess: Import from master sources, rev 1.229.
bje [Tue, 5 Feb 2002 04:40:52 +0000 (04:40 +0000)]
* config.guess: Import from master sources, rev 1.229.
* config.sub: Import from master sources, rev 1.240.

22 years ago* cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
cagney [Tue, 5 Feb 2002 04:37:21 +0000 (04:37 +0000)]
* cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions.
(do_sfunc, set_cmd_sfunc): New functions.

* command.h (struct cmd_list_element): Add field func.
* cli/cli-decode.h (struct cmd_list_element): Ditto.
* command.h (set_cmd_sfunc, set_cmd_cfunc): Declare.
* cli/cli-decode.h: Ditto.

* cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc.
(help_all, help_cmd_list): Ditto.
(find_cmd, complete_on_cmdlist): Ditto.
* top.c (execute_command): Ditto.

* cli/cli-setshow.c (do_setshow_command): Call func instead of
function.sfunc.

* infcmd.c (notice_args_read): Fix function signature.

* cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc.
* cli/cli-decode.c (add_set_cmd): Ditto.
* utils.c (initialize_utils): Ditto.
* maint.c (_initialize_maint_cmds): Ditto.
* infrun.c (_initialize_infrun): Ditto.
* demangle.c (_initialize_demangler): Ditto.
* remote.c (add_packet_config_cmd): Ditto.
* mips-tdep.c (_initialize_mips_tdep): Ditto.
* cris-tdep.c (_initialize_cris_tdep): Ditto.
* proc-api.c (_initialize_proc_api): Ditto.
* kod.c (_initialize_kod): Ditto.
* valprint.c (_initialize_valprint): Ditto.
* top.c (init_main): Ditto.
* infcmd.c (_initialize_infcmd): Ditto.
* corefile.c (_initialize_core): Ditto.
* arm-tdep.c (_initialize_arm_tdep): Ditto.
* arch-utils.c (initialize_current_architecture): Ditto.
(_initialize_gdbarch_utils): Ditto.
* alpha-tdep.c (_initialize_alpha_tdep): Ditto.

* cli/cli-decode.c (add_cmd): Use set_cmd_cfunc.
* wince.c (_initialize_inftarg): Ditto.
* symfile.c (_initialize_symfile): Ditto.
* mips-tdep.c (_initialize_mips_tdep): Ditto.
* language.c (_initialize_language): Ditto.
* arc-tdep.c (_initialize_arc_tdep): Ditto.

22 years ago2002-02-04 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 5 Feb 2002 03:44:22 +0000 (03:44 +0000)]
2002-02-04  Michael Snyder  <msnyder@redhat.com>

* gdb.base/ovlymgr.c  (ovly_copy): Generalize for targets
          other than d10v and m32r.

22 years ago * archures (bfd_mach_ppc64): Define.
amodra [Tue, 5 Feb 2002 03:35:13 +0000 (03:35 +0000)]
* archures (bfd_mach_ppc64): Define.
(bfd_powerpc_arch): Rename to bfd_powerpc_archs.
(bfd_powerpc_arch): Define.
* bfd-in2.h: Regenerate.
* cpu-powerpc.c (arch_info_struct): Rename to bfd_powerpc_archs.
(bfd_powerpc_arch): Move to tail of bfd_powerpc_archs.
(bfd_powerpc_archs): Add default powerpc64 arch.

* gas/ppc/test1elf64.d: Tweak arch name.

22 years ago2002-01-14 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 5 Feb 2002 01:15:51 +0000 (01:15 +0000)]
2002-01-14  Michael Snyder  <msnyder@redhat.com>

* gdb.base/gcore.exp: Remove extra debugging output.

22 years ago2002-02-04 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 5 Feb 2002 00:29:31 +0000 (00:29 +0000)]
2002-02-04  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Remove advertising clause from
        Berkeley and Red Hat licenses.

22 years ago * elf64-ppc.c (ppc64_elf_size_dynamic_sections): Check for relocs
amodra [Tue, 5 Feb 2002 00:00:23 +0000 (00:00 +0000)]
* elf64-ppc.c (ppc64_elf_size_dynamic_sections): Check for relocs
against section syms in readonly sections.  Don't do the global
sym check if we find one.
* elf64-s390.c (elf_s390_size_dynamic_sections): Likewise.
* elf32-hppa.c (elf32_hppa_size_dynamic_sections): Likewise.
* elf32-s390.c (elf_s390_size_dynamic_sections): Likewise.
(elf_s390_grok_prstatus): Add missing prototype.

22 years ago*** empty log message ***
gdbadmin [Tue, 5 Feb 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * src/tkCanvEdge.c (CreateEdge, EdgeCoords, ConfigureEdge):
irox [Mon, 4 Feb 2002 23:40:00 +0000 (23:40 +0000)]
* src/tkCanvEdge.c (CreateEdge, EdgeCoords, ConfigureEdge):
Objectify functions to use Tcl_Obj instead of char**.

* src/tkGraphCanvas.c: Cut and paste parts of the new
Tcl8.3 tagsearch code in to replace old.  Rewrite much
of the code to use the new tagsearch features.

22 years ago2002-02-04 Michael Snyder <msnyder@redhat.com>
msnyder [Mon, 4 Feb 2002 23:19:30 +0000 (23:19 +0000)]
2002-02-04  Michael Snyder  <msnyder@redhat.com>

* memattr.c (_initialize_mem): Elaborate the help for 'mem' command.

22 years agodaily update
amodra [Mon, 4 Feb 2002 23:00:06 +0000 (23:00 +0000)]
daily update

22 years ago2002-02-04 Daniel Jacobowitz <drow@mvista.com>
drow [Mon, 4 Feb 2002 22:49:17 +0000 (22:49 +0000)]
2002-02-04  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS.
        Add rules for building the register data files.

22 years ago2002-02-04 Daniel Jacobowitz <drow@mvista.com>
drow [Mon, 4 Feb 2002 22:45:46 +0000 (22:45 +0000)]
2002-02-04  Daniel Jacobowitz  <drow@mvista.com>

        * regformats/regdat.sh: Add braces to the definition of
        expedite_regs_${arch}.

22 years ago2002-02-04 Daniel Jacobowitz <drow@mvista.com>
drow [Mon, 4 Feb 2002 22:41:36 +0000 (22:41 +0000)]
2002-02-04  Daniel Jacobowitz  <drow@mvista.com>

        * regformats/regdef.h (struct reg): Add comment describing the
        requirements for offset and size fields.

22 years ago * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
schwab [Mon, 4 Feb 2002 19:11:14 +0000 (19:11 +0000)]
* config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX.
* config/ia64/linux.mt: Don't set GDBSERVER_LIBS.

22 years ago*** empty log message ***
gdbadmin [Mon, 4 Feb 2002 19:10:41 +0000 (19:10 +0000)]
*** empty log message ***