Alan Modra
052d973636
daily update
2004-10-22 00:00:07 +00:00
Bob Wilson
823fc61f00
* elf32-xtensa.c (ebb_propose_action): Put declarations before
...
statements.
2004-10-21 16:29:11 +00:00
H.J. Lu
8697aafb0c
2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
...
* configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.94.
* configure: Regenerate.
2004-10-21 15:32:41 +00:00
H.J. Lu
dfeffb9fe1
bfd/
...
2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
PR 463
* aoutx.h (aout_link_input_section_std): Pass proper hash entry
to linker reloc_overflow callback.
(aout_link_input_section_ext): Likewise.
(aout_link_reloc_link_order): Likewise.
* coff-a29k.c (coff_a29k_relocate_section): Likewise.
* coff-alpha.c (alpha_ecoff_get_relocated_section_contents):
Likewise.
(alpha_relocate_section): Likewise.
* coff-arm.c (coff_arm_relocate_section): Likewise.
* coff-h8300.c (h8300_reloc16_extra_cases): Likewise.
* coff-h8500.c (extra_case): Likewise.
* coff-i960.c (coff_i960_relocate_section): Likewise.
* coff-mcore.c (coff_mcore_relocate_section): Likewise.
* coff-mips.c (mips_relocate_section): Likewise.
* coff-or32.c (coff_or32_relocate_section): Likewise.
* coff-ppc.c (coff_ppc_relocate_section): Likewise.
* coff-rs6000.c (xcoff_ppc_relocate_section): Likewise.
* coff-sh.c (sh_relocate_section): Likewise.
* coff-tic80.c (coff_tic80_relocate_section): Likewise.
* coff-w65.c (w65_reloc16_extra_cases): Likewise.
* coff-z8k.c (extra_case): Likewise.
* coff64-rs6000.c (xcoff64_ppc_relocate_section): Likewise.
* cofflink.c (_bfd_coff_reloc_link_order): Likewise.
(_bfd_coff_generic_relocate_section): Likewise.
* ecoff.c (ecoff_reloc_link_order): Likewise.
* elf-hppa.h (elf_hppa_relocate_section): Likewise.
* elf-m10200.c (mn10200_elf_relocate_section): Likewise.
* elf-m10300.c (mn10300_elf_relocate_section): Likewise.
* elf32-arm.h (elf32_arm_relocate_section): Likewise.
* elf32-avr.c (elf32_avr_relocate_section): Likewise.
* elf32-cr16c.c (elf32_cr16c_relocate_section): Likewise.
* elf32-cris.c (cris_elf_relocate_section): Likewise.
* elf32-crx.c (elf32_crx_relocate_section): Likewise.
* elf32-d10v.c (elf32_d10v_relocate_section): Likewise.
* elf32-fr30.c (fr30_elf_relocate_section): Likewise.
* elf32-frv.c (elf32_frv_relocate_section): Likewise.
* elf32-h8300.c (elf32_h8_relocate_section): Likewise.
* elf32-hppa.c (elf32_hppa_relocate_section): Likewise.
* elf32-i370.c (i370_elf_relocate_section): Likewise.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
* elf32-i860.c (elf32_i860_relocate_section): Likewise.
* elf32-ip2k.c (ip2k_elf_relocate_section): Likewise.
* elf32-iq2000.c (iq2000_elf_relocate_section): Likewise.
* elf32-m32r.c (m32r_elf_relocate_section): Likewise.
* elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Likewise.
* elf32-m68k.c (elf_m68k_relocate_section): Likewise.
* elf32-mcore.c (mcore_elf_relocate_section): Likewise.
* elf32-msp430.c (elf32_msp430_relocate_section): Likewise.
* elf32-openrisc.c (openrisc_elf_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-sh.c (sh_elf_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf32-v850.c (v850_elf_relocate_section): Likewise.
* elf32-vax.c (elf_vax_relocate_section): Likewise.
* elf32-xstormy16.c (xstormy16_elf_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf64-mmix.c (mmix_elf_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-sh64.c (sh_elf64_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elflink.c (elf_reloc_link_order): Likewise.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.
* elfxx-mips.c (_bfd_mips_elf_relocate_section): Likewise.
(_bfd_elf_mips_get_relocated_section_contents): Likewise.
* linker.c (_bfd_generic_reloc_link_order): Likewise.
* pdp11.c (pdp11_aout_link_input_section): Likewise.
(aout_link_reloc_link_order): Likewise.
* reloc.c (bfd_generic_get_relocated_section_contents):
Likewise.
* xcofflink.c (xcoff_reloc_link_order): Likewise.
* simple.c (simple_dummy_reloc_overflow): Updated.
include/
2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
PR 463
* bfdlink.h (bfd_link_callbacks): Add a pointer to struct
bfd_link_hash_entry to reloc_overflow.
ld/
2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
PR 463
* ldmain.c (reloc_overflow): Accept a pointer to struct
bfd_link_hash_entry. Report symbol location for relocation
overflow.
2004-10-21 15:28:33 +00:00
H.J. Lu
dc4f76f869
2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
...
* genscripts.sh (libpath.exp): Really generate for first
emulation only.
2004-10-21 15:20:35 +00:00
Joel Brobecker
43360365b4
* linux-x86-64-low.c (ARCH_SET_GS): Add definition if missing.
...
(ARCH_SET_FS): Likewise.
(ARCH_GET_FS): Likewise.
(ARCH_GET_GS): Likewise.
2004-10-21 04:10:48 +00:00
Joel Brobecker
ca7d6a0cb5
* gdb.ada/null_record.exp: Check where we stopped after
...
sending the start command, instead of where the associated
temporary breakpoint was inserted.
2004-10-21 03:55:08 +00:00
Joel Brobecker
5bccb4d1df
* symtab.h: Fix typo in comment.
2004-10-21 00:52:30 +00:00
Alan Modra
a6b6b87b69
daily update
2004-10-21 00:00:07 +00:00
gdbadmin
a40105afc8
*** empty log message ***
2004-10-21 00:00:06 +00:00
Andreas Schwab
1715e0e33e
* elf32-m68k.c (elf_m68k_plt_sym_val): New function.
...
(elf_backend_plt_sym_val): Define.
2004-10-20 21:29:45 +00:00
Danny Smith
db3d41a858
* config.bfd: Set targ_underscore=yes for PE COFF targets.
2004-10-20 01:58:47 +00:00
Alan Modra
3d7e772352
daily update
2004-10-20 00:00:06 +00:00
gdbadmin
ca6b4a3bb9
*** empty log message ***
2004-10-20 00:00:02 +00:00
Mark Kettenis
a738430dd6
* dwarf2read.c (struct comp_unit_head): Fix coding style.
...
(dwarf_decode_line_header): Likewise.
2004-10-19 20:28:56 +00:00
Danny Smith
2a08daf3f5
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
...
comparison and replacement of filenames.
2004-10-19 20:07:32 +00:00
Michael Chastain
f2cb65cafb
2004-10-19 Michael Chastain <mec.gnu@mindspring.com>
...
* NEWS: GDB works with GCC -feliminate-dwarf2-dups.
2004-10-19 19:43:50 +00:00
H.J. Lu
5ab0c1a196
2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
...
* readelf.c (process_section_groups): Free symtab after use.
2004-10-19 19:30:33 +00:00
Andrew Cagney
1c0f67c194
2004-10-19 Andrew Cagney <cagney@gnu.org>
...
* src-release (do-djunpack, do-md5sum): Install the generated file
directly into the proto-toplev/ directory.
2004-10-19 18:52:04 +00:00
Andrew Cagney
09e55376ec
2004-10-19 Andrew Cagney <cagney@gnu.org>
...
GDB 6.3 branch created.
* version.in: Bump to version 6.3.50_2004-10-19-cvs.
2004-10-19 18:18:40 +00:00
Andrew Cagney
a9cfce9c9d
2004-10-19 Andrew Cagney <cagney@gnu.org>
...
* src-release (GDB_SUPPORT_DIRS): Remove utils and intl.
2004-10-19 18:11:16 +00:00
H.J. Lu
0e99ae0cc2
2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
...
* ld-elf/exclude.exp: Allow cris-*-elf.
* ld-elf/exclude1.s: Add ".data". Remove "- include_sym".
* ld-elf/exclude2.s: Add ".data".
2004-10-19 17:14:38 +00:00
H.J. Lu
532345f2da
2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
...
PR 459
* ldlang.c (load_symbols): Use the same -Bdynamic/-Bstatic
option on linker script as the one for linker script.
2004-10-19 15:44:58 +00:00
Alan Modra
4b85d634bf
* elf64-ppc.c (opd_entry_value): Handle --just-symbols objects.
...
(ppc64_elf_edit_opd): Likewise.
2004-10-19 12:00:58 +00:00
Mark Mitchell
6df4d94c68
* elfarm-nabi.c (ELF_DYNAMIC_SEC_FLAGS): Add comment.
...
* elflink.c (_bfd_elf_create_dynamic_sections): For a loaded PLT,
set SEC_ALLOC and SEC_LOAD.
2004-10-19 06:02:46 +00:00
Hans-Peter Nilsson
cad5e2c2ac
* ld-elf/exclude.exp: Don't run for cris-*-elf.
2004-10-19 05:02:49 +00:00
Alan Modra
1c5a9c8047
daily update
2004-10-19 00:00:05 +00:00
gdbadmin
10408d8807
*** empty log message ***
2004-10-19 00:00:02 +00:00
Nick Clifton
d412a550d4
strings.c (usage): Place radix values for -t option into the correct order.
...
objcopy.c (add_redefine_syms_file): Change error messages to use
<filename>:<linenumber>: format for easier parsing by automatic tools.
srconv.c (show_usage): Fix spelling typo.
windres.c (format_from_filename): Suggest the use of -J instead of -I if the
file type cannot be determined.
2004-10-18 14:04:40 +00:00
Nick Clifton
fb608b9209
strings.c: Include <sys/stat.h>.
2004-10-18 13:44:48 +00:00
Alan Modra
bb41ade59e
* config/tc-i386.c (O_secrel): Delete.
...
(tc_pe_dwarf2_emit_offset): New function.
* config/tc-i386.h (O_secrel): Define as O_md1.
(TC_DWARF2_EMIT_OFFSET): Define.
2004-10-18 12:32:13 +00:00
Nick Clifton
00d962d155
Compute 'name' for relocs against both local and global symbols.
2004-10-18 08:06:31 +00:00
Nick Clifton
87e6234853
Accept and ignore @fptr() directives for 4-byte fixups.
2004-10-18 08:02:25 +00:00
Alan Modra
7f67d4c98a
* budemang.c (demangle): Fix thinko.
2004-10-18 07:26:30 +00:00
Alan Modra
2bb2d727c1
* budemang.c (demangle): Handle "@plt" suffix.
2004-10-18 07:08:52 +00:00
Alan Modra
40d98813d0
daily update
2004-10-18 00:00:06 +00:00
gdbadmin
febd16c23a
*** empty log message ***
2004-10-18 00:00:02 +00:00
Alan Modra
e814958604
daily update
2004-10-17 00:00:06 +00:00
gdbadmin
17a20941ba
*** empty log message ***
2004-10-17 00:00:02 +00:00
Daniel Jacobowitz
b58f81aef6
bfd/
...
* bfd-in2.h: Regenerate.
* bfd.c (struct bfd): Add no_export.
* elflink.c (elf_link_add_object_symbols): Handle no_export.
ld/
* ldlang.c (struct excluded_lib, excluded_libs, add_excluded_libs)
(check_excluded_libs): New.
(load_symbols): Call check_excluded_libs.
* ldlang.h (add_excluded_libs): New prototype.
* emultempl/elf32.em (OPTION_EXCLUDED_LIBS): Define.
(gld${EMULATION_NAME}_add_options): Add --exclude-libs.
(gld${EMULATION_NAME}_handle_option): Handle --exclude-libs.
* ld.texinfo (Command Line Variables): Document --exclude-libs.
(Options Specific to i386 PE Targets): Remove --exclude-libs.
ld/testsuite/
* ld-elf/exclude1.s, ld-elf/exclude2.s, ld-elf/exclude.exp: New.
2004-10-16 18:13:54 +00:00
Daniel Jacobowitz
fd5008162e
* linux-i386-low.c (ps_get_thread_area): New.
...
* linux-x86-64-low.c (ps_get_thread_area): New.
* linux-low.c: Include <sys/syscall.h>.
(linux_kill_one_process): Don't kill the first thread here.
(linux_kill): Kill the first thread here.
(kill_lwp): New function.
(send_sigstop, linux_send_signal): Use it.
* proc-service.c: Clean up #ifdefs.
(fpregset_info): Delete.
(ps_lgetregs): Update and enable implementation.
(ps_lsetregs, ps_lgetfpregs, ps_lsetfpregs): Remove disabled
implementations.
* remote-utils.c (struct sym_cache, symbol_cache): New.
(input_interrupt): Print a clearer message.
(async_io_enabled): New variable.
(enable_async_io, disable_async_io): Use it. Update comments.
(look_up_one_symbol): Use the symbol cache.
* thread-db.c (thread_db_look_up_symbols): New function.
(thread_db_init): Update comments. Call thread_db_look_up_symbols.
2004-10-16 17:42:00 +00:00
Daniel Jacobowitz
f6de3c42a3
* configure.in: Test for -rdynamic.
...
* configure: Regenerated.
* Makefile (INTERNAL_LDFLAGS): New.
(gdbserver, gdbreplay): Use it.
2004-10-16 16:18:54 +00:00
Joel Brobecker
bc5f45f8ff
* dwarf2read.c (set_cu_language): Set language to Ada for
...
DW_LANG_Ada83 and DW_LANG_Ada95.
2004-10-16 00:41:00 +00:00
Alan Modra
a872aebf0a
daily update
2004-10-16 00:00:07 +00:00
gdbadmin
493d1ce280
*** empty log message ***
2004-10-16 00:00:04 +00:00
Michael Chastain
2941da8cd7
2004-10-15 Michael Chastain <mec.gnu@mindspring.com>
...
From Andreas Schwab <schwab@suse.de>:
* Makefile.in (.y.c, .l.c.): Fix the substitutions for
for xmalloc and xrealloc.
2004-10-15 16:17:34 +00:00
Andrew Cagney
34a17005a8
2004-10-15 Andrew Cagney <cagney@gnu.org>
...
* ada-exp.y, ada-lex.l: Use xmalloc and xrealloc through out.
* inf-ptrace.c: Include "gdb_wait.h" instead of <wait.h>.
* Makefile.in (.y.c, .l.c): Don't replace xmalloc with xxmalloc.
Update dependencies.
2004-10-15 13:29:33 +00:00
Paul N. Hilfinger
714e53abda
* ada-lang.c (ada_lookup_symbol): Correct comment.
...
(ada_evaluate_subexp): Change error message for
OP_FUNCALL case so as not to indicate an internal error.
From Joel Brobecker; committed by Paul Hilfinger.
* ada-lang.c (ada_template_to_fixed_record_type_1): Detect bogus
type sizes in XVE/XVU types, and emit a warning when that happens,
instead of rounding up the size of the resulting type.
Some minor reformatting.
(ada_is_aligner_type): Do not consider a type as an aligner type
if there is a corresponding XVS type as well.
(ada_evaluate_subexp): For TERNOP_SLICE, handle cases where we
have several levels of pointer indirection to the array.
From Jerome Guitton; committed by Paul Hilfinger.
* ada-lang.c (check_size): New function.
(coerce_unspec_val_to_type): call check_size to make sure
that the object size is reasonable.
(ada_evaluate_subexp): in UNOP_IND: Ditto. In TERNOP_SLICE:
Implements the case when we get a reference when we evaluate
the expression of one of the bounds of the slice.
(ada_value_struct_elt): when a packed array field is
a reference, use ada_coerce_ref to dereference it; use
ada_value_ind only if it is a pointer.
2004-10-15 09:12:24 +00:00
Joel Brobecker
296391227b
* mips-tdep.c (mips32_scan_prologue): Move the implementation up
...
a bit to avoid the necessity of an advance declaration. Remove
declaration.
(set_reg_offset): Move implemenation up.
(mips16_get_imm): Likewise.
(mips16_scan_prologue): Likewise.
(reset_saved_regs): Likewise.
(mips32_scan_prologue): Likewise.
2004-10-15 07:25:04 +00:00
Joel Brobecker
a65bbe4404
* mips-tdep.c (mips32_scan_prologue): Add advance declaration.
...
Remove sp as a parameter, compute it internally instead. Move
prologue scanning limit from heuristic_proc_desc to here.
(mips16_scan_prologue): Likewise.
(mips_insn16_frame_cache): Replace call to heuristic_proc_desc
by call to mips16_scan_prologue.
(mips_insn32_frame_cache): Replace call to heuristic_proc_desc
by call to mips32_scan_prologue.
(heuristic_proc_desc): Remove code that's no longer necessary.
Update calls to mips16_scan_prologue and mips32_scan_prologue.
(mips_skip_prologue): Update calls to mips16_scan_prologue
and mips32_scan_prologue.
2004-10-15 07:09:10 +00:00