OSDN Git Service
amodra [Sat, 23 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 23 Oct 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
brobecke [Fri, 22 Oct 2004 20:58:56 +0000 (20:58 +0000)]
* symtab.c (symbol_search_name): Minor reformatting.
bavag [Fri, 22 Oct 2004 01:29:10 +0000 (01:29 +0000)]
* cygcheck.cc (dump_sysinfo): In legend for drive-list: Add ``ram'' and
``unk''. Use single puts. Add leading newline. Line up equal-signs.
msnyder [Fri, 22 Oct 2004 00:34:42 +0000 (00:34 +0000)]
2004-10-21 msnyder <msnyder@redhat.com>
* mn10300-tdep.c: Replace struct mn10300_unwind_cache with
struct trad_frame_cache. Don't seem to need any more.
(mn10300_frame_unwind_cache): Use trad_frame_cache.
Tentatively try using SP or A3 reg as frame base.
(mn10300_frame_dummy_this_id): Rename to mn10300_frame_this_id.
Call trad_frame_get_id.
(mn10300_frame_prev_reg): Call trad_frame_get_reg.
(mn10300_frame_base_address): Call trad_frame_get_this_base.
(mn10300_frame_args_address, mn10300_frame_locals_address):
Delete. Substitute mn10300_frame_base_address.
(mn10300_frame_unwind_init): Call dwarf2_frame_sniffer (even
though it doesn't seem to work yet).
gdbadmin [Fri, 22 Oct 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 22 Oct 2004 00:00:07 +0000 (00:00 +0000)]
daily update
bwilson [Thu, 21 Oct 2004 16:29:10 +0000 (16:29 +0000)]
* elf32-xtensa.c (ebb_propose_action): Put declarations before
statements.
hjl [Thu, 21 Oct 2004 15:32:39 +0000 (15:32 +0000)]
2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
* configure.in: (AM_INIT_AUTOMAKE): Set version to 2.15.94.
* configure: Regenerate.
hjl [Thu, 21 Oct 2004 15:28:13 +0000 (15:28 +0000)]
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.
hjl [Thu, 21 Oct 2004 15:20:34 +0000 (15:20 +0000)]
2004-10-21 H.J. Lu <hongjiu.lu@intel.com>
* genscripts.sh (libpath.exp): Really generate for first
emulation only.
brobecke [Thu, 21 Oct 2004 04:10:48 +0000 (04:10 +0000)]
* linux-x86-64-low.c (ARCH_SET_GS): Add definition if missing.
(ARCH_SET_FS): Likewise.
(ARCH_GET_FS): Likewise.
(ARCH_GET_GS): Likewise.
brobecke [Thu, 21 Oct 2004 03:55:07 +0000 (03:55 +0000)]
* gdb.ada/null_record.exp: Check where we stopped after
sending the start command, instead of where the associated
temporary breakpoint was inserted.
brobecke [Thu, 21 Oct 2004 00:52:30 +0000 (00:52 +0000)]
* symtab.h: Fix typo in comment.
cgf [Thu, 21 Oct 2004 00:06:37 +0000 (00:06 +0000)]
* cygcheck.cc (dump_sysinfo): Allow for larger drives in drive-list. Change
``Used'' to ``Free'' in helptext-title for drive-list.
amodra [Thu, 21 Oct 2004 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 21 Oct 2004 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***
schwab [Wed, 20 Oct 2004 21:29:44 +0000 (21:29 +0000)]
* elf32-m68k.c (elf_m68k_plt_sym_val): New function.
(elf_backend_plt_sym_val): Define.
jimb [Wed, 20 Oct 2004 19:28:02 +0000 (19:28 +0000)]
Use the libthread_db 'td_symbol_list' function to look up all the
symbols libthread_db will need when invited to by GDB.
* thread-db.c (add_symbol_to_list): Make 'name' argument const.
(td_symbol_list_p): New libthread_db function pointer.
(thread_db_dlopen): Initialize it.
(thread_db_attach): Use td_symbol_list to pre-load our symbol
cache with the names of all the symbols libthread_db will ever
request.
jimb [Wed, 20 Oct 2004 19:22:47 +0000 (19:22 +0000)]
* thread-db.c (thread_db_get_gen): There's no reason to try to
open a thread agent until we've at least requested values for all
the symbols we know about.
jimb [Wed, 20 Oct 2004 19:19:39 +0000 (19:19 +0000)]
* server.c (usage): Don't include the entire pathname in the usage
message.
cgf [Wed, 20 Oct 2004 04:49:33 +0000 (04:49 +0000)]
* select.cc (start_thread_socket): Remove attempt to delay reading of exitsock
or suffer occasional mysterious 60 second hangs.
(socket_cleanup): Empty the exitsock here after the thread has terminated.
dannysmith [Wed, 20 Oct 2004 01:58:46 +0000 (01:58 +0000)]
* config.bfd: Set targ_underscore=yes for PE COFF targets.
cgf [Wed, 20 Oct 2004 01:03:55 +0000 (01:03 +0000)]
revert erroneous checkin
cgf [Wed, 20 Oct 2004 01:02:16 +0000 (01:02 +0000)]
* fhandler_console.cc (fhandler_console::fixup_after_exec): Fix error message.
amodra [Wed, 20 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 20 Oct 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
jimb [Tue, 19 Oct 2004 22:54:23 +0000 (22:54 +0000)]
* thread-db.c (get_thread_signals): Doc fix.
jimb [Tue, 19 Oct 2004 21:20:08 +0000 (21:20 +0000)]
* thread-db.c (enum symbol_cache_defined): Move this definition
above that of (struct symbol_cache), and give it a name.
(struct symbol_cache): Use that enum as the type of 'defined_p', so
the debugger will print symbol cache entries more helpfully.
jimb [Tue, 19 Oct 2004 21:16:44 +0000 (21:16 +0000)]
* ptrace-target.c (ptrace_create_child): Don't use sys_nerr to
check that errno is in a valid range. The use sys_nerr is
deprecated on GNU/Linux, and according to the ISO C standard and
POSIX, strerror always returns a valid string, even for invalid
errno codes.
kettenis [Tue, 19 Oct 2004 20:28:50 +0000 (20:28 +0000)]
* dwarf2read.c (struct comp_unit_head): Fix coding style.
(dwarf_decode_line_header): Likewise.
dannysmith [Tue, 19 Oct 2004 20:07:32 +0000 (20:07 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_after_open): Simplify
comparison and replacement of filenames.
chastain [Tue, 19 Oct 2004 19:43:46 +0000 (19:43 +0000)]
2004-10-19 Michael Chastain <mec.gnu@mindspring.com>
* NEWS: GDB works with GCC -feliminate-dwarf2-dups.
hjl [Tue, 19 Oct 2004 19:30:33 +0000 (19:30 +0000)]
2004-10-19 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (process_section_groups): Free symtab after use.
cagney [Tue, 19 Oct 2004 18:52:03 +0000 (18:52 +0000)]
2004-10-19 Andrew Cagney <cagney@gnu.org>
* src-release (do-djunpack, do-md5sum): Install the generated file
directly into the proto-toplev/ directory.
cagney [Tue, 19 Oct 2004 18:18:38 +0000 (18:18 +0000)]
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.
cagney [Tue, 19 Oct 2004 18:11:15 +0000 (18:11 +0000)]
2004-10-19 Andrew Cagney <cagney@gnu.org>
* src-release (GDB_SUPPORT_DIRS): Remove utils and intl.
hjl [Tue, 19 Oct 2004 17:14:37 +0000 (17:14 +0000)]
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".
hjl [Tue, 19 Oct 2004 15:44:58 +0000 (15:44 +0000)]
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.
amodra [Tue, 19 Oct 2004 12:00:55 +0000 (12:00 +0000)]
* elf64-ppc.c (opd_entry_value): Handle --just-symbols objects.
(ppc64_elf_edit_opd): Likewise.
mmitchel [Tue, 19 Oct 2004 06:02:44 +0000 (06:02 +0000)]
* 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.
hp [Tue, 19 Oct 2004 05:02:49 +0000 (05:02 +0000)]
* ld-elf/exclude.exp: Don't run for cris-*-elf.
amodra [Tue, 19 Oct 2004 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 19 Oct 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
corinna [Mon, 18 Oct 2004 14:26:17 +0000 (14:26 +0000)]
* sysv_sem.cc: Redefine offsetof to circumvent build problems with
gcc 3.4.
nickc [Mon, 18 Oct 2004 14:04:40 +0000 (14:04 +0000)]
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.
nickc [Mon, 18 Oct 2004 13:44:48 +0000 (13:44 +0000)]
strings.c: Include <sys/stat.h>.
amodra [Mon, 18 Oct 2004 12:32:09 +0000 (12:32 +0000)]
* 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.
corinna [Mon, 18 Oct 2004 10:25:38 +0000 (10:25 +0000)]
* cygcheck.cc (pretty_id): Don't let i become negative. Fix
printf-format.
nickc [Mon, 18 Oct 2004 08:06:27 +0000 (08:06 +0000)]
Compute 'name' for relocs against both local and global symbols.
nickc [Mon, 18 Oct 2004 08:02:25 +0000 (08:02 +0000)]
Accept and ignore @fptr() directives for 4-byte fixups.
nickc [Mon, 18 Oct 2004 08:02:14 +0000 (08:02 +0000)]
Accept and ignore @fptr() directives for 4-byte fixups.
amodra [Mon, 18 Oct 2004 07:26:29 +0000 (07:26 +0000)]
* budemang.c (demangle): Fix thinko.
amodra [Mon, 18 Oct 2004 07:08:52 +0000 (07:08 +0000)]
* budemang.c (demangle): Handle "@plt" suffix.
dannysmith [Mon, 18 Oct 2004 04:31:16 +0000 (04:31 +0000)]
= include/wsahelp.h (WINSOCK_MAPPING, WSHGetWinsockMapping,
PWSH_GET_WINSOCK_MAPPING): Don't define if __OBJC__.
cgf [Mon, 18 Oct 2004 01:47:00 +0000 (01:47 +0000)]
fix date
cgf [Mon, 18 Oct 2004 01:44:55 +0000 (01:44 +0000)]
* cygcheck.cc (pretty_id): Allocate space for ')' in uid and guid.
amodra [Mon, 18 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 18 Oct 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
cgf [Sun, 17 Oct 2004 23:31:23 +0000 (23:31 +0000)]
* cygcheck.cc (pretty_id): Allocate space for trailing '\0' on uid and guid.
amodra [Sun, 17 Oct 2004 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 17 Oct 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
drow [Sat, 16 Oct 2004 18:13:51 +0000 (18:13 +0000)]
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.
drow [Sat, 16 Oct 2004 17:42:00 +0000 (17:42 +0000)]
* 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.
drow [Sat, 16 Oct 2004 16:18:54 +0000 (16:18 +0000)]
* configure.in: Test for -rdynamic.
* configure: Regenerated.
* Makefile (INTERNAL_LDFLAGS): New.
(gdbserver, gdbreplay): Use it.
brobecke [Sat, 16 Oct 2004 00:41:00 +0000 (00:41 +0000)]
* dwarf2read.c (set_cu_language): Set language to Ada for
DW_LANG_Ada83 and DW_LANG_Ada95.
amodra [Sat, 16 Oct 2004 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 16 Oct 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***
chastain [Fri, 15 Oct 2004 16:17:29 +0000 (16:17 +0000)]
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.
cgf [Fri, 15 Oct 2004 13:57:56 +0000 (13:57 +0000)]
* cygcheck.cc (pretty_id): Don't exit on id error. Fix size calculations.
cagney [Fri, 15 Oct 2004 13:29:31 +0000 (13:29 +0000)]
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.
cagney [Fri, 15 Oct 2004 13:29:21 +0000 (13:29 +0000)]
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.
hilfingr [Fri, 15 Oct 2004 09:12:22 +0000 (09:12 +0000)]
* 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.
brobecke [Fri, 15 Oct 2004 07:25:03 +0000 (07:25 +0000)]
* 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.
brobecke [Fri, 15 Oct 2004 07:09:09 +0000 (07:09 +0000)]
* 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.
amodra [Fri, 15 Oct 2004 06:00:15 +0000 (06:00 +0000)]
* ldexp.c (exp_fold_tree): Don't immediately exit ld on a
failing link script assert.
amodra [Fri, 15 Oct 2004 05:54:11 +0000 (05:54 +0000)]
* ldctor.c (ldctor_add_set_entry): Fix comment typo.
amodra [Fri, 15 Oct 2004 05:49:32 +0000 (05:49 +0000)]
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.
amodra [Fri, 15 Oct 2004 05:48:50 +0000 (05:48 +0000)]
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.
amodra [Fri, 15 Oct 2004 05:47:10 +0000 (05:47 +0000)]
* config.bfd: Whitespace cleanup.
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.
jakub [Fri, 15 Oct 2004 05:19:18 +0000 (05:19 +0000)]
* elflink.c (struct already_linked_section): Removed.
(try_match_symbols_in_sections, already_linked): Removed.
(_bfd_elf_section_already_linked): Skip ^\.gnu\.linkonce\.[^.]*\.
prefix of section names when finding already_linked_table
chain. Compare section names. Instead of calling already_linked,
do it inline and only for sections in the same already_linked_list.
brobecke [Fri, 15 Oct 2004 04:29:23 +0000 (04:29 +0000)]
* mips-tdep.c (mips16_scan_prologue): Merge code from
mips16_skip_prologue. Now return the address of the first
instruction past the function prologue.
(mips16_skip_prologue): Remove, no longer necessary.
(mips_skip_prologue): Replace call to mips16_skip_prologue
by call to mips16_scan_prologue.
dannysmith [Fri, 15 Oct 2004 01:18:10 +0000 (01:18 +0000)]
2004-10-15 Robert Wruck <wruck@tweerlei.de>
Danny Smith <dannysmith@users.sourceforge.net>
= include/winbase.h (InitializeSListHead, Interlocked*):
Guard with !__USE_NTOSKRNL__.
* include/ddk/ntddk.h (__USE_NTOSKRNL__): Define.
* include/ddk/winddk.h (InitializeSListHead, Interlocked*):
Guard with __USE_NTOSKRNL__.
(ExInterlockedPopEntrySList, ExInterlockedPushEntrySList):
Add prototypes. Guard macro definition with __USE_NTOSKRNL__
&& _WIN32_WINNT >= 0x0501
(ExAllocateFromNPagedLookasideList, ExAllocateFromPagedLookasideList,
ExFreeToNPagedLookasideList, ExFreeToPagedLookasideList):
Replace calts to InterlockedPopEntrySList, InterlockedPushEntrySList
with ExInterlockedPopEntrySList, ExInterlockedPushEntrySList.
* lib/ddk/ntosknl.def (ExInterlockedPopEntrySList,
ExInterlockedPushEntrySList) Add stubs with fastcall decoration.
(ExDesktopObjectType, ExEventObjectType, ExSemaphoreObjectType,
ExWindowStationObjectType, IoAdapterObjectType,
IoDeviceHandlerObjectSize, IoDeviceHandlerObjectType,
IoDeviceObjectType, IoDriverObjectType, IoFileObjectType,
LpcPortObjectType, MmSectionObjectType, SeTokenObjectType):
Uncomment stubs.
amodra [Fri, 15 Oct 2004 00:27:11 +0000 (00:27 +0000)]
* ld-crx/reloc-num8.d: Adjust for changed orphan placement.
* ld-crx/reloc-num16.d: Likewise.
* ld-crx/reloc-num32.d: Likewise.
* ld-scripts/provide-2.t: Start .data at 0x2000.
* ld-scripts/provide-2.d: Adjust.
amodra [Fri, 15 Oct 2004 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 15 Oct 2004 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 14 Oct 2004 23:38:07 +0000 (23:38 +0000)]
* elf-eh-frame.c (_bfd_elf_eh_frame_section_offset): Add "info"
parameter. If called after _bfd_elf_write_section_eh_frame,
don't allow a -2 return unless need_* bit is already set, and
handle offsets adjusted for output_offset.
* elf-bfd.h (_bfd_elf_eh_frame_section_offset): Update prototype.
* elf.c (_bfd_elf_section_offset): Update call.
bwilson [Thu, 14 Oct 2004 22:58:32 +0000 (22:58 +0000)]
* doc/c-xtensa.texi (Xtensa Options, Absolute Literals Directive):
Remove comments about placement of literal pools.
(Literal Directive): Update description of literal placement.
(Literal Prefix Directive): Remove statement that this does not apply
to absolute-mode literals. Describe new section naming scheme.
brobecke [Thu, 14 Oct 2004 22:34:25 +0000 (22:34 +0000)]
* mips-tdep.c (mips32_scan_prologue): Merge code from
mips32_skip_prologue. Now return the address of the first
instruction past the function prologue.
(mips32_skip_prologue): Remove. No longer necessary.
(mips16_skip_prologue): Add parameter end_pc instead of
computing it.
(mips_skip_prologue): Compute the upper limit for the
prologue scanning. Update call to mips16_skip_prologue.
Replace call to mips32_skip_prologue by call to
mips32_scan_prologue.
kettenis [Thu, 14 Oct 2004 21:08:05 +0000 (21:08 +0000)]
* hppa-tdep.c (hppa_frame_cache): Add support for OpenBSD and
NetBSD system call stubs that store %rp in the ERP slot of the
stack frame.
cagney [Thu, 14 Oct 2004 19:15:24 +0000 (19:15 +0000)]
Fix changelog (but not mine :-)
cagney [Thu, 14 Oct 2004 19:13:23 +0000 (19:13 +0000)]
2004-10-14 Andrew Cagney <cagney@gnu.org>
* gdb.mi/gdb701.c (main): Return 0.
cgf [Thu, 14 Oct 2004 17:35:46 +0000 (17:35 +0000)]
* cygcheck.cc (pretty_id): Correct column calculations. Abort if id is acting
funny.
hjl [Thu, 14 Oct 2004 17:00:15 +0000 (17:00 +0000)]
2004-10-14 H.J. Lu <hongjiu.lu@intel.com>
PR 445
* emulparams/elf64_ia64.sh (SMALL_DATA_CTOR): Set.
(SMALL_DATA_DTOR): Set.
* emulparams/elf64_ia64_fbsd.sh (SMALL_DATA_CTOR): Unset.
(SMALL_DATA_DTOR): Unset.
* scripttempl/elf.sc: If SMALL_DATA_CTOR is set, move .ctors
after .data. If SMALL_DATA_DTOR is set, move .dtors after
.data.
hjl [Thu, 14 Oct 2004 16:20:47 +0000 (16:20 +0000)]
2004-10-14 H.J. Lu <hongjiu.lu@intel.com>
* ld-scripts/sort.exp: Run for ELF targets only.
pbrook [Thu, 14 Oct 2004 16:04:07 +0000 (16:04 +0000)]
* gas/arm/mapping.d: Pass --special-syms to objdump.
kettenis [Thu, 14 Oct 2004 13:19:24 +0000 (13:19 +0000)]
* source.c: Always define O_BINARY to 0 if not defined already.
(openp): Unconditionally use O_BINARY.
amodra [Thu, 14 Oct 2004 12:54:42 +0000 (12:54 +0000)]
ld/
PR 63
* ldlang.h (lang_output_section_statement_type): Make "next" a
struct lang_output_section_statement_struct *.
(struct orphan_save): Move from elf32.em. Add "name" and "flags".
(lang_output_section_find_by_flags, lang_insert_orphan): Declare.
* ldlang.c (lang_output_section_find_1): Adjust for changed
output_section_statement "next".
(strip_excluded_output_sections): Likewise.
(lang_record_phdrs): Likewise.
(lang_output_section_find_by_flags): New function.
(output_prev_sec_find): Move from pe.em. Adjust iterator.
(lang_insert_orphan): New function. Tail end of elf32.em's
place_orphan merged with that from pe.em. Allow bfd_section to
be placed first. New heuristic for placing new output section
statement in existing script, and accompanying split of __start
symbol alignment into a separate assignment to dot.
(lang_add_section): Consistently use output->bfd_section rather than
an alias, section->output_section.
(map_input_to_output_sections): Rename overly long arg. Move
initialization of data_statement output section to here..
(lang_check_section_addresses): ..from here.
(print_assignment): Correct printing of etree_assert.
(print_all_symbols): Don't bomb if userdata is NULL.
(IGNORE_SECTION): Rearrange.
* emultempl/elf32.em (output_rel_find): Adjust interator.
(output_prev_sec_find): Delete.
(struct orphan_save): Delete.
(gld${EMULATION_NAME}_place_orphan): Cater for zero bfd_section
flags without creating a duplicate output section statement.
Revise code holding history of various orphan section placements.
Allow orphan sections to place before script specified output
sections. Call lang_output_section_find_by_flags when placement
by name fails. Use lang_insert_orphan.
* emultempl/mmo.em (output_prev_sec_find): Delete.
(struct orphan_save): Delete.
(mmo_place_orphan): Revise code holding history of orphan placement.
Allow orphans to place before existing output sections. Use
lang_insert_orphan.
* emultempl/pe.em (output_prev_sec_find): Delete.
(struct orphan_save): Delete.
(gld_${EMULATION_NAME}_place_orphan): Revise to suit use of
lang_insert_orphan.
ld/testsuite/
* ld-scripts/overlay-size.d: Update for changed orphan section
placement.
* ld-mmix/bpo-18.d: Likewise.
kettenis [Thu, 14 Oct 2004 12:44:19 +0000 (12:44 +0000)]
* top.c (gdb_readline): Always accept "rn" as a line-ending.
* event-top.c (gdb_readline2): Likewise.
orjanf [Thu, 14 Oct 2004 12:10:23 +0000 (12:10 +0000)]
2004-10-14 Orjan Friberg <orjanf@axis.com>
* cris-tdep.c (_initialize_cris_tdep): Re-add call to
deprecated_add_core_fns which was removed by mistake.