Martin Schwidefsky
4ec72bdef8
* elf32-s390.c (allocate_dynrelocs, elf_s390_relocate_section):
...
Fix WILL_CALL_FINISH_DYNAMIC_SYMBOL call.
(WILL_CALL_FINISH_DYNAMIC_SYMBOL): Pass SHARED instead of INFO.
* elf64-s390.c: Likewise.
2003-05-09 16:41:42 +00:00
Nick Clifton
3cd9fdd546
oops - update date in ChangeLog entry
2003-05-09 16:13:45 +00:00
Nick Clifton
661849791b
Default to generating a fatal error message if a loadable section is not
...
allocated to a memory region when regions are defined.
2003-05-09 16:12:07 +00:00
Martin Schwidefsky
4648dfcf5b
* ld-elfvsb/elf-offset.ld: Add .rel.eh_frame and .rela.eh_frame
...
to linker script.
* ld-elfvsb/elfvsb.exp (visibility_run): Add setup_xfails for s390x.
* ld-selective/selective.exp: Disable for s390 and s390x.
* ld-shared/elf-offset.ld: Add .rel.eh_frame and .rela.eh_frame
to linker script.
* ld-shared/shared.exp (shared_test): Add setup_xfails for s390x.
* ld-undefined/undefined.exp (checkund): Remove setup_xfail for s390x.
2003-05-09 15:35:09 +00:00
Martin Schwidefsky
2ebb4b8890
* config/tc-s390.c (s390_target_format): Always call init_default_arch.
2003-05-09 15:32:52 +00:00
Martin Schwidefsky
64285810f5
* elf32-s390.c (ELIMINATE_COPY_RELOCS): Define as one.
...
(elf_s390_adjust_dynamic_symbol): For weak symbols, copy
ELF_LINK_NON_GOT_REF from weakdef.
(elf_s390_copy_indirect_symbol): Test whether the weakdef sym has
already been adjusted before treating it specially.
* el64-s390.c: Likwise.
2003-05-09 15:29:47 +00:00
Martin Schwidefsky
82058a735b
* elf32-s390.c (allocate_dynrelocs): For undef weak syms with
...
non-default visibility, a) don't make them dynamic, b) discard
space for dynamic relocs.
(elf_s390_relocate_section): Initialize the GOT entries and skip
R_390_{8,16,32}/R_390_PC{16,16DBL,32DBL,32} for weak undefined
symbols with non-default visibility.
* elf64-s390.c: Likewise.
2003-05-09 15:17:54 +00:00
Alan Modra
8373f9713f
* i386-dis.c (print_insn): Test intel_syntax against (char) -1 in
...
case char is unsigned.
2003-05-09 11:36:43 +00:00
Alan Modra
fa48c11b73
* xtensa-isa-internal.h (xtensa_isa_module_struct): Remove const on
...
gen_num_opcodes_fn return type.
2003-05-09 11:36:09 +00:00
Alan Modra
60d8b5244d
* cpu-arm.c (arm_check_note): Warning fix.
...
* elf32-iq2000.c (iq2000_elf_check_relocs): Warning fixes. Arrange
to keep relocs if edited.
(iq2000_elf_print_private_bfd_data): Return TRUE.
* elfxx-ia64.c (elfNN_ia64_relax_section): Use ELFNN_R_SYM, not
ELF64_R_SYM.
(elfNN_ia64_relax_ldxmov): Warning fix.
* xtensa-isa.c (xtensa_add_isa): Warning fix.
* xtensa-modules.c (get_num_opcodes): Warning fix.
2003-05-09 11:35:35 +00:00
Alan Modra
e57b535673
* elf.c (elf_fake_sections): Use correct cast for sh_name.
2003-05-09 10:58:12 +00:00
Alan Modra
efdffbe268
* Makefile.am (em68hc11elf.c): Correct dependencies.
...
(em68hc11elfb.c, em68hc12elf.c, em68hc12elfb.c): Likewise.
* Makefile.in: Regenerate.
* emultempl/elf32.em (find_exp_assignment): Adjust for changed
bfd_elf_record_link_assignment name.
2003-05-09 02:28:01 +00:00
Alan Modra
45d6a902ae
* elflink.c (_bfd_elf_link_create_dynamic_sections): Move from
...
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-09 02:27:11 +00:00
Alan Modra
d32ad6f7ad
daily update
2003-05-09 00:46:00 +00:00
gdbadmin
3bdd618640
*** empty log message ***
2003-05-09 00:00:32 +00:00
Andrew Cagney
123a958e01
2003-05-08 Andrew Cagney <cagney@redhat.com>
...
* 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-08 22:33:14 +00:00
David Carlton
eb294659eb
2003-05-08 David Carlton <carlton@math.stanford.edu>
...
* valops.c (push_word): Fix typo.
2003-05-08 22:03:35 +00:00
Jim Blandy
df5215a60c
* gdb.texinfo (Dump/Restore Files): Update documentation for
...
'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-08 21:33:49 +00:00
Andrew Cagney
d9d9c31f31
2003-05-08 Andrew Cagney <cagney@redhat.com>
...
* 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-08 20:52:49 +00:00
Andrew Cagney
22540ece94
2003-05-08 Andrew Cagney <cagney@redhat.com>
...
* 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-08 20:38:07 +00:00
H.J. Lu
bf1e742e90
2003-05-08 H.J. Lu <hongjiu.lu@intel.com>
...
* elflink.h (elf_add_default_symbol): After skipping the
unversioned symbol, go to non-default one.
2003-05-08 19:54:33 +00:00
H.J. Lu
54c9a60f31
2003-05-08 H.J. Lu <hongjiu.lu@intel.com>
...
* 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-08 19:51:48 +00:00
Jeff Johnston
a25fbfec62
2003-05-08 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-08 19:23:29 +00:00
Andrew Cagney
0c92afe8cd
2003-05-08 Andrew Cagney <cagney@redhat.com>
...
* 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 18:46:49 +00:00
Joel Brobecker
6037b8306e
* fork-child.c (escape_bang_in_quoted_argument): New function.
...
(fork_inferior): Escape '!' characters in quoted arguments
only when needed.
2003-05-08 18:08:57 +00:00
Joel Brobecker
5d62c8b152
* dwarf2read.c (set_cu_language): Set the language to "minimal" if
...
the language of the CU is not currently supported by GDB.
2003-05-08 18:05:37 +00:00
Joel Brobecker
20a0e81d7a
* defs.h (language): Add language_minimal enum value.
...
* 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 17:35:21 +00:00
Kevin Buettner
710ee10a27
* frame.c (get_frame_type): Don't attempt to lazily initialize
...
frame's unwinder for legacy frames.
2003-05-08 15:34:12 +00:00
H.J. Lu
6a32c71069
2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
...
* 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-08 13:55:27 +00:00
H.J. Lu
95b4a16ea5
2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
...
* ld-elfvers/vers27d3.c (__start): New.
(start): New.
2003-05-08 07:01:11 +00:00
H.J. Lu
715529421b
2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
...
* 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-08 05:11:57 +00:00
H.J. Lu
0ae911fecd
2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
...
* 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-08 05:10:47 +00:00
Andrew Cagney
1750fa042b
2003-05-07 Andrew Cagney <cagney@redhat.com>
...
* 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 03:48:03 +00:00
gdbadmin
9f11468faf
*** empty log message ***
2003-05-08 00:00:32 +00:00
Alan Modra
6455f31d1f
daily update
2003-05-08 00:00:07 +00:00
Jeff Johnston
ddf9f25876
2003-05-07 Jeff Johnston <jjohnstn@redhat.com>
...
* dwarf2read.c (dwarf_decode_lines): Only use output of
check_cu_functions() when calling record_line(). Do not update
the current address.
2003-05-07 22:57:30 +00:00
Andrew Cagney
87767c29b5
2003-05-07 Andrew Cagney <cagney@redhat.com>
...
* fork-child.c (startup_inferior): Delete #ifdef STARTUP_INFERIOR
code.
2003-05-07 22:13:33 +00:00
Jim Blandy
09bf6082f5
Add support for assembly source testing on the s390x.
...
* gdb.asm/asm-source.exp: Add a case for the s390x-*-*
architecture.
* gdb.asm/s390x.inc: New file.
2003-05-07 21:52:53 +00:00
Jim Blandy
be375bae05
* gdb.asm/asm-source.exp: Use a 'switch -glob' statement, not a
...
succession of 'if' statements.
2003-05-07 21:51:06 +00:00
Jim Blandy
5e7b2f395e
gdb/ChangeLog:
...
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-07 21:42:48 +00:00
Jason Merrill
eafaf5ebda
s/burtle/iterative
2003-05-07 20:30:13 +00:00
H.J. Lu
35f5df7fe8
gas/
...
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-07 19:31:10 +00:00
Andrew Cagney
f6684c3170
Index: gdb/ChangeLog
...
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-07 19:21:13 +00:00
DJ Delorie
0f3538e70e
merge from gcc
2003-05-07 19:15:59 +00:00
Jeff Johnston
e4846b0899
2003-05-07 Jeff Johnston <jjohnstn@redhat.com>
...
* 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-07 18:35:57 +00:00
Jason Merrill
7108c5dc79
libiberty/
...
* 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-07 18:07:53 +00:00
Nick Clifton
208c2cd6cb
Reset R_XSTORMY16_16 reloc to ignore overflows.
2003-05-07 15:16:35 +00:00
H.J. Lu
8beeaeb703
2003-05-07 H.J. Lu <hongjiu.lu@intel.com>
...
* readelf.c (dump_relocations): Enlarge the type field in wide
mode by one character.
2003-05-07 14:30:13 +00:00
Andreas Schwab
3a8260b266
* ld-elfvsb/elfvsb.exp: Run dump tests even when cross
...
compiling.
2003-05-07 09:21:27 +00:00
Nick Clifton
d2bf1bdacb
(md_show_usage): Add missing lines to known cpus list.
2003-05-07 08:58:33 +00:00