OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
19 years ago*** empty log message ***
nickrob [Mon, 13 Jun 2005 22:21:19 +0000 (22:21 +0000)]
*** empty log message ***

19 years ago* configure.ac: Use AC_CHECK_TYPES to check for uintptr_t.
kettenis [Mon, 13 Jun 2005 21:59:33 +0000 (21:59 +0000)]
* configure.ac: Use AC_CHECK_TYPES to check for uintptr_t.
* configure, config.in: Regenerate.

19 years ago* configure.ac: Use AC_CHECK_TYPES to check for uintptr_t.
kettenis [Mon, 13 Jun 2005 21:59:24 +0000 (21:59 +0000)]
* configure.ac: Use AC_CHECK_TYPES to check for uintptr_t.
* configure, config.in: Regenerate.

19 years ago* ser-tcp.c: Tewak comment.
kettenis [Mon, 13 Jun 2005 21:32:01 +0000 (21:32 +0000)]
* ser-tcp.c: Tewak comment.
[!HAVE_SOCKLEN_T]: Typedef socklen_t.
* configure.ac: Add check for socklen_t.
* configure, config.in: Regenerate.

19 years ago* ser-tcp.c: Tewak comment.
kettenis [Mon, 13 Jun 2005 21:31:50 +0000 (21:31 +0000)]
* ser-tcp.c: Tewak comment.
[!HAVE_SOCKLEN_T]: Typedef socklen_t.
* configure.ac: Add check for socklen_t.
* configure, config.in: Regenerate.

19 years ago2005-06-13 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 13 Jun 2005 20:52:02 +0000 (20:52 +0000)]
2005-06-13  H.J. Lu  <hongjiu.lu@intel.com>

* config/i386/linux64.mt (TDEPFILES): Add symfile-mem.o.

19 years ago * MAINTAINERS: Update my email address.
rsandifo [Mon, 13 Jun 2005 19:09:12 +0000 (19:09 +0000)]
* MAINTAINERS: Update my email address.

19 years ago * corelow.c (core_open): Use bfd_fopen, not bfd_fdopenr.
mmitchel [Mon, 13 Jun 2005 18:39:08 +0000 (18:39 +0000)]
* corelow.c (core_open): Use bfd_fopen, not bfd_fdopenr.
* exec.c (exec_file_attach): Likewise.
* solib-frv.c (enable_break2): Likewise.
* solib-svr4.c (enable_break): Likewise.
* solib.c (solib_map_sections): Likewise.
* symfile.c (symfile_bfd_open): Likewise.

19 years ago * gdb.base/bigcore.exp: Correct checks for systems which can
drow [Mon, 13 Jun 2005 18:11:01 +0000 (18:11 +0000)]
* gdb.base/bigcore.exp: Correct checks for systems which can
not dump a large core file.

19 years ago* depstand.m4, lead-dot.m4: New files.
dj [Mon, 13 Jun 2005 18:06:59 +0000 (18:06 +0000)]
* depstand.m4, lead-dot.m4: New files.

19 years ago* depcomp: Update from automake CVS. Add 'ia64hp' stanza.
dj [Mon, 13 Jun 2005 18:01:01 +0000 (18:01 +0000)]
* depcomp: Update from automake CVS.  Add 'ia64hp' stanza.
In 'cpp' stanza, support '#line' as well as '# '.

19 years agogdb/
drow [Mon, 13 Jun 2005 16:15:34 +0000 (16:15 +0000)]
gdb/
* Makefile.in (symfile.o): Add $(exec_h).
* exec.h (exec_set_section_address): Add prototype.
* exec.c (exec_set_section_address): New function.
* symfile.c: Include "exec.h".
(struct place_section_arg, place_section): New.
(default_symfile_offsets): Call place_section for each
section of a relocatable file.
gdb/testsuite/
* gdb.base/relocate.c: Add a copyright notice.
(dummy): Remove.
* gdb.base/relocate.exp: Test printing the values of variables
from a relocatable file.

19 years agogdb/
drow [Mon, 13 Jun 2005 16:15:22 +0000 (16:15 +0000)]
gdb/
* Makefile.in (symfile.o): Add $(exec_h).
* exec.h (exec_set_section_address): Add prototype.
* exec.c (exec_set_section_address): New function.
* symfile.c: Include "exec.h".
(struct place_section_arg, place_section): New.
(default_symfile_offsets): Call place_section for each
section of a relocatable file.
gdb/testsuite/
* gdb.base/relocate.c: Add a copyright notice.
(dummy): Remove.
* gdb.base/relocate.exp: Test printing the values of variables
from a relocatable file.

19 years agogas:
zack [Mon, 13 Jun 2005 15:34:35 +0000 (15:34 +0000)]
gas:
* config/tc-arm.c (find_real_start): Check S_IS_LOCAL on
symbolP as well as for names with a leading dot.  Use ACONCAT.
(md_apply_fix): For branch relocations, only replace value
with fixP->fx_offset (under #ifdef OBJ_ELF) when !fixP->fx_done.
(arm_force_relocation): Remove #ifdef OBJ_ELF case.
* config/tc-arm.h (LOCAL_LABEL): Remove unnecessary parentheses.
(LOCAL_LABEL_PREFIX): Don't define.
gas/testsuite:
* gas/arm/thumb.s: Only branch to labels defined in this file.
* gas/arm/thumb.d, gas/arm/thumb32.d: Adjust expected output.

19 years ago * hppa-tdep.c (hppa_pc_requires_run_before_use): Really test all
brobecke [Mon, 13 Jun 2005 13:43:32 +0000 (13:43 +0000)]
    * hppa-tdep.c (hppa_pc_requires_run_before_use): Really test all
        bits of top byte in address.

19 years ago * eval.c (evaluate_subexp_standard): Add code to check the target
woodzltc [Mon, 13 Jun 2005 07:23:15 +0000 (07:23 +0000)]
* eval.c (evaluate_subexp_standard): Add code to check the target
type of a TYPE_CODE_PTR value when we encounter a f77 undetermined
arglist.  If it is array, string or function, work on the target
value instead.

19 years agogdb/
drow [Mon, 13 Jun 2005 02:41:45 +0000 (02:41 +0000)]
gdb/
* mi/mi-main.c (register_changed_p, get_register): Use
get_selected_frame.
(mi_execute_command): Call mi_out_rewind after an error.
testsuite/
* gdb.mi/mi-syn-frame.exp, gdb.mi/mi2-syn-frame.exp: Don't expect
excess MI output after an error.

19 years ago * acconfig.h: Remove.
drow [Mon, 13 Jun 2005 01:59:22 +0000 (01:59 +0000)]
* acconfig.h: Remove.
* configure.ac: Add a test for socklen_t.  Use three-argument
AC_DEFINE throughout.
* config.in: Regenerated using autoheader 2.59.
* configure: Regenerated.

* gdbreplay.c (socklen_t): Provide a default.
(remote_open): Use socklen_t.
* remote-utils.c (socklen_t): Provide a default.
(remote_open): Use socklen_t.
(convert_int_to_ascii, convert_ascii_to_int, decode_M_packet): Use
unsigned char.

* i387-fp.c (struct i387_fsave, struct i387_fxsave): Use unsigned
char for buffers.
* linux-low.c (linux_read_memory, linux_write_memory)
(linux_read_auxv): Likewise.
* mem-break.c (breakpoint_data, set_breakpoint_data, check_mem_read)
(check_mem_write): Likewise.
* mem-break.h (set_breakpoint_data, check_mem_read, check_mem_write):
Likewise.
* regcache.c (struct inferior_rgcache_data, registers_to_string)
(registers_from_string, register_data): Likewise.
* server.c (handle_query, main): Likewise.
* server.h (convert_ascii_to_int, convert_int_to_ascii)
(decode_M_packet): Likewise.
* target.c (read_inferior_memory, write_inferior_memory): Likewise.
* target.h (struct target_ops): Update read_memory, write_memory,
and read_auxv.
(read_inferior_memory, write_inferior_memory): Update.
* linux-low.h (struct linux_target_ops): Change type of breakpoint
to unsigned char *.
* linux-arm-low.c, linux-cris-low.c, linux-crisv32-low.c,
linux-i386-low.c, linux-m32r-low.c, linux-m68k-low.c,
linux-mips-low.c, linux-ppc-low.c, linux-ppc64-low.c,
linux-s390-low.c, linux-sh-low.c: Update for changes in
read_inferior_memory and the_low_target->breakpoint.

19 years agodaily update
amodra [Mon, 13 Jun 2005 00:00:09 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Mon, 13 Jun 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago* hppa-tdep.c (hppa_frame_prev_register)
kettenis [Sun, 12 Jun 2005 19:54:20 +0000 (19:54 +0000)]
* hppa-tdep.c (hppa_frame_prev_register)
(hppa_fallback_frame_prev_register)
(hppa_stub_frame_prev_register): Change type of last argument to
`gdb_byte *'.
(hppa_fetch_pointer_argument): Tweak comment.  Use
get_frame_register_unsigned instead of get_frame_register.
(hppa32_return_value, hppa64_return_value): Change type of readbuf
and writebuf arguments to `gdb_byte *'.  Remove unecessary casts
and local variables.
(hppa_pseudo_register_read): Change type of last argument to
`gdb_byte *'.

19 years ago * ld.texinfo (Command Line Options): Add @item for --hash-size.
drow [Sun, 12 Jun 2005 18:38:38 +0000 (18:38 +0000)]
* ld.texinfo (Command Line Options): Add @item for --hash-size.

19 years ago* m68k-tdep.c (m68k_frame_prev_register): Change type of last
kettenis [Sun, 12 Jun 2005 13:37:37 +0000 (13:37 +0000)]
* m68k-tdep.c (m68k_frame_prev_register): Change type of last
argument to `gdb_byte *'.

19 years ago* arm-tdep.c (set_disassembly_style, _initialize_arm_tdep):
kettenis [Sun, 12 Jun 2005 12:57:20 +0000 (12:57 +0000)]
* arm-tdep.c (set_disassembly_style, _initialize_arm_tdep):
Consitify regnames.

19 years ago* alpha-tdep.c (alpha_sigtramp_frame_prev_register)
kettenis [Sun, 12 Jun 2005 12:53:52 +0000 (12:53 +0000)]
* alpha-tdep.c (alpha_sigtramp_frame_prev_register)
(alpha_heuristic_frame_prev_register): Change type of last
argument to `gdb_byte *'.
(alpha_register_to_value, alpha_value_to_register)
(alpha_extract_return_value, alpha_store_return_value): Likewise.
* alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Likewise.

19 years ago* arm-tdep.c (arm_prologue_prev_register)
kettenis [Sun, 12 Jun 2005 12:15:25 +0000 (12:15 +0000)]
* arm-tdep.c (arm_prologue_prev_register)
(arm_sigtramp_prev_register): Change type of last argument to
`gdb_byte *'.

19 years ago * fhandler_socket.cc (fhandler_socket::recvmsg): Avoid SEGV in OpenSSH
corinna [Sun, 12 Jun 2005 12:01:07 +0000 (12:01 +0000)]
* fhandler_socket.cc (fhandler_socket::recvmsg): Avoid SEGV in OpenSSH
when trying to pass file descriptor by setting msg->msg_accrightslen
to 0.

19 years ago* m88k-tdep.c (m88k_frame_prev_register): Change type of last
kettenis [Sun, 12 Jun 2005 11:52:52 +0000 (11:52 +0000)]
* m88k-tdep.c (m88k_frame_prev_register): Change type of last
argument to `gdb_byte *'.

19 years ago* vax-tdep.c (vax_frame_prev_register): Change type of last
kettenis [Sun, 12 Jun 2005 11:17:49 +0000 (11:17 +0000)]
* vax-tdep.c (vax_frame_prev_register): Change type of last
argument to `gdb_byte *'.

19 years ago* sparc-tdep.c (sparc32_frame_prev_register): Change type of last
kettenis [Sun, 12 Jun 2005 11:10:56 +0000 (11:10 +0000)]
* sparc-tdep.c (sparc32_frame_prev_register): Change type of last
argument to `gdb_byte *'.
* sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_prev_register):
Likewise.
* sparcobsd-tdep.c (sparc32obsd_frame_prev_register): Likewise.
* sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_prev_register):
Likewise.
* sparc64-tdep.c (sparc64_frame_prev_register): Likewise.
* sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_prev_register):
Likewise.
* sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_prev_register):
Likewise.
* sparc64obsd-tdep.c (sparc64obsd_frame_prev_register): Likewise.
* sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_unwind):
Likewise.

19 years ago* sparc-tdep.c (sparc32_frame_prev_register): Change type of last
kettenis [Sun, 12 Jun 2005 11:10:45 +0000 (11:10 +0000)]
* sparc-tdep.c (sparc32_frame_prev_register): Change type of last
argument to `gdb_byte *'.
* sparcnbsd-tdep.c (sparc32nbsd_sigcontext_frame_prev_register):
Likewise.
* sparcobsd-tdep.c (sparc32obsd_frame_prev_register): Likewise.
* sparc-sol2-tdep.c (sparc32_sol2_sigtramp_frame_prev_register):
Likewise.
* sparc64-tdep.c (sparc64_frame_prev_register): Likewise.
* sparc64fbsd-tdep.c (sparc64fbsd_sigtramp_frame_prev_register):
Likewise.
* sparc64nbsd-tdep.c (sparc64nbsd_sigcontext_frame_prev_register):
Likewise.
* sparc64obsd-tdep.c (sparc64obsd_frame_prev_register): Likewise.
* sparc64-sol2-tdep.c (sparc64_sol2_sigtramp_frame_unwind):
Likewise.

19 years ago* amd64-tdep.c (amd64_frame_prev_register)
kettenis [Sun, 12 Jun 2005 09:19:05 +0000 (09:19 +0000)]
* amd64-tdep.c (amd64_frame_prev_register)
(amd64_sigtramp_frame_prev_register): Change type of last argument
to `gdb_byte *'.

19 years ago*** empty log message ***
gdbadmin [Sun, 12 Jun 2005 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Sun, 12 Jun 2005 00:00:05 +0000 (00:00 +0000)]
daily update

19 years ago* Makefile.in: Avoid initial heap allocation since cygwin has its own heap.
cgf [Sat, 11 Jun 2005 21:00:23 +0000 (21:00 +0000)]
* Makefile.in: Avoid initial heap allocation since cygwin has its own heap.

19 years ago* i386-tdep.c (i386_register_type): Return
kettenis [Sat, 11 Jun 2005 19:11:25 +0000 (19:11 +0000)]
* i386-tdep.c (i386_register_type): Return
builtin_type_void_func_ptr for %eip and builtin_type_void_data_ptr
for %ebp and %esp.

19 years ago * hppa.h (pa_opcodes): Use cM and cX instead of cm and cx,
danglin [Sat, 11 Jun 2005 15:33:52 +0000 (15:33 +0000)]
* hppa.h (pa_opcodes): Use cM and cX instead of cm and cx,
respectively, in various floating-point load and store patterns.

19 years ago* fhandler_console.cc (fhandler_console::read): Fix a compiler warning.
cgf [Sat, 11 Jun 2005 05:09:23 +0000 (05:09 +0000)]
* fhandler_console.cc (fhandler_console::read): Fix a compiler warning.

19 years ago* winsup.api/pthread/cancel2.c: Use explicit initializer for mutex.
cgf [Sat, 11 Jun 2005 04:59:53 +0000 (04:59 +0000)]
* winsup.api/pthread/cancel2.c: Use explicit initializer for mutex.
* winsup.api/pthread/mutex4.c (main): Ditto.
* winsup.api/pthread/mutex5.c: Reflect change in cygwin default mutex type.
* winsup.api/pthread/mutex6d.c: Ditto.

19 years ago* include/pthread.h: Change PTHREAD_MUTEX_DEFAULT to PTHREAD_MUTEX_NORMAL.
cgf [Sat, 11 Jun 2005 04:56:34 +0000 (04:56 +0000)]
* include/pthread.h: Change PTHREAD_MUTEX_DEFAULT to PTHREAD_MUTEX_NORMAL.
Revert PTHREAD_MUTEX_INITIALIZER to PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP
since that is actually closer to what linux does.
* thread.h (cw_cancel_action): New enum.
(cancelable_wait): Use cw_cancel_action as third argument.
* thread.cc (cancelable_wait): Ditto.  Don't wait for cancel if cancel_action
== cw_no_cancel.
(pthread::create): Don't wait for cancel event since that is racy.
(pthread_mutex::pthread_mutex): Set default to PTHREAD_MUTEX_ERRORCHECK.
(pthread_mutexattr::pthread_mutexattr): Ditto.
(pthread_mutex::_lock): Tell cancelable_wait not to wait for cancellation
event.
(semaphore::_timedwait): Accommodate change in cancelable_wait args.
(pthread::join): Ditto.

19 years ago*** empty log message ***
gdbadmin [Sat, 11 Jun 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Sat, 11 Jun 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago * fhandler_socket.cc (fhandler_socket::sendto): Always initialize
corinna [Fri, 10 Jun 2005 21:47:23 +0000 (21:47 +0000)]
* fhandler_socket.cc (fhandler_socket::sendto): Always initialize
ret to 0.
(fhandler_socket::sendmsg): Ditto.

19 years ago * elfcode.h (elf_write_relocs): Do nothing if there are no
drow [Fri, 10 Jun 2005 20:22:20 +0000 (20:22 +0000)]
* elfcode.h (elf_write_relocs): Do nothing if there are no
relocations.

19 years ago* winsup.api/winsup.exp: Remove (temporarily?) -nostdinc from build since it
cgf [Fri, 10 Jun 2005 19:32:29 +0000 (19:32 +0000)]
* winsup.api/winsup.exp: Remove (temporarily?) -nostdinc from build since it
causes compile failures with gcc 3.4.4.

19 years agowhitespace changes to hopefully force snapshot run.
cgf [Fri, 10 Jun 2005 18:44:23 +0000 (18:44 +0000)]
whitespace changes to hopefully force snapshot run.

19 years agoFix 2005-06-09 entry to use proper format.
jjohnstn [Fri, 10 Jun 2005 15:30:50 +0000 (15:30 +0000)]
Fix 2005-06-09 entry to use proper format.

19 years ago * cygwin.din (imaxabs): Export.
corinna [Fri, 10 Jun 2005 12:11:30 +0000 (12:11 +0000)]
* cygwin.din (imaxabs): Export.
(imaxdiv): Export.
(llabs): Export.
(lldiv): Export.
(strtoimax): Export.
(strtoumax): Export.
* include/inttypes.h (imaxabs): Activate declaration.
(imaxdiv): Ditto.
(strtoimax): Ditto.
(strtoumax): Ditto.
* include/cygwin/version.h: Bump API minor.

19 years ago * dwarf2.c (decode_line_info): Revert last change. Instead set
amodra [Fri, 10 Jun 2005 10:14:20 +0000 (10:14 +0000)]
* dwarf2.c (decode_line_info): Revert last change.  Instead set
initial low_pc to -1 to avoid need to test whether loc_pc has
been set.

19 years ago * ld-cris/libdso-10.d: Adjust for elf.sc .bss change.
amodra [Fri, 10 Jun 2005 07:28:55 +0000 (07:28 +0000)]
* ld-cris/libdso-10.d: Adjust for elf.sc .bss change.
* ld-cris/libdso-2.d: Likewise.
* ld-mmix/loc6.d: Likewise.

19 years ago * valprint.c (print_floating): Fix comment typo.
bje [Fri, 10 Jun 2005 06:07:29 +0000 (06:07 +0000)]
* valprint.c (print_floating): Fix comment typo.

19 years ago * config/tc-hppa.c (pa_block): Allocate just one byte for the
amodra [Fri, 10 Jun 2005 05:46:46 +0000 (05:46 +0000)]
* config/tc-hppa.c (pa_block): Allocate just one byte for the
fill pattern.

19 years ago2005-06-09 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 10 Jun 2005 01:09:14 +0000 (01:09 +0000)]
2005-06-09  Jeff Johnston  <jjohnstn@redhat.com>

        * ia64-tdep.c (ia64_pseudo_register_read): Use gdb_byte and
        protect libunwind references with HAVE_LIBUNWIND_IA64_H flag.
        * (ia64_pseudo_register_write): Use gdb_byte to remove warning.
        * (ia64_register_to_value, ia64_value_to_register): Ditto.
        * (ia64_frame_prev_register): Ditto.
        * (ia64_libunwind_frame_prev_register): Ditto.
        * (ia64_sigtramp_frame_prev_register): Ditto.
        * (ia64_libunwind_sigtramp_frame_prev_register): Ditto.
        * (ia64_store_return_value): Ditto.

2

19 years ago * ld-scripts/empty-aligned.t: Adjust alignment expressions so
amodra [Fri, 10 Jun 2005 00:44:01 +0000 (00:44 +0000)]
* ld-scripts/empty-aligned.t: Adjust alignment expressions so
that no .text? section is kept.  Also check setting vma and
lma.
* ld-scripts/empty-aligned.d: Update.

19 years agoremove conflict indicator
amodra [Fri, 10 Jun 2005 00:41:30 +0000 (00:41 +0000)]
remove conflict indicator

19 years ago * scripttempt/elf.sc (.bss): Align tail in a way that allows
amodra [Fri, 10 Jun 2005 00:39:54 +0000 (00:39 +0000)]
* scripttempt/elf.sc (.bss): Align tail in a way that allows
empty section pruning.

19 years ago*** empty log message ***
gdbadmin [Fri, 10 Jun 2005 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Fri, 10 Jun 2005 00:00:08 +0000 (00:00 +0000)]
daily update

19 years ago* cygthread.cc (cygthread::detach): Improve diagnostics for what should be an
cgf [Thu, 9 Jun 2005 23:48:06 +0000 (23:48 +0000)]
* cygthread.cc (cygthread::detach): Improve diagnostics for what should be an
impossible failure condition.

19 years ago* cygtls.h (_local_storage::setmode_file): New element.
cgf [Thu, 9 Jun 2005 22:33:52 +0000 (22:33 +0000)]
* cygtls.h (_local_storage::setmode_file): New element.
(_local_storage::setmode_mode): New element.
* tlsoffsets.h: Regenerate.
* cygwin.din (setmode): Define as cygwin_getmode.
* syscalls.cc (setmode_helper): Use setmode_* variables from tls rather than
using unthreadsafe static.
(setmode): Break out fwalk stuff.
(cygwin_setmode): New function.  Put fwalk stdio stuff here.

19 years ago* thread.cc (pthread_mutex::_lock): Use cancelable_wait rather than
cgf [Thu, 9 Jun 2005 20:59:55 +0000 (20:59 +0000)]
* thread.cc (pthread_mutex::_lock): Use cancelable_wait rather than
WaitForSingleObject.

19 years ago* cygwin.sc: Place .cygwin_dll_common in a more sensible spot.
cgf [Thu, 9 Jun 2005 20:45:59 +0000 (20:45 +0000)]
* cygwin.sc: Place .cygwin_dll_common in a more sensible spot.

19 years ago* cygwin.sc: Place .cygwin_dll_common.
cgf [Thu, 9 Jun 2005 19:29:26 +0000 (19:29 +0000)]
* cygwin.sc: Place .cygwin_dll_common.
* init.cc (threadfunc_ix): Use a more common name for the section name.

19 years ago* coffcode.h (sec_to_styp_flags): Set appropriate section flags when either
cgf [Thu, 9 Jun 2005 19:22:14 +0000 (19:22 +0000)]
* coffcode.h (sec_to_styp_flags): Set appropriate section flags when either
SEC_ALLOC OR SEC_LOAD.

19 years agoconfigure clean up patch from Steve Ellcey.
wilson [Thu, 9 Jun 2005 18:39:33 +0000 (18:39 +0000)]
configure clean up patch from Steve Ellcey.
* configure.in (AM_BINUTILS_WARNINGS): Add.
(BFD_NEED_DECLARATION) Replace with AC_CHECK_DECLS.
* config.in: Regenerate.
* configure: Regenerate.
* sysdep.h (NEED_DECLARATION_*): Replace with HAVE_DECL_*
* ldmain.c: Ditto.

19 years ago* include/pthread.h (PTHREAD_MUEXT_INITIALIZER): Change to
cgf [Thu, 9 Jun 2005 15:30:39 +0000 (15:30 +0000)]
* include/pthread.h (PTHREAD_MUEXT_INITIALIZER): Change to
PTHREAD_NORMAL_MUTEX_INITIALIZER_NP to be closer to linux default.

19 years ago * objdump.c (disassemble_bytes): Don't crash if q->howto == NULL.
jakub [Thu, 9 Jun 2005 14:51:41 +0000 (14:51 +0000)]
* objdump.c (disassemble_bytes): Don't crash if q->howto == NULL.
If q->howto->name == NULL, print q->howto->type as number instead.
(dump_reloc_set): Likewise.

19 years ago* coffcode.h (sec_to_styp_flags): Remove read/write flags from noload section
cgf [Thu, 9 Jun 2005 14:40:49 +0000 (14:40 +0000)]
* coffcode.h (sec_to_styp_flags): Remove read/write flags from noload section
header.  Do not add STYP_NOLOAD since it does not appear to be a valid PE flag.

19 years ago2005-06-09 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 9 Jun 2005 13:32:25 +0000 (13:32 +0000)]
2005-06-09  H.J. Lu  <hongjiu.lu@intel.com>

PR 1000
* dwarf2.c (lookup_address_in_line_info_table): Restore code
handling NULL function info, removed with 2005-04-03 change.

19 years ago * opncls.c (bfd_fopen): Mark returned BFD as cacheable if FD == -1.
mmitchel [Thu, 9 Jun 2005 07:30:13 +0000 (07:30 +0000)]
* opncls.c (bfd_fopen): Mark returned BFD as cacheable if FD == -1.

19 years ago* thread.cc (cancelable_wait): No-op change to make sure that res is always a
cgf [Thu, 9 Jun 2005 05:13:59 +0000 (05:13 +0000)]
* thread.cc (cancelable_wait): No-op change to make sure that res is always a
valid WFMO return.

19 years agoChange pthread::cancelable_wait to just cancelable_wait, throughout.
cgf [Thu, 9 Jun 2005 05:11:50 +0000 (05:11 +0000)]
Change pthread::cancelable_wait to just cancelable_wait, throughout.
* thread.h (cw_sig_wait): New enum.
(fast_mutex::lock): Use cancelable_wait with resumable signal.
(cancelable_wait): Change fourth argument to cw_sig_wait enum.
* thread.cc (cancelable_wait): Ditto.  Loop on signal detection if fourth
argument == cw_sig_resume.

19 years ago * ldexp.c (fold_unary <ALIGN_K>): Revert last change.
amodra [Thu, 9 Jun 2005 02:59:57 +0000 (02:59 +0000)]
* ldexp.c (fold_unary <ALIGN_K>): Revert last change.

19 years ago * ld-scripts/empty-aligned.d: Adjust.
amodra [Thu, 9 Jun 2005 02:06:57 +0000 (02:06 +0000)]
* ld-scripts/empty-aligned.d: Adjust.

19 years ago * ld.h (lang_phase_type): Move to..
amodra [Thu, 9 Jun 2005 02:05:45 +0000 (02:05 +0000)]
* ld.h (lang_phase_type): Move to..
* ldexp.h: ..here.  Add lang_mark_phase_enum.
(node_type): Remove etree_undef and etree_unspec.
(exp_data_seg): Delete.
(struct ldexp_control, expld): New.
(invalid, exp_mark_used_section): Delete.
(exp_fold_tree, exp_get_vma, exp_get_value_int, exp_get_fill,
exp_get_abs_int): Update prototypes.
* ldexp.c (assigning_to_dot): Delete.
(expld): Define.
(make_abs): Operate directly on expld.result.  Update all callers.
(new_abs): Likewise.  Return void.
(new_rel_from_abs): Rename from new_rel_from_section.
(new_rel, new_rel_from_abs): Operate on expld.result and return void.
Update all callers.
(fold_unary): Operate on expld.result and return void.  Remove
"current_section", "allocation_done", "dot", "dotp" and "mark_used"
params.  Update all callers.
(fold_binary, fold_trinary, fold_name, exp_fold_tree_1): Likewise.
(fold_unary <ALIGN_K>): Ensure alignment is absolute.
(fold_unary <ABSOLUTE>): Use make_abs.
(fold_unary <DATA_SEGMENT_END>): Evaluate mark_phase as for
allocating_phase.
(fold_binary <DATA_SEGMENT_ALIGN, DATA_SEGMENT_RELRO_END, >): Ditto.
(fold_binary <'%','/'>): Don't error if marking.
(fold_name <SIZEOF_HEADERS>): Don't call bfd_sizeof_headers when
marking.
(fold_name <NAME>): Remove FIXME; -R is handled correctly.  Don't
error when marking.
(fold_name <ADDR, LOADADDR, SIZEOF>): Don't set SEC_KEEP.
(exp_fold_tree_1): Don't error when marking.
(exp_fold_tree_1 <etree_rel>): Evaluate in all phases except first.
(exp_fold_tree_1 <etree_assign to dot>): Don't check for NULL
current section, instead check for NULL dotp.
(exp_fold_tree_1 <etree_provide>): Don't evaluate the assignment
source unless the symbol is referenced and undefined.
(exp_fold_tree): Remove "allocation_done" and "dot" params.  Save
params to expld.
(exp_fold_tree_no_dot): Remove "current_section", "allocation_done
and "mark_used" params.  Save params to expld.  Update all callers.
(exp_assop): Do without temp var.
(exp_print_tree <etree_undef>): Delete code.
(exp_get_vma): Remove "allocation_done" param.  Correct error return.
(exp_get_fill, exp_get_abs_int): Likewise.
(exp_get_value_int): Remove "allocation_done" param.
(exp_mark_used_section): Delete.
* ldgram.y (fill_exp): Update exp_get_fill call.
(origin_spec, length_spec): Update exp_get_vma call.
* ldlang.c (lang_init): Don't bother clearing lang_statement_iteration.
(lang_mark_used_section_1, lang_mark_used_section): Delete.
(strip_excluded_output_sections): Call one_lang_size_sections_pass in
marking mode.  Merge old lang_mark_used_section code.  Correct handling
of output sections with excluded input sections and data statements.
Don't drop non-zero sized sections.  Don't zap os->bfd_section.
Do set SEC_EXCLUDE when appropriate.
(print_output_section_statement): Update for changed ldexp.c
interface.
(print_assignment, lang_size_sections_1): Likewise.
(lang_do_assignments_1, lang_enter_output_section_statement): Likewise.
(lang_new_phdr, lang_record_phdrs): Likewise.
(lang_size_sections): Likewise.
(insert_pad): Use following statement if it is a pad, rather than
creating a new one.
(lang_size_sections_1 <lang_output_section_statement_enum>): Do
process ignored output section to set vma and lma, but don't
update dot for these sections.  Don't error if marking.
(lang_size_sections_1 <lang_assignment_statement_enum>): Don't
update dot for ignored sections.
(lang_size_sections_1 <lang_data_statement_enum>): Don't mark absolute
section with SEC_ALLOC.
(one_lang_size_sections_pass): New function.
(lang_size_sections): Remove first five params.  Set expld.phase on
entry and exit.   Use one_lang_size_sections_pass.
(lang_do_assignments): Remove all params.  Update all callers.
(lang_reset_memory_regions): Clear os->processed for all output
section statements.
* ldlang.h (lang_do_assignments): Update prototype.
(lang_size_sections): Likewise.
(one_lang_size_sections_pass): Declare.
* pe-dll.c (pe_dll_fill_sections, pe_exe_fill_sections): Update
lang_size_sections and lang_do_assignments calls.
* emultempl/elf32.em (layout_sections_again): Likewise.
* emultempl/ppc64elf.em (ppc_before_allocation): Use
one_lang_size_sections_pass.

19 years ago * elflink.c (elf_mark_used_section): Delete.
amodra [Thu, 9 Jun 2005 02:02:13 +0000 (02:02 +0000)]
* elflink.c (elf_mark_used_section): Delete.
(bfd_elf_gc_sections): Call bfd_generic_gc_sections.
* reloc.c (bfd_mark_used_section): New function.
(bfd_generic_gc_sections): Call bfd_mark_used_section.

19 years agodaily update
amodra [Thu, 9 Jun 2005 00:00:04 +0000 (00:00 +0000)]
daily update

19 years ago*** empty log message ***
gdbadmin [Thu, 9 Jun 2005 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

19 years ago2005-06-08 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 8 Jun 2005 21:54:18 +0000 (21:54 +0000)]
2005-06-08  Jeff Johnston  <jjohnstn@redhat.com>
            David Mosberger <davidm@hpl.hp.com>

        * ia64-tdep.c (KERNEL_START): New macro.
        (ia64_pseudo_register_read): Fix code to use libunwind to properly
        get the rse registers.
        (ia64_frame_this_id): Mark outermost frame with null frame id.
        (ia64_sigtramp_frame_prev_register): Fix up debug output.
        (ia64_access_rse_reg): New accessor function.
        (ia64_access_mem): Add special logic for accessing the
        kernel's unwind table.
        (getunwind_table): Fix for corefiles.
        (get_kernel_table): Fix to handle vDSO.
        (ia64_libunwind_frame_this_id): Check for null frame id and
        don't unwind past pc value of 0.  Fix debugging output.
        (ia64_libunwind_sigtramp_frame_this_id): New function.
        (ia64_libunwind_sigtramp_frame_prev_register): Ditto.
        (ia64_libunwind_sigtramp_frame_sniffer): Ditto.
        (ia64_libunwind_sigtramp_frame_unwind): New unwinder.
        (ia64_unw_rse_accessors): New libunwind accessors.
        (ia64_libunwind_descr): Add ia64_unw_rse_accessors.
        (ia64_gdbarch_init)[HAVE_LIBUNWIND_IA64_H]: Use
        ia64_libunwind_sigtramp_frame_sniffer instead of
        ia64_sigtramp_frame_sniffer.
        * libunwind-frame.c (libunwind_frame_set_descr): Add
        special register accessors.
        (libunwind_frame_cache): Add special logic to check for
        0 pc value.  Check for a signal trampoline frame.
        (libunwind_frame_this_id): Check if libunwind_frame_cache
        returns NULL.
        (libunwind_frame_prev_register): Check for NULL cache.
        (libunwind_frame_base_address): Ditto.
        (libunwind_sigtramp_frame_sniffer): New function.
        (libunwind_get_reg_special): Ditto.
        (libunwind_load): Add unw_is_signal_frame support.
        * libunwind-frame.h (struct libunwind_descr): Add special_accessors
        field.
        (libunwind_sigtramp_frame_sniffer): New prototype.
        (libunwind_get_reg_special): Ditto.

19 years ago* cygwin.sc: Apparently nonloading sections need to go last.
cgf [Wed, 8 Jun 2005 20:56:30 +0000 (20:56 +0000)]
* cygwin.sc: Apparently nonloading sections need to go last.

19 years ago* cygwin.sc: Restore resource and reloc sections and use more modern syntax for
cgf [Wed, 8 Jun 2005 20:18:20 +0000 (20:18 +0000)]
* cygwin.sc: Restore resource and reloc sections and use more modern syntax for
stabs sections.

19 years agoWarning and partial fix for gcc -freorder-blocks-and-partition related problem.
wilson [Wed, 8 Jun 2005 19:47:57 +0000 (19:47 +0000)]
Warning and partial fix for gcc -freorder-blocks-and-partition related problem.
PR 994
* config/tc-ia64.c (slot_index): Revert last change.  If first_frag
is NULL, then emit a warning, and return the current index.

19 years agoopcodes:
zack [Wed, 8 Jun 2005 17:27:39 +0000 (17:27 +0000)]
opcodes:
* arm-opc.h: Delete; fold contents into ...
* arm-dis.c: ... here.  Move includes of internal COFF headers
next to includes of internal ELF headers.
(streq, WORD_ADDRESS, BDISP, BDISP23): Delete, unused.
(struct arm_opcode): Rename struct opcode32.  Make 'assembler' const.
(struct thumb_opcode): Rename struct opcode16.  Make 'assembler' const.
(arm_conditional, arm_fp_const, arm_shift, arm_regname, regnames)
(iwmmxt_wwnames, iwmmxt_wwssnames):
Make const.
(regnames): Remove iWMMXt coprocessor register sets.
(iwmmxt_regnames, iwmmxt_cregnames): New statics.
(get_arm_regnames): Adjust fourth argument to match above changes.
(set_iwmmxt_regnames): Delete.
(print_insn_arm): Constify 'c'.  Use ISO syntax for function
pointer calls.  Expand sole use of BDISP.  Use iwmmxt_regnames
and iwmmxt_cregnames, not set_iwmmxt_regnames.
(print_insn_thumb16, print_insn_thumb32): Constify 'c'.  Use
ISO syntax for function pointer calls.
include:
* dis-asm.h (get_arm_regnames): Update prototype.

19 years agoPR991
nickc [Wed, 8 Jun 2005 17:02:53 +0000 (17:02 +0000)]
PR991
* config/tc-m68k.c (m68k_ip): Test for insn compatiblity using a temporary copy
  of the operands array so that changes can be safely backed out if the insn
  does not match.
  (m68k_compare_opcode): Shortcut the test when the parameters are the same.
  Return 1 if the names match but the second opcode is further on in the array
  than the first.

19 years agoPR 994
nickc [Wed, 8 Jun 2005 15:47:44 +0000 (15:47 +0000)]
PR 994
* config/tc-ia64.c (slot_index): Check for a NULL first_frag.

19 years ago* environ.cc (spenvs): Remove cut/paste error which associated CYGWIN_DEBUG
cgf [Wed, 8 Jun 2005 15:42:57 +0000 (15:42 +0000)]
* environ.cc (spenvs): Remove cut/paste error which associated CYGWIN_DEBUG
with HOME.

19 years ago(use_parallel): Change default value from 1 to 0.
nickc [Wed, 8 Jun 2005 14:39:51 +0000 (14:39 +0000)]
(use_parallel): Change default value from 1 to 0.

19 years ago * emulparams/elf32ms1.sh: New.
aldyh [Wed, 8 Jun 2005 13:03:22 +0000 (13:03 +0000)]
* emulparams/elf32ms1.sh: New.

19 years ago * security.cc (cygwin_logon_user): Run LogonUser in the primary
corinna [Wed, 8 Jun 2005 10:06:11 +0000 (10:06 +0000)]
* security.cc (cygwin_logon_user): Run LogonUser in the primary
process token context.  Fix potential handle leak.

19 years ago * expression.h (enum exp_opcode): Fix a comment typo.
woodzltc [Wed, 8 Jun 2005 06:35:49 +0000 (06:35 +0000)]
* expression.h (enum exp_opcode): Fix a comment typo.

19 years ago<2005-06-08> Wu Zhou <woodzltc@cn.ibm.com>
woodzltc [Wed, 8 Jun 2005 06:28:28 +0000 (06:28 +0000)]
<2005-06-08>  Wu Zhou  <woodzltc@cn.ibm.com>

* expression.h (enum exp_opcode): Fix a comment typo.

19 years ago * opncls.c (bfd_fdopenr): Don't set bfd_error unconditionally.
amodra [Wed, 8 Jun 2005 03:51:30 +0000 (03:51 +0000)]
* opncls.c (bfd_fdopenr): Don't set bfd_error unconditionally.

19 years ago * opncls.c (bfd_fopen): Don't set bfd_error unconditionally.
amodra [Wed, 8 Jun 2005 03:16:47 +0000 (03:16 +0000)]
* opncls.c (bfd_fopen): Don't set bfd_error unconditionally.

19 years ago*** empty log message ***
gdbadmin [Wed, 8 Jun 2005 00:00:36 +0000 (00:00 +0000)]
*** empty log message ***

19 years agodaily update
amodra [Wed, 8 Jun 2005 00:00:07 +0000 (00:00 +0000)]
daily update

19 years ago * opncls.c (bfd_fdopenr): Add missing break statements.
mmitchel [Tue, 7 Jun 2005 23:59:59 +0000 (23:59 +0000)]
* opncls.c (bfd_fdopenr): Add missing break statements.

19 years ago2005-06-07 Eric Christopher <echristo@redhat.com>
echristo [Tue, 7 Jun 2005 23:56:47 +0000 (23:56 +0000)]
2005-06-07  Eric Christopher  <echristo@redhat.com>

        * Makefile.am (eelf32ms1.c): Use tab.
        * Makefile.in: Regenerate.

2005-06-07  Eric Christopher  <echristo@redhat.com>

        * readelf.c (guess_is_rela): Support ms1.
        (dump_relocations): Ditto.
        (get_machine_name): Ditto.

19 years ago * opncls.c (bfd_fopen): New API.
mmitchel [Tue, 7 Jun 2005 22:53:28 +0000 (22:53 +0000)]
* opncls.c (bfd_fopen): New API.
(bfd_openr): Use it.
(bfd_fdopenr): Likewise.
* bfd-in2.h: Regenerated.

19 years ago * arm-dis.c: Split up the comments describing the format codes, so
zack [Tue, 7 Jun 2005 22:16:51 +0000 (22:16 +0000)]
* arm-dis.c: Split up the comments describing the format codes, so
that the ARM and 16-bit Thumb opcode tables each have comments
preceding them that describe all the codes, and only the codes,
valid in those tables.  (32-bit Thumb table is already like this.)
Reorder the lists in all three comments to match the order in
which the codes are implemented.
Remove all forward declarations of static functions.  Convert all
function definitions to ISO C format.
(print_insn_arm, print_insn_thumb16, print_insn_thumb32):
Return nothing.
(print_insn_thumb16): Remove unused case 'I'.
(print_insn): Update for changed calling convention of subroutines.

19 years ago * Makefile.am (readelf.o): Depend on ms1.h.
aldyh [Tue, 7 Jun 2005 21:14:09 +0000 (21:14 +0000)]
* Makefile.am (readelf.o): Depend on ms1.h.

* Makefile.in: Regenerate.

* readelf.c: Include ms1.h.