aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-10-13bfd/H.J. Lu9-16/+149
2003-10-10 H.J. Lu <hongjiu.lu@intel.com> * bfd-in.h (bfd_elf32_ia64_after_parse): New prototype. (bfd_elf64_ia64_after_parse): Likewise. * bfd-in2.h: Regenerated. * elfxx-ia64.c (oor_ip): New. (oor_branch_size): Likewise. (bfd_elfNN_ia64_after_parse): Likewise. (elfNN_ia64_relax_section): Use oor_ip if oor_branch_size equals sizeof (oor_ip). ld/ 2003-10-10 H.J. Lu <hongjiu.lu@intel.com> * Makefile.am (eelf64_ia64.c): Also depend on $(srcdir)/emultempl/ia64elf.em. * Makefile.in: Regenerated. * emulparams/elf64_ia64.sh (EXTRA_EM_FILE): Set to ia64elf. * emultempl/ia64elf.em: New.
2003-10-13 * gdb.base/call-rt-st.c (struct bit_flags_char_t): New bitfieldCorinna Vinschen3-6/+187
type, based on char type. (struct bit_flags_short_t): New bitfield type, based on short type. (init_bit_flags_char): New fuction. (init_bit_flags_short): Ditto. (print_bit_flags_char): Ditto. (print_bit_flags_short): Ditto. (main): Add handling for bit_flags_char_t and bit_flags_short_t.
2003-10-13 * elf64-sh64.c (sh_elf64_relocate_section): Tidy up for theKaz Kojima2-2/+9
renumbering of some relocation numbers.
2003-10-13[ld]Kaz Kojima46-806/+890
* emulparams/shelf32_nbsd.sh (OTHER_SECTIONS): Redefine. [ld/testsuite] * ld-sh/rd-sh.exp (LDFLAGS): Define appropriately for each sh64/sh5 targets. * ld-sh/sh.exp: Don't do relaxing test for sh64*-*-* and sh5*-*-* targets. * ld-sh/sh64/relax.exp (emul32): Set to shelf32_nbsd for netbsd. * ld-sh/sh64/relfail.exp: Set parameters for netbsd. * ld-sh/sh64/sh64.exp: Skip this for netbsd. Trim the section numbers for crangerel1 and crengerel2 tests. * ld-sh/sh64/abi32.sd: Update. * ld-sh/sh64/abi32.xd: Likewise. * ld-sh/sh64/abi64.sd: Likewise. * ld-sh/sh64/abi64.xd: Likewise. * ld-sh/sh64/abixx-noexp.sd: Likewise. * ld-sh/sh64/cmpct1.sd: Likewise. * ld-sh/sh64/cmpct1.xd: Likewise. * ld-sh/sh64/crange1.rd: Likewise. * ld-sh/sh64/crange2.rd: Likewise. * ld-sh/sh64/crange3-cmpct.rd: Likewise. * ld-sh/sh64/crange3-media.rd: Likewise. * ld-sh/sh64/crange3.rd: Likewise. * ld-sh/sh64/crangerel1.rd: Likewise. * ld-sh/sh64/crangerel2.rd: Likewise. * ld-sh/sh64/dlsection.sd: Likewise. * ld-sh/sh64/endian.sbd: Likewise. * ld-sh/sh64/endian.sld: Likewise. * ld-sh/sh64/gotplt.d: Likewise. * ld-sh/sh64/init-cmpct.d: Likewise. * ld-sh/sh64/init-media.d: Likewise. * ld-sh/sh64/init.s: Align functions. * ld-sh/sh64/init64.d: Update. * ld-sh/sh64/mix1-noexp.sd: Likewise. * ld-sh/sh64/mix1.sd: Likewise. * ld-sh/sh64/mix1.xd: Likewise. * ld-sh/sh64/mix2-noexp.sd: Likewise. * ld-sh/sh64/mix2.sd: Likewise. * ld-sh/sh64/mix2.xd:Likewise. * ld-sh/sh64/rel32.xd: Likewise. * ld-sh/sh64/rel64.xd: Likewise. * ld-sh/sh64/reldl32.rd: Likewise. * ld-sh/sh64/reldl64.rd: Likewise. * ld-sh/sh64/shdl32.xd: Update. * ld-sh/sh64/shdl64.sd: Likewise. * ld-sh/sh64/shdl64.xd: Likewise. * ld-sh/shared-1.d: Add -z nocombreloc to ld option. Update. * ld-sh/sub2l-1.d: Make file format match with elf32-sh.*. * ld-sh/weak1.d: Likewise.
2003-10-13daily updateAlan Modra1-1/+1
2003-10-13*** empty log message ***gdbadmin1-1/+1
2003-10-12*** empty log message ***gdbadmin1-1/+1
2003-10-12daily updateAlan Modra1-1/+1
2003-10-11 * config/tc-sh.h (sh_coff_reloc_mangle): Delete an extraKaz Kojima2-1/+6
parenthesis.
2003-10-112003-10-11 Michael Chastain <mec@shout.net>Michael Chastain2-1/+5
* gdb.base/call-rt-st.exp: Update copyright year.
2003-10-11* i386bsd-tdep.c (i386bsd_init_abi): Use ARRAY_SIZE to initializeMark Kettenis2-2/+5
TDEP->sc_num_regs.
2003-10-11* i386fbsd-tdep.c: New file.Mark Kettenis6-105/+201
(i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi, i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Move here from i386bsd-tdep.c. (_initialize_i386fbsd_tdep): New function. (i386fbsd_r_reg_offset, i386fbsd4_r_reg_offset): New varibles. (i386fbsdaout_init_abi): Initialize TDEP->gregset_reg_offset, TDEP->gregset_num_regs, TDEP->sizeof_gregset and TDEP->sizeof_fpregset. Use ARRAY_SIZE to initialize TDEP->sc_num_regs. (i386fbsd4_init_abi): Initialize TDEP->gregset_reg_offset, TDEP->gregset_num_regs and TDEP->sizeof_gregset. Use ARRAY_SIZE to initialize TDEP->sc_num_regs. * i386bsd-tdep.c (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, i386fbsd_sc_reg_offset, i386fbsdaout_init_abi, i386fbsd_init_abi, i386fbsd4_sc_reg_offset, i386fbsd4_init_abi): Remove. (_initialize_i386bsd_tdep): Don't register FreeBSD a.out and FreeBSD ELF OS/ABI's here. * Makefile.in (ALLDEPFILES): Add i386fbsd-tdep.c. (i386fbsd-tdep.o): New target. * config/i386/fbsd.mt (TDEPFILES): Add i386fbsd-tdep.o. * config/i386/fbsd64.mt (TDEPFILES): Add i386fbsd-tdep.o.
2003-10-11* amd64fbsd-tdep.c (amd64fbsd_r_reg_offset): New variable.Mark Kettenis2-1/+31
(amd64fbsd_init_abi): Set TDEP->gregset_reg_offset, TDEP->gregset_num_regs and TDEP->sizeof_gregset. Use ARRAY_SIZE in initialization of TDEP->sc_num_regs.
2003-10-11* x86-64-tdep.c (x86_64_regset_from_core_section): New function.Mark Kettenis2-0/+34
(x86_64_init_abi): Initialize regset_from_core_section if appropriate.
2003-10-11* i386-tdep.c (i386_regset_from_core_section): New function.Mark Kettenis3-0/+52
(i386_gdbarch_init): Initialize regset_from_core_section if appropriate. * i386-tdep.h (i386_regset_from_core_section): New declaration.
2003-10-11 * config/tc-sh.c: Convert to ISO C90. Remove unnecessaryKaz Kojima5-353/+182
prototypes and casts. * config/tc-sh.h: Likewise. * config/tc-sh64.c: Likewise. * config/tc-sh64.h: Likewise.
2003-10-11* i386-tdep.h (struct regset): Declare opaque.Mark Kettenis2-0/+3
2003-10-11Fix bugus mail addressAlan Modra1-34/+34
2003-10-11 * bfd.texinfo: Remove spurious backslash.Alan Modra2-1/+5
2003-10-11 * coff-sh.c: Move definition of MAP and guard more code withAlan Modra2-8/+8
COFF_IMAGE_WITH_PE.
2003-10-11* gdbarch.sh (regset_from_core_section): New method.Mark Kettenis4-0/+54
(struct regset): Declare opaque. * gdbarch.c, gdbarch.h: Regenerated.
2003-10-11 * interp.c (sim_load): Don't refer directly to _cooked_size and vma;Alan Modra2-3/+10
Use bfd_section_size and bfd_get_section_vma.
2003-10-11 * hppa-tdep.c (hppa_in_solib_call_trampoline): Don't refer directly toAlan Modra2-2/+9
_cooked_size and vma; Use bfd_section_size and bfd_get_section_vma. Correct test for pc within section.
2003-10-11 * corefile.c (core_create_function_syms): Don't refer directly toAlan Modra2-4/+15
_cooked_size and vma; Use bfd_section_size and bfd_get_section_vma.
2003-10-11Oops. missed a line.Alan Modra1-0/+1
2003-10-11 * section.c (bfd_get_section_size_before_reloc): Ignore reloc_done.Alan Modra3-4/+6
* bfd-in2.h: Regenerate.
2003-10-11* gdbarch.sh: Remove trailing whitepsace from comments.Mark Kettenis2-2/+6
2003-10-11 * ld-scripts/defined3.d, ld-scripts/defined3.t: New test.Hans-Peter Nilsson4-0/+46
* ld-scripts/defined.exp: Run defined3.
2003-10-11 * ld.texinfo (Builtin Functions) <DEFINED>: Say that only symbolsHans-Peter Nilsson5-17/+184
defined before the statement using DEFINED yield 1. * ldexp.c (fold_name) <case DEFINED>: In lang_first_phase_enum, call lang_track_definedness on symbol. In subsequent phases, use lang_symbol_definition_iteration and lang_statement_iteration to check whether the symbol was defined before the current statement. (exp_fold_tree) <case etree_assign et al>: Call lang_update_definedness before updating symbol type when setting symbol. * ldlang.c (lang_definedness_table): New variable. (lang_definedness_newfunc, lang_track_definedness) (lang_symbol_definition_iteration, lang_update_definedness): New functions. (lang_init): Initialize lang_definedness_table and lang_statement_iteration. (lang_finish): Destroy bfd_hash_table_free. (lang_size_sections): Increment lang_statement_iteration. (lang_do_assignments_1): New function with former lang_do_assignments contents. Change recursive calls to call this function. (lang_do_assignments): Evacuate contents. Increment lang_statement_iteration, then just call lang_do_assignments_1. * ldlang.h (struct lang_definedness_hash_entry) (lang_statement_iteration, lang_track_definedness) (lang_symbol_definition_iteration, lang_update_definedness): Declare.
2003-10-11.Roland McGrath1-78/+86
2003-10-112003-10-08 Roland McGrath <roland@redhat.com>Roland McGrath1-44/+61
* gcore.c (make_mem_sec): Function removed, folded into ... (gcore_create_callback): ... here. To omit a section, clear its SEC_LOAD bit rather than zeroing its size. Omit read-only sections only if they correspond to a known disk file. (gcore_copy_callback): Ignore sections without SEC_LOAD flag set.
2003-10-11daily updateAlan Modra1-1/+1
2003-10-11*** empty log message ***gdbadmin1-1/+1
2003-10-102003-06-03 Michael Snyder <msnyder@redhat.com>Michael Snyder1-1/+2
and Bernd Schmidt <bernds@redhat.com> and Alexandre Oliva <aoliva@redhat.com> * disassemble.c (disassembler): Add support for h8300sx.
2003-10-102003-10-10 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+5
* d10v-tdep.c: Fix typo in comment.
2003-10-102003-10-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-108/+294
* rs6000-tdep.c (e500_store_return_value): Delete function. (e500_extract_return_value): Delete function. (rs6000_gdbarch_init): When SYSV, set "extract_return_value" and "restore_return_value" to "ppc_sysv_abi_extract_return_value" and "ppc_sysv_abi_restore_return_value" where applicable. * ppc-tdep.h: (ppc_sysv_abi_store_return_value): Declare. (ppc_sysv_abi_extract_return_value): Declare. (ppc_sysv_abi_broken_store_return_value): Declare. (ppc_sysv_abi_broken_extract_return_value): Declare. (ppc_sysv_abi_broken_use_struct_convention:) Delete declaration. * ppc-sysv-tdep.c (return_value_convention): Move definition to start of file. (do_ppc_sysv_return_value): New function. (ppc_sysv_abi_extract_return_value): New function. (ppc_sysv_abi_store_return_value): New function. (ppc_sysv_abi_broken_extract_return_value): New function. (ppc_sysv_abi_broken_store_return_value): New function. (ppc_sysv_abi_use_struct_convention): Call do_ppc_sysv_return_value.
2003-10-10 * blockframe.c (inside_main_func): No longer use symbol_lookup()Joel Brobecker2-6/+22
to lookup the main function symbol.
2003-10-10 * sh-tdep.c (sh_treat_as_flt_p): New function to recognize floatCorinna Vinschen2-17/+76
types correctly. (sh_push_dummy_call_fpu): Fix argument passing rules. (sh3e_sh4_extract_return_value): Call sh_treat_as_flt_p to recognize float types. (sh3e_sh4_store_return_value): Ditto.
2003-10-102003-10-10 Dave Brolley <brolley@redhat.com>Dave Brolley3-48/+53
* gas/frv/allinsn.s: Use preoperly aligned registers. * gas/frv/allinsn.d: Update expected results.
2003-10-102003-10-10 Dave Brolley <brolley@redhat.com>Dave Brolley5-10/+99
* sim/frv/testutils.inc (or_gr_immed): New macro. * sim/frv/fp_exception-fr550.cgs: Write insns using unaligned registers into the program in order to cause the required exceptions. * sim/frv/fp_exception.cgs: Ditto. * sim/frv/regalign.cgs: Ditto.
2003-10-102003-10-10 Dave Brolley <brolley@redhat.com>Dave Brolley3-67/+18
* cpu.h, sem.c: Regenerate.
2003-10-102003-10-10 Dave Brolley <brolley@redhat.com>Dave Brolley5-74/+67
* frv-asm.c,frv-desc.c,frv-opc.c: Regenerated.
2003-10-102003-10-10 Dave Brolley <brolley@redhat.com>Dave Brolley2-19/+45
* frv.cpu (dnpmop): New p-macro. (GRdoublek): Use dnpmop. (CPRdoublek, FRdoublei, FRdoublej, FRdoublek): Ditto. (store-double-r-r): Use (.sym regtype doublek). (r-store-double): Ditto. (store-double-r-r-u): Ditto. (conditional-store-double): Ditto. (conditional-store-double-u): Ditto. (store-double-r-simm): Ditto. (fmovs): Assign to UNIT FMALL.
2003-10-102003-10-10 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+16
* sh-tdep.c (sh_use_struct_convention): Clarify one case in comment.
2003-10-10 * sh-tdep.c (sh_use_struct_convention): Clean up to have aCorinna Vinschen2-2/+29
more readable code. Accomodate passing of bitfields.
2003-10-102003-10-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-2/+311
* Makefile.in (ppc-sysv-tdep.o): Add $(gdb_assert_h). * rs6000-tdep.c (rs6000_gdbarch_init): When 64 bit SysV ABI, set push_dummy_call to ppc64_sysv_abi_push_dummy_call. * ppc-sysv-tdep.c: Include "gdb_assert.h". (ppc64_sysv_abi_push_dummy_call): New function. (ppc64_sysv_abi_broken_push_dummy_call): New function. * ppc-tdep.h (ppc64_sysv_abi_push_dummy_call): Declare. (ppc64_sysv_abi_broken_push_dummy_call): Declare.
2003-10-102003-10-10 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-10/+16
* Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. * doc/Makefile.in: Likewise.
2003-10-102003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>Kazuhiro Inaoka21-37/+60
* NEWS: Replace "Hitachi" and "Mitsubishi" with "Renesas". * README: Ditto. * d10v-tdep.c: Ditto. * h8300-tdep.c: Ditto. * remote-e7000.c: Ditto. * remote-hms.c: Ditto. * ser-e7kpc.c: Ditto. * sh-stub.c: Ditto. * sh-tdep.c: Ditto. * sh-tdep.h: Ditto. * sh3-rom.c: Ditto. * sh64-tdep.c: Ditto. * top.c: Ditto. * wince.c: Ditto. * config/d10v/d10v.mt: Ditto. * config/sh/embed.mt: Ditto. * config/sh/linux.mt: Ditto. * config/sh/tm-linux.h: Ditto. * config/sh/tm-sh.h: Ditto. * config/sh/wince.mt: Ditto.
2003-10-102003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>Kazuhiro Inaoka3-46/+51
* gdb.texinfo: Replace "Hitachi" and "Mitsubishi" with "Renesas". * gdbint.texinfo: Ditto.
2003-10-102003-10-10 Kei Sakamoto <sakamoto.kei@renesas.com>Kazuhiro Inaoka3-2/+7
* config/hmsirom.exp: Replace "Hitachi" with "Renesas". * gdb.disasm/sh3.s: Ditto.