aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-05-09 * elflink.c (_bfd_elf_link_create_dynamic_sections): Move fromAlan Modra33-2260/+2323
elflink.h. Replace LOG_FILE_ALIGN with bed->s->log_file_align. (_bfd_elf_create_dynamic_sections): Use bed->s->log_file_align. (bfd_elf_record_link_assignment): Move from elflink.h. (_bfd_elf_merge_symbol): Likewise. (_bfd_elf_add_default_symbol): Likewise. (_bfd_elf_export_symbol): Likewise. (_bfd_elf_link_find_version_dependencies): Likewise. (_bfd_elf_link_assign_sym_version): Likewise. (_bfd_elf_link_read_relocs): Likewise. (_bfd_elf_link_size_reloc_section): Likewise. (_bfd_elf_fix_symbol_flags): Likewise. (_bfd_elf_adjust_dynamic_symbol): Likewise. (_bfd_elf_link_sec_merge_syms): Likewise. (elf_link_read_relocs_from_section): Likewise. Use bed->s->sizeof_rel and bed->s->sizeof_rela. (_bfd_elf_link_output_relocs): Likewise. * elf-bfd.h (struct elf_size_info): Rename file_align to log_file_align. (struct elf_info_failed): Move from elflink.h. (struct elf_assign_sym_version_info): Likewise. (struct elf_find_verdep_info): Likewise. (_bfd_elf_create_dynamic_sections): Delete duplicate declaration. (_bfd_elf_merge_symbol, _bfd_elf_add_default_symbol, _bfd_elf_export_symbol, _bfd_elf_link_find_version_dependencies, _bfd_elf_link_assign_sym_version, _bfd_elf_link_create_dynamic_sections, _bfd_elf_link_read_relocs, _bfd_elf_link_size_reloc_section, _bfd_elf_link_output_relocs, _bfd_elf_fix_symbol_flags, _bfd_elf_adjust_dynamic_symbol, _bfd_elf_link_sec_merge_syms): Declare. (bfd_elf32_link_create_dynamic_sections): Don't declare. (_bfd_elf32_link_read_relocs): Likewise. (bfd_elf64_link_create_dynamic_sections): Likewise. (_bfd_elf64_link_read_relocs): Likewise. * elflink.h: Move lots o' stuff elsewhere. * bfd-in.h (bfd_elf32_record_link_assignment): Don't declare. (bfd_elf64_record_link_assignment): Likewise. (bfd_elf_record_link_assignment): Declare. * bfd-in2.h: Regenerate. * elfcode.h (elf_link_create_dynamic_sections): Don't declare. (NAME(_bfd_elf,size_info)): Adjust for log_file_align. * elf.c (_bfd_elf_init_reloc_shdr): Adjust for bed->s->log_file_align. (assign_file_positions_for_segments): Likewise. (assign_file_positions_except_relocs): Likewise. (swap_out_syms, elfcore_write_note): Likewise. * elf-m10200.c: Adjust for changed function names. * elf-m10300.c: Likewise. * elf32-arm.h: Likewise. * elf32-h8300.c: Likewise. * elf32-hppa.c: Likewise. * elf32-ip2k.c: Likewise. * elf32-m32r.c: Likewise. * elf32-m68hc11.c: Likewise. * elf32-m68hc1x.c: Likewise. * elf32-m68k.c: Likewise. * elf32-mips.c: Likewise. * elf32-ppc.c: Likewise. * elf32-sh.c: Likewise. * elf32-v850.c: Likewise. * elf32-xtensa.c: Likewise. * elf64-alpha.c: Likewise. * elf64-hppa.c: Likewise. * elf64-mmix.c: Likewise. * elf64-ppc.c: Likewise. * elf64-sh64.c: Likewise. * elfxx-ia64.c: Likewise. * elfxx-mips.c: Likewise. (MIPS_ELF_LOG_FILE_ALIGN): Use log_file_align. * elf64-alpha.c (alpha_elf_size_info): Adjust for log_file_align. * elf64-hppa.c (hppa64_elf_size_info): Likewise. * elf64-mips.c (mips_elf64_size_info): Likewise. * elf64-s390.c (s390_elf64_size_info): Likewise. * elf64-sparc.c (sparc64_elf_size_info): Likewise.
2003-05-09daily updateAlan Modra1-1/+1
2003-05-09*** empty log message ***gdbadmin1-1/+1
2003-05-082003-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney20-65/+58
* regcache.h (max_register_size): Delete declaration. * regcache.c (max_register_size): Delete function. (struct regcache_descr): Delete field "max_register_size". (init_regcache_descr, init_legacy_regcache_descr): Assert that all registers fit in MAX_REGISTER_SIZE. (regcache_save): Replace max_register_size with MAX_REGISTER_SIZE. (regcache_restore, regcache_xfer_part, regcache_dump): Ditto. * thread-db.c: Replace max_register_size with MAX_REGISTER_SIZE. * sh-tdep.c, rom68k-rom.c, remote-sim.c, remote-mips.c: Ditto. * remote-e7000.c, monitor.c, mipsv4-nat.c, mips-nat.c: Ditto. * m68klinux-nat.c, lynx-nat.c, irix4-nat.c: Ditto. * hpux-thread.c, hppah-nat.c, hppab-nat.c, hppa-tdep.c: Ditto. * dve3900-rom.c, hppa-tdep.c: Ditto.
2003-05-082003-05-08 David Carlton <carlton@math.stanford.edu>David Carlton2-1/+5
* valops.c (push_word): Fix typo.
2003-05-08* gdb.texinfo (Dump/Restore Files): Update documentation forJim Blandy2-53/+51
'dump', 'append', and 'restore': note that format argument is optional; simplify presentation of the command variants; and be more precise about the formats.
2003-05-082003-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney32-118/+111
* gdbarch.sh: Delete references to MAX_REGISTER_RAW_SIZE. * gdbarch.h: Re-generate. * defs.h (MAX_REGISTER_RAW_SIZE): Delete macro. (legacy_max_register_raw_size): Delete declaration. * regcache.c (legacy_max_register_raw_size): Delete function. * valops.c: Replace MAX_REGISTER_RAW_SIZE with MAX_REGISTER_SIZE. * target.c, stack.c, sparc-tdep.c, sh-tdep.c: Update. * rs6000-tdep.c, rs6000-nat.c, remote.c, remote-sim.c: Update. * remote-rdp.c, remote-array.c, regcache.c: Update. * ppc-linux-nat.c, monitor.c, mn10300-tdep.c: Update. * mips-tdep.c, mips-linux-tdep.c, m68klinux-nat.c: Update. * infptrace.c, ia64-tdep.c, i386-tdep.c, frame.c: Update. * findvar.c, dwarf2cfi.c: Update. Index: tui/ChangeLog 2003-05-08 Andrew Cagney <cagney@redhat.com> * tuiRegs.c: Use MAX_REGISTER_SIZE instead of MAX_REGISTER_RAW_SIZE. Index: mi/ChangeLog 2003-05-08 Andrew Cagney <cagney@redhat.com> * mi-main.c (register_changed_p): Use MAX_REGISTER_SIZE instead of MAX_REGISTER_RAW_SIZE.
2003-05-082003-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-34/+41
* mips-tdep.c (read_signed_register): New function, moved to here from "regcache.c". (read_signed_register_pid): Ditto. * regcache.c (read_signed_register_pid): Delete function, moved to "mips-tdep.c". (read_signed_register): Ditto. * regcache.h (read_signed_register): Delete declaration. (read_signed_register_pid): Delete declaration.
2003-05-082003-05-08 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+7
* elflink.h (elf_add_default_symbol): After skipping the unversioned symbol, go to non-default one.
2003-05-082003-05-08 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu4-0/+14
* ld-elfvers/vers.exp: Add vers27d4 and vers27d5 to test versioned reference for hidden symbol. * ld-elfvers/vers27d4.dsym: New file. * ld-elfvers/vers27d4.ver: Likewise.
2003-05-082003-05-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-5/+15
* gdb.threads/schedlock.exp: Remove assumption that all threads will run in a particular small time slice. Also ensure we break in one of the child threads rather than the main thread.
2003-05-082003-05-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney11-64/+53
* gdbarch.sh: Add comments on MAX_REGISTER_SIZE. * gdbarch.h: Re-generate. * defs.h (MAX_REGISTER_VIRTUAL_SIZE): Delete macro. (legacy_max_register_virtual_size): Delete declaration. * infcmd.c (default_print_registers_info): Use MAX_REGISTER_SIZE. * d10v-tdep.c (d10v_print_registers_info): Ditto. * tracepoint.c (memrange_sortmerge): Ditto. * sparc-tdep.c (sparc_print_registers): Ditto. * regcache.c (legacy_max_register_virtual_size): Delete function.
2003-05-08 * fork-child.c (escape_bang_in_quoted_argument): New function.Joel Brobecker2-1/+31
(fork_inferior): Escape '!' characters in quoted arguments only when needed.
2003-05-08 * dwarf2read.c (set_cu_language): Set the language to "minimal" ifJoel Brobecker2-1/+6
the language of the CU is not currently supported by GDB.
2003-05-08 * defs.h (language): Add language_minimal enum value.Joel Brobecker3-1/+46
* c-lang.c (minimal_language_defn): New language definition. (_initialize_c_language): Add the new minimal language to the list of languages known to GDB.
2003-05-08 * frame.c (get_frame_type): Don't attempt to lazily initializeKevin Buettner2-1/+11
frame's unwinder for legacy frames.
2003-05-082003-05-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-3/+19
* elfxx-ia64.c (_bfd_elf_link_hash_hide_symbol): Also clear the want_plt field. (elfNN_ia64_relocate_section): Don't do dynamic symbol lookup for symbols with non-default visibility.
2003-05-082003-05-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+17
* ld-elfvers/vers27d3.c (__start): New. (start): New.
2003-05-082003-05-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-7/+40
* elflink.h (elf_link_check_versioned_symbol): Also handle the case that a DSO references a hidden symbol which may be satisfied by a versioned symbol in another DSO. (elf_link_output_extsym): Check versioned definition for hidden symbol referenced by a DSO.
2003-05-082003-05-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu8-4/+60
* ld-elfvers/vers.exp (build_binary): Support build exeutable. (build_binary): Renamed from ... (build_vers_lib): This. (build_vers_lib_no_pic): Updated. (build_vers_lib_pic): Likewise. Add vers27d1, vers27d2 and vers27d3 to test versioned definition for hidden symbol referenced by a DSO. * ld-elfvers/vers27d.dsym: New file. * ld-elfvers/vers27d.sym: Likewise. * ld-elfvers/vers27d.ver: Likewise. * ld-elfvers/vers27d1.c: Likewise. * ld-elfvers/vers27d2.c: Likewise. * ld-elfvers/vers27d3.c: Likewise.
2003-05-082003-05-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-2/+12
* ia64-tdep.c (ia64_remote_translate_xfer_address): Add "gdbarch" and "regcache" parameters. * avr-tdep.c (avr_remote_translate_xfer_address): Ditto.
2003-05-08*** empty log message ***gdbadmin1-1/+1
2003-05-08daily updateAlan Modra1-1/+1
2003-05-072003-05-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-4/+10
* dwarf2read.c (dwarf_decode_lines): Only use output of check_cu_functions() when calling record_line(). Do not update the current address.
2003-05-072003-05-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-4/+5
* fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR code.
2003-05-07Add support for assembly source testing on the s390x.Jim Blandy3-0/+76
* gdb.asm/asm-source.exp: Add a case for the s390x-*-* architecture. * gdb.asm/s390x.inc: New file.
2003-05-07* gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not aJim Blandy2-52/+60
succession of 'if' statements.
2003-05-07gdb/ChangeLog:Jim Blandy9-47/+38
Rename commands 'maint list symtabs' and 'maint list psymtabs' to 'maint info symtabs' and 'maint info psymtabs'. * symmisc.c (maintenance_info_symtabs, maintenance_info_psymtabs): Renamed from maintenance_list_symtabs and maintenance_list_psymtabs. * symtab.h (maintenance_info_symtabs, maintenance_info_psymtabs): Declarations updated. * maint.c (maintenance_list_command): Delete. (_initialize_maint_cmds): Update calls to add_cmd. * gdbcmd.h (maintenancelistlist): Delete declaration. * cli/cli-cmds.c (maintenancelistlist): Delete. (init_cmd_lists): Don't initialize it. * cli/cli-cmds.h (maintenancelistlist): Delete declaration. gdb/doc/ChangeLog: * gdb.texinfo (Symbols): Update documentation: 'maint list symtabs' and 'maint list psymtabs' have been renamed 'maint info symtabs' and 'maint info psymtabs'.
2003-05-07s/burtle/iterativeJason Merrill4-6/+6
2003-05-07gas/H.J. Lu7-8/+260
2003-05-07 H.J. Lu <hongjiu.lu@intel.com> * config/tc-ia64.c (alias_hash): New. (alias_name_hash): New. (secalias_hash): New. (secalias_name_hash): New. (md_pseudo_table): Add "secalias". (md_begin): Initialize alias_hash, alias_name_hash, secalias_hash and secalias_name_hash. (struct alias): New. (dot_alias): Implement .alias and .secalias directives. (do_alias): New. (ia64_adjust_symtab): New. (do_secalias): New. (ia64_frob_file): New. * config/tc-ia64.h (ia64_adjust_symtab): New. (tc_adjust_symtab): Defined. (ia64_frob_file): New. (tc_frob_file): Defined. gas/testsuite/ 2003-05-07 H.J. Lu <hongjiu.lu@intel.com> * gas/ia64/ia64.exp: Add alias. * gas/ia64/alias.s: New. * gas/ia64/alias.d: Likewise.
2003-05-07Index: gdb/ChangeLogAndrew Cagney11-85/+115
2003-05-07 Andrew Cagney <cagney@redhat.com> * d10v-tdep.c (remote_d10v_translate_xfer_address): Add "regcache". (d10v_print_registers_info): Update. (d10v_dmap_register, d10v_imap_register): Delete functions. (struct gdbarch_tdep): Add "regcache" parameter to "dmap_register" and "imap_register". (d10v_ts2_dmap_register, d10v_ts2_imap_register): Add "regcache". (d10v_ts3_dmap_register, d10v_ts3_imap_register): Add "regcache". * arch-utils.c (generic_remote_translate_xfer_address): Add "regcache" and "gdbarch" parameters. * gdbarch.sh (REMOTE_TRANSLATE_XFER_ADDRESS): Add "regcache" parameter. Change class to multi-arch. * gdbarch.h, gdbarch.c: Re-generate. * remote.c (remote_xfer_memory): Use gdbarch_remote_translate_xfer_address. Index: include/gdb/ChangeLog 2003-05-07 Andrew Cagney <cagney@redhat.com> * sim-d10v.h (sim_d10v_translate_addr): Add regcache parameter. (sim_d10v_translate_imap_addr): Add regcache parameter. (sim_d10v_translate_dmap_addr): Ditto. Index: sim/d10v/ChangeLog 2003-05-07 Andrew Cagney <cagney@redhat.com> * interp.c (sim_d10v_translate_addr): Add "regcache" parameter. (sim_d10v_translate_imap_addr): Ditto. (sim_d10v_translate_dmap_addr): Ditto. (xfer_mem): Pass NULL regcache to sim_d10v_translate_addr. (dmem_addr): Pass NULL regcache to sim_d10v_translate_dmap_addr. (dmap_register, imap_register): Add "regcache" parameter. (imem_addr): Pass NULL regcache to sim_d10v_translate_imap_addr. (sim_fetch_register): Pass NULL regcache to imap_register and dmap_register.
2003-05-07merge from gccDJ Delorie2-2/+7
2003-05-072003-05-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-13/+36
* infrun.c (prev_pc): Move declaration ahead of proceed(). (proceed): Refresh prev_pc value before resuming. (stop_stepping): Remove code to refresh prev_pc.
2003-05-07libiberty/Jason Merrill8-85/+389
* hashtab.c (burtle_hash): New fn. * configure.in: Add AC_C_BIGENDIAN_CROSS. * aclocal.m4: Include accross.m4. * configure, config.in: Regenerate. include/ * hashtab.h (burtle_hash): Prototype. (burtle_hash_object): New macro.
2003-05-07Reset R_XSTORMY16_16 reloc to ignore overflows.Nick Clifton2-1/+6
2003-05-072003-05-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-3/+8
* readelf.c (dump_relocations): Enlarge the type field in wide mode by one character.
2003-05-07 * ld-elfvsb/elfvsb.exp: Run dump tests even when crossAndreas Schwab2-3/+8
compiling.
2003-05-07(md_show_usage): Add missing lines to known cpus list.Nick Clifton2-0/+6
2003-05-07* configure.in (MIPS_DEFAULT_ABI): AC_DEFINE.Alexandre Oliva5-243/+329
* config/tc-mips.c (mips_after_parse_args): Set mips_abi to it. * config.in, configure: Rebuilt.
2003-05-07* elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): ImproveAlexandre Oliva2-1/+20
error message for mixing different-endian files. Check for ABI compatibility of input files with the selected emulation.
2003-05-07* gas/mips/abs.d, gas/mips/add.d, gas/mips/and.d,Alexandre Oliva109-88/+164
gas/mips/beq.d, gas/mips/bge.d, gas/mips/bgeu.d, gas/mips/blt.d, gas/mips/bltu.d, gas/mips/branch-misc-1.d, gas/mips/break20.d, gas/mips/cp0sel-names-mips32.d, gas/mips/cp0sel-names-mips32r2.d, gas/mips/cp0sel-names-mips64.d, gas/mips/cp0sel-names-numeric.d, gas/mips/cp0sel-names-sb1.d, gas/mips/elf-jal.d, gas/mips/elf-rel.d, gas/mips/elf-rel2.d, gas/mips/elf-rel3.d, gas/mips/elf-rel4.d, gas/mips/elf-rel5.d, gas/mips/elf-rel6.d, gas/mips/elf-rel7.d, gas/mips/elf_arch_mips1.d, gas/mips/elf_arch_mips2.d, gas/mips/elf_arch_mips3.d, gas/mips/elf_arch_mips32.d, gas/mips/elf_arch_mips32r2.d, gas/mips/elf_arch_mips4.d, gas/mips/elf_arch_mips5.d, gas/mips/elf_arch_mips64.d, gas/mips/elf_ase_mips16.d, gas/mips/empic.d, gas/mips/empic2.d, gas/mips/empic3_e.d, gas/mips/empic3_g1.d, gas/mips/empic3_g2.d, gas/mips/hwr-names-mips32r2.d, gas/mips/hwr-names-numeric.d, gas/mips/jal-empic-elf-2.d, gas/mips/jal-empic-elf-3.d, gas/mips/jal-empic-elf.d, gas/mips/jal-svr4pic.d, gas/mips/jal-xgot.d, gas/mips/jal.d, gas/mips/la-empic.d, gas/mips/la-svr4pic.d, gas/mips/la-xgot.d, gas/mips/la.d, gas/mips/lb-empic.d, gas/mips/lb-svr4pic.d, gas/mips/lb-xgot-ilocks.d, gas/mips/lb-xgot.d, gas/mips/lb.d, gas/mips/ld-empic.d, gas/mips/ld-svr4pic.d, gas/mips/ld-xgot.d, gas/mips/ld.d, gas/mips/li.d, gas/mips/lif-empic.d, gas/mips/lif-svr4pic.d, gas/mips/lif-xgot.d, gas/mips/lifloat.d, gas/mips/mips-gp32-fp32-pic.d, gas/mips/mips-gp32-fp32.d, gas/mips/mips-gp32-fp64-pic.d, gas/mips/mips-gp32-fp64.d, gas/mips/mips-gp64-fp32-pic.d, gas/mips/mips-gp64-fp32.d, gas/mips/mips-gp64-fp64-pic.d, gas/mips/mips-gp64-fp64.d, gas/mips/mips.exp, gas/mips/mips16-e.d, gas/mips/mips16-f.d, gas/mips/mips32.d, gas/mips/mips32r2.d, gas/mips/mips4010.d, gas/mips/mips4650.d, gas/mips/mips64.d, gas/mips/mipsel16-e.d, gas/mips/mipsel16-f.d, gas/mips/rol-hw.d, gas/mips/rol.d, gas/mips/sb.d, gas/mips/sync.d, gas/mips/tempic.d, gas/mips/tmips16-e.d, gas/mips/tmips16-f.d, gas/mips/tmipsel16-e.d, gas/mips/tmipsel16-f.d, gas/mips/trunc.d, gas/mips/uld.d, gas/mips/ulh-empic.d, gas/mips/ulh-svr4pic.d, gas/mips/ulh-xgot.d, gas/mips/ulh.d, gas/mips/ulh2-eb.d, gas/mips/ulh2-el.d, gas/mips/ulw.d, gas/mips/ulw2-eb.d, gas/mips/ulw2-eb-ilocks.d, gas/mips/ulw2-el.d, gas/mips/ulw2-el-ilocks.d, gas/mips/usd.d, gas/mips/ush.d, gas/mips/usw.d, gas/mips/vr4122.d: Added ABI specification. gas/vtable/vtable.exp: mips64*-*-linux* and mips*-*-irix6* are RELA.
2003-05-07* config/default.exp (gcc_gas_flags): Force ABI to n32 onAlexandre Oliva4-28/+61
mips64-linux. * ld-elf/merge.d: Xfail on mips64*-linux-gnu*. * ld-mips-elf/mips-elf-flags.exp (ldemul): Set to o32-compatible on mips-sgi-irix6*, mips64-linux-gnu and mips64el-linux-gnu. (good_combination, bad_combination): Use it. Add -32 or -mabi=o64 wherever the ABI was formerly implied.
2003-05-07* ldmain.h (overflow_cutoff_limit): Declare.Alexandre Oliva4-0/+30
* ldmain.c (overflow_cutoff_limit): Define, initialized to 10. (reloc_overflow): Limit error messages based on it. * lexsup.c (parse_args) <OPTION_VERBOSE>: Set cutoff to unlimited.
2003-05-07daily updateAlan Modra1-1/+1
2003-05-07*** empty log message ***gdbadmin1-1/+1
2003-05-06Revert update of version numberNick Clifton3-7/+2
2003-05-06Removed stray commentKris Warkentin2-7/+4
2003-05-06Fixed some ARI hitsKris Warkentin4-12/+26
2003-05-06Bump version numberNick Clifton3-2/+7
2003-05-062003-05-06 H.J. Lu <hjl@gnu.org>H.J. Lu12-1/+31
* ld-elfvers/vers.exp (objdump_versionstuff): Support comment in expected version file. * ld-elfvers/vers25b.c: Add a line of comment. * ld-elfvers/vers25b.dsym: Likwise. * ld-elfvers/vers25b.ver: Likwise. * ld-elfvers/vers26b.dsym: Likwise. * ld-elfvers/vers26b.ver: Likwise. * ld-elfvers/vers27b.dsym: Likwise. * ld-elfvers/vers27b.ver: Likwise. * ld-elfvers/vers27c.c: Likwise. * ld-elfvers/vers27c.dsym: Likwise. * ld-elfvers/vers27c.ver: Likwise.