OSDN Git Service
drow [Tue, 18 May 2004 21:20:06 +0000 (21:20 +0000)]
* dv-glue.c (hw_glue_finish): Cast result of sizeof to long before
passing it to printf.
drow [Tue, 18 May 2004 21:19:53 +0000 (21:19 +0000)]
* Makefile.in (stamp-xmloop, stamp-2mloop): Use -outfile-suffix.
nickc [Tue, 18 May 2004 16:18:54 +0000 (16:18 +0000)]
Fixes for assembling with an ARM targeted version of GAS
zack [Tue, 18 May 2004 02:00:58 +0000 (02:00 +0000)]
* Makefile.def, Makefile.tpl, configure.in: Remove all mention
of libf2c.
* configure, Makefile.in: Regenerate.
zack [Tue, 18 May 2004 02:00:47 +0000 (02:00 +0000)]
* Makefile.def, Makefile.tpl, configure.in: Remove all mention
of libf2c.
* configure, Makefile.in: Regenerate.
amodra [Tue, 18 May 2004 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 18 May 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
bwilson [Mon, 17 May 2004 22:48:55 +0000 (22:48 +0000)]
* ld.texinfo (Output Section Address): Correct subsection name.
kettenis [Mon, 17 May 2004 22:12:12 +0000 (22:12 +0000)]
* vax-tdep.c (vax_return_value): Implement
RETURN_VALUE_ABI_RETURNS_ADDRESS.
kettenis [Mon, 17 May 2004 21:56:17 +0000 (21:56 +0000)]
* vax-tdep.c (vax_return_value): Fix typo.
* alphabsd-nat.c: Update copyright year.
(getregs_supplies): Replace PC_REGNUM with ALPHA_PC_REGNUM.
gdbadmin [Mon, 17 May 2004 21:00:02 +0000 (21:00 +0000)]
*** empty log message ***
cagney [Mon, 17 May 2004 20:40:22 +0000 (20:40 +0000)]
2004-05-17 Andrew Cagney <cagney@redhat.com>
* MAINTAINERS: Mark Salter was also responsible for
testsuite/config/
bwilson [Mon, 17 May 2004 20:33:33 +0000 (20:33 +0000)]
* elf32-xtensa.c (xtensa_get_property_section_name): Determine linkonce
section names by inserting a new substring after .gnu.linkonce, except
for .gnu.linkonce.t.* where the "t." is replaced.
nickc [Mon, 17 May 2004 19:50:15 +0000 (19:50 +0000)]
Add PowerPC LynxOS support
cagney [Mon, 17 May 2004 19:16:05 +0000 (19:16 +0000)]
2004-05-17 Andrew Cagney <cagney@redhat.com>
* NEWS: Mention signal fixes.
hjl [Mon, 17 May 2004 17:38:44 +0000 (17:38 +0000)]
2004-05-17 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/frame.exp: New file. Test read-only .eh_frame and
.gcc_except_table sections.
* ld-elf/frame.s: Likewise.
* ld-elf/table.s: Likewise.
* ld-elf/tbss.s: Likewise.
tausq [Mon, 17 May 2004 16:46:05 +0000 (16:46 +0000)]
2004-05-17 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (hppa_stub_frame_unwind_cache): For HPUX stub unwinding,
check to see if we are unwinding an export stub. Export stubs clobber
the %rp in the call path and stores the original rp in a stack slot.
jimb [Mon, 17 May 2004 16:40:15 +0000 (16:40 +0000)]
* MAINTAINERS: Update address for J.T. Conklin.
bwilson [Mon, 17 May 2004 16:39:58 +0000 (16:39 +0000)]
binutils ChangeLog:
2004-05-17 David Heine <dlheine@tensilica.com>
* objcopy.c (setup_bfd_headers): New function.
(copy_object): Call setup_bfd_headers.
bfd ChangeLog:
2004-05-17 David Heine <dlheine@tensilica.com>
* aout-target.h (MY_bfd_copy_private_header_data): Define.
* aout-tic30.c (MY_bfd_copy_private_header_data): Define.
* bfd.c (bfd_copy_private_header_data): Define.
* coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Add entries for new
interface.
* coff64-rs6000.c (rs6000coff64_vec, aix5coff64_vec): Likewise.
* coffcode.h (coff_bfd_copy_private_header_data): Define.
* elf-bfd.h (_bfd_elf_copy_private_header_data): Declare.
* elf.c (_bfd_elf_copy_private_section_data): Remove code to set up
segments by calling copy_private_bfd_data.
(_bfd_elf_copy_private_header_data): Define.
* elfxx-target.h (bfd_elfNN_bfd_copy_private_header_data): Define.
* libbfd-in.h (_bfd_generic_bfd_copy_private_header_data): Define.
* libecoff.h (_bfd_ecoff_bfd_copy_private_header_data): Define.
* mach-o.c (bfd_mach_o_bfd_copy_private_header_data): Define.
* mmo.c (mmo_bfd_copy_private_header_data): Define.
* ppcboot.c (ppcboot_bfd_copy_private_header_data): Define.
* som.c (som_bfd_copy_private_header_data): Define.
* targets.c (BFD_JUMP_TABLE_COPY): Add _bfd_copy_private_header_data.
* vms.c (vms_bfd_copy_private_header_data): Define.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
corinna [Mon, 17 May 2004 16:14:01 +0000 (16:14 +0000)]
* grp.cc (getgrgid_r): Replace struct group by struct __group32 in
argument definition.
(getgrnam_r): Ditto.
corinna [Mon, 17 May 2004 16:06:13 +0000 (16:06 +0000)]
* libc/include/grp.h: Declare getgrnam_r and getgrgid_r also on Cygwin.
corinna [Mon, 17 May 2004 16:05:59 +0000 (16:05 +0000)]
* cygwin.din: Add symbols flockfile, ftrylockfile, funlockfile,
getgrgid_r, getgrnam_r and getlogin_r.
* grp.cc (getgrgid_r): New function.
(getgrnam_r): Ditto.
* syscalls.cc (flockfile): Ditto.
(ftrylockfile): Ditto.
(funlockfile): Ditto.
* sysconf.cc (sysconf): Return LOGIN_NAME_MAX in case of
_SC_LOGIN_NAME_MAX.
* thread.cc (__cygwin_lock_trylock): Define int. Return value from
call to pthread_mutex_trylock.
* uinfo.cc (getlogin_r): New function.
* include/limits.h: Define LOGIN_NAME_MAX.
* include/cygwin/version.h: Bump API minor number.
* include/sys/lock.h: Add declarations for __cygwin_lock_xxx functions.
* include/sys/stdio.h: Add define for _ftrylockfile.
cgf [Mon, 17 May 2004 15:55:42 +0000 (15:55 +0000)]
* tty.cc (tty_list::init): Move hmaster initialization earlier to prevent
compilation error.
cgf [Mon, 17 May 2004 15:27:55 +0000 (15:27 +0000)]
Change the name "title_mutex" to "tty_mutex" throughout.
* tty.h (tty_list::allocate_tty): Turn argument into a boolean.
* tty.cc (tty_list::init): Protect entire allocation operation with tty_mutex
(formerly title_mutex) to protect against allocation races.
tausq [Mon, 17 May 2004 15:16:38 +0000 (15:16 +0000)]
2004-05-17 Randolph Chung <tausq@debian.org>
* hppa-tdep.c: Remove superfluous #include's.
* Makefile.in (hppa-tdep.o): Update dependencies.
tausq [Mon, 17 May 2004 14:59:14 +0000 (14:59 +0000)]
2004-05-17 Randolph Chung <tausq@debian.org>
* hppa-tdep.c (THREAD_INITIAL_FRAME_SYMBOL): Delete unused symbol.
(THREAD_INITIAL_FRAME_SYM_LEN): Likewise.
(unwind_command, hppa_alignof, prologue_inst_adjust_sp)
(is_branch, inst_saves_gr, inst_saves_fr, compare_unwind_entries)
(read_unwind_info, internalize_unwinds, record_text_segment_lowaddr):
Remove static function declarations.
bje [Mon, 17 May 2004 11:20:28 +0000 (11:20 +0000)]
* gprof.texi (Output Options): Correct last patch to use @itemx, not
@item, for options with long option alternatives.
kettenis [Mon, 17 May 2004 10:50:32 +0000 (10:50 +0000)]
* m68k-tdep.h (m68k_regnum): Add M68K_D2_REGNUM, M68K_D7_REGNUM
and M68K_A2_REGNUM.
bje [Mon, 17 May 2004 05:04:26 +0000 (05:04 +0000)]
* gprof.texi (Introduction): Update synopsis.
(Output Options): Document -r and -R.
(Analysis Options): Document -t, --table-length.
(Miscellaneous Options): Document -h, --help.
amodra [Mon, 17 May 2004 00:00:08 +0000 (00:00 +0000)]
daily update
kettenis [Sun, 16 May 2004 23:04:13 +0000 (23:04 +0000)]
* m68k-tdep.c (m68k_svr4_return_value): Implement
RETURN_VALUE_ABI_RETURNS_ADDRESS.
cgf [Sun, 16 May 2004 16:38:27 +0000 (16:38 +0000)]
add missing file
corinna [Sun, 16 May 2004 15:38:03 +0000 (15:38 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Use original flags
value in each WSARecvFrom call.
(fhandler_socket::recvmsg): Ditto. Reformat slightly.
kettenis [Sun, 16 May 2004 13:28:03 +0000 (13:28 +0000)]
* sol-thread.c Update copyright year. Fix various coding
standards violations. Tweak a few comments.
(td_err_string, td_state_string, thread_to_lwp, lwp_to_thread):
Delete prototypes.
tausq [Sun, 16 May 2004 04:33:40 +0000 (04:33 +0000)]
2004-05-15 Randolph Chung <tausq@debian.org>
* hppa-tdep.h (hppa_frame_prev_register_helper): Pass save_regs
as pointer instead of array reference since HPUX compiler does
not accept unsized array arguments.
* somsolib.c (dld_flags_buffer): Use constant array size.
cgf [Sun, 16 May 2004 04:18:50 +0000 (04:18 +0000)]
* cygthread.cc (cygthread::is): Eliminate.
* cygthread.h (cygthread::is): Eliminate declaratin.
* fhandler_console.cc (fhandler_console::read): Only wait for signal_arrived in
the main thread.
* fhandler_socket.cc: Include new "wininfo.h".
(fhandler_socket::ioctl): Use 'winmsg' rather than 'gethwnd()'.
* sync.cc (muto::grab): Define new function.
(muto::acquire): Use tls pointer rather than tid.
(muto::acquired): Ditto.
(muto::reset): Delete.
(muto::release): Ditto. Also implement "close on last release".
* sync.h (muto::tid): Delete.
(muto::tls): New field.
(muto::ismine): Delete.
(muto::owner): Delete.
(muto::unstable): Delete.
(muto::reset): Delete.
(muto::upforgrabs): New method.
(muto::grab): Ditto.
(new_muto_name): New define.
* wininfo.h: New file.
(wininfo): New class.
* window.cc: Rework throughout to use winfo class for controlling invisible
window operation.
(gethwnd): Delete definition.
* winsup.h (gethwnd): Delete declaration.
amodra [Sun, 16 May 2004 00:00:06 +0000 (00:00 +0000)]
daily update
kettenis [Sat, 15 May 2004 21:06:50 +0000 (21:06 +0000)]
* amd64obsd-tdep.c (amd64obsd_sigtramp_p): Replace hexadecimal
offset with decimal offset.
(amd64obsd_sigcontext_addr): Return correct address for entire
signal trampoline.
ths [Sat, 15 May 2004 18:58:05 +0000 (18:58 +0000)]
* elfxx-mips.c (MINUS_TWO): Define.
(mips_elf_higher, mips_elf_highest,
mips_elf_create_dynamic_relocation): Use MINUS_ONE and MINUS_TWO for
some bfd_vma values.
(_bfd_mips_elf_finish_dynamic_symbol): Likewise. Code cleanup.
kettenis [Sat, 15 May 2004 17:11:47 +0000 (17:11 +0000)]
* vax-tdep.c (vax_frame_num_args): Use get_frame_base_address
instead of get_frame_base.
kettenis [Sat, 15 May 2004 17:04:09 +0000 (17:04 +0000)]
* i386bsd-nat.c (supply_gregset): Use regcache_raw_supply.
(fill_gregset): Use regcache_raw_collect.
kettenis [Sat, 15 May 2004 17:02:09 +0000 (17:02 +0000)]
* config/djgpp/fnchange.lst: Add entries for ppcobsd-nat.c and
ppcobsd-tdep.c.
kettenis [Sat, 15 May 2004 17:00:30 +0000 (17:00 +0000)]
*** empty log message ***
kettenis [Sat, 15 May 2004 16:47:29 +0000 (16:47 +0000)]
* config/sparc/tm-nbsd64.h: Remove file.
* config/tm-sunos.h: Remove file.
cgf [Sat, 15 May 2004 16:10:41 +0000 (16:10 +0000)]
revert previous not-ready-for-primetime checkin.
cgf [Sat, 15 May 2004 16:09:04 +0000 (16:09 +0000)]
* cygheap.h: Remove some parameter names from declarations throughout.
(cygheap::set): Reflect changes in declaration for arguments and return value
from previous checkin.
cgf [Sat, 15 May 2004 15:55:43 +0000 (15:55 +0000)]
* cygheap.h (cwdstuff::set): Modify return value and arguments.
* path.cc (chdir): Specify PC_POSIX. Do not call SetCurrentDirectory. Set
posix_cwd in a way that does not break find.exe. Change call to cwd.set.
(cwdstuff::get_initial): Do not call GetCurrentDirectory here.
(cwdstuff::set): Call SetCurrentDirectory and GetCurrentDirectory as needed.
nickc [Sat, 15 May 2004 14:09:08 +0000 (14:09 +0000)]
Cope with ARM mapping symbols
nickc [Sat, 15 May 2004 13:10:30 +0000 (13:10 +0000)]
Make 'insn' argument of iq2000_cgen_insn_supported be const.
dannysmith [Sat, 15 May 2004 10:08:05 +0000 (10:08 +0000)]
2004-05-15 Filip Navara <xnavara@volny.cz>
* include/ddk/kbdmou.h: New file.
* lib/ddk/videoprt.def (VideoPortMapBankedMemory,
VideoPortMapDmaMemory, VideoPortMapMemory): Correct suffix.
* lib/ddk/ntoskrnl.def (_snprintf, _snwprintf, _vsnprintf,
_vsnwprintf, sprintf, swprintf): Export.
dannysmith [Sat, 15 May 2004 09:47:01 +0000 (09:47 +0000)]
2004-05-15 Filip Navara <xnavara@volny.cz>
* include/ddk/ntddk.h: Don't set 4-byte alignment on included
headers.
brobecke [Sat, 15 May 2004 05:57:16 +0000 (05:57 +0000)]
* rs6000-tdep.c (store_param_on_stack_p): New function,
an improved version of some code extracted from skip_prologue().
(skip_prologue): Use store_param_on_stack_p() to detect
instructions saving a parameter on the stack. Detect when r0
is used to save a parameter.
Do not mark "li rx, SIMM" instructions as part of the prologue,
unless the following instruction is also part of the prologue.
amodra [Sat, 15 May 2004 00:00:06 +0000 (00:00 +0000)]
daily update
cagney [Fri, 14 May 2004 18:45:41 +0000 (18:45 +0000)]
2004-05-14 Andrew Cagney <cagney@redhat.com>
* infrun.c (handle_inferior_event): Simplify
STEP_OVER_UNDEBUGGABLE.
danglin [Fri, 14 May 2004 17:42:47 +0000 (17:42 +0000)]
* som.c (log2): Rename to exact_log2. Adjust all callers.
cagney [Fri, 14 May 2004 15:49:00 +0000 (15:49 +0000)]
2004-05-14 Andrew Cagney <cagney@redhat.com>
* infrun.c (handle_step_into_function): Delete function.
(handle_inferior_event): Inline calls to
handle_step_into_function.
guitton [Fri, 14 May 2004 14:12:12 +0000 (14:12 +0000)]
* rs6000-nat.c: Fix a comment.
jimb [Fri, 14 May 2004 07:17:42 +0000 (07:17 +0000)]
Committed by Jim Blandy <jimb@redhat.com>:
* regcache.c (struct regcache_descr): fix comment spelling.
amodra [Fri, 14 May 2004 00:32:17 +0000 (00:32 +0000)]
daily update
brobecke [Thu, 13 May 2004 22:55:32 +0000 (22:55 +0000)]
* aix-thread.c: s/ppc_floating_point_p/ppc_floating_point_unit_p/.
Fixes a link link failure.
brobecke [Thu, 13 May 2004 22:31:53 +0000 (22:31 +0000)]
* aix-thread.c (store_regs_kernel_thread): Fix a little obvious
error that was causing the build to fail.
brobecke [Thu, 13 May 2004 22:26:38 +0000 (22:26 +0000)]
* aix-thread.c: #include "gdb_string.h". Needed for memset and memcopy.
* Makefile.in (aix-thread.o): Add dependency on gdb_string.h.
jimb [Thu, 13 May 2004 19:36:02 +0000 (19:36 +0000)]
* aix-thread.c (pdc_read_regs, supply_gprs64, supply_fprs)
(fetch_regs_user_thread, fetch_regs_kernel_thread)
(store_regs_user_thread, store_regs_kernel_thread): Use
ppc_num_gprs and ppc_num_fprs instead of '32' and '31'.
* ppc-linux-nat.c (fill_gregset): Same.
* ppc-linux-tdep.c (ppc_linux_supply_gregset)
(ppc_linux_sigtramp_cache): Same.
* ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_fill_reg)
(ppcnbsd_sigtramp_cache_init): Same.
* rs6000-nat.c (fetch_core_registers): Same.
* rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset)
(rs6000_frame_cache): Same.
cagney [Thu, 13 May 2004 19:33:58 +0000 (19:33 +0000)]
2004-05-13 Andrew Cagney <cagney@redhat.com>
* infrun.c (handle_inferior_event): Check for
STEP_OVER_UNDEBUGGABLE after signal trampolines and function
calls. Update comments.
jimb [Thu, 13 May 2004 19:27:06 +0000 (19:27 +0000)]
* aix-thread.c (supply_gprs64, fetch_regs_user_thread)
(store_regs_user_thread): Use tdep->ppc_gp0_regnum, instead
of assuming that the gprs are numbered starting with zero.
* ppc-linux-nat.c (fill_gregset): Same.
* ppc-linux-tdep.c (ppc_linux_supply_gregset): Same.
* ppcnbsd-nat.c (getregs_supplies): Same.
* ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_fill_reg): Same.
* rs6000-nat.c (fetch_core_registers): Same.
* rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset): Same.
msnyder [Thu, 13 May 2004 19:09:29 +0000 (19:09 +0000)]
2004-05-07 Michael Snyder <msnyder@redhat.com>
* tracepoint.c (scope_info): Add handling for LOC_COMPUTED,
LOC_COMPUTED_ARG, and LOC_INDIRECT.
cagney [Thu, 13 May 2004 18:42:25 +0000 (18:42 +0000)]
2004-05-13 Andrew Cagney <cagney@redhat.com>
* infrun.c (handle_inferior_event): Use frame_unwind_id.
Index: infrun.c
===================================================================
RCS file: /cvs/src/src/gdb/infrun.c,v
retrieving revision 1.159
diff -p -u -r1.159 infrun.c
--- infrun.c 13 May 2004 16:39:11 -0000 1.159
+++ infrun.c 13 May 2004 18:37:09 -0000
@@ -2437,7 +2437,7 @@ process_event_stop_test:
return;
}
- if (frame_id_eq (get_frame_id (get_prev_frame (get_current_frame ())),
+ if (frame_id_eq (frame_unwind_id (get_current_frame ()),
step_frame_id))
{
/* It's a subroutine call. */
dj [Thu, 13 May 2004 18:14:26 +0000 (18:14 +0000)]
merge from gcc
cagney [Thu, 13 May 2004 18:12:06 +0000 (18:12 +0000)]
2004-05-13 Andrew Cagney <cagney@redhat.com>
* gdb.base/signull.exp, gdb.base/signull.c: New files.
* gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
bryce [Thu, 13 May 2004 17:30:41 +0000 (17:30 +0000)]
2004-05-13 Bryce McKinlay <mckinlay@redhat.com>
* dwarf2loc.c (find_location_expression): Use ANOFFSET to adjust
base_address for shared libraries.
bryce [Thu, 13 May 2004 17:30:02 +0000 (17:30 +0000)]
2004-05-13 Bryce McKinlay <mckinlay@redhat.com>
* MAINTAINERS (write after approval): Add myself.
uweigand [Thu, 13 May 2004 16:39:04 +0000 (16:39 +0000)]
* breakpoint.c (bpstat_stop_status): Add new argument
STOPPED_BY_WATCHPOINT. Use it instead of testing
target_stopped_data_address agaist 0 to check whether
or not we stopped due to a hardware watchpoint.
* breakpoint.h (bpstat_stop_status): Adapt prototype.
* infrun.c (handle_inferior_event): Call bpstat_stop_status
with new argument.
nickc [Thu, 13 May 2004 15:15:56 +0000 (15:15 +0000)]
Remove comment rendered obsolete by previous delta
nickc [Thu, 13 May 2004 14:49:49 +0000 (14:49 +0000)]
fix typo in file name
nickc [Thu, 13 May 2004 14:41:16 +0000 (14:41 +0000)]
Handle dwarf3 format CIE entries.
nickc [Thu, 13 May 2004 14:13:31 +0000 (14:13 +0000)]
Add basebpard file for testing m32r-linux port against the simulator
nickc [Thu, 13 May 2004 14:12:21 +0000 (14:12 +0000)]
Change or32-rtems target from COFF to ELF format
nickc [Thu, 13 May 2004 12:54:31 +0000 (12:54 +0000)]
Updated French translations
amodra [Thu, 13 May 2004 00:00:05 +0000 (00:00 +0000)]
daily update
jimb [Wed, 12 May 2004 23:14:47 +0000 (23:14 +0000)]
* configure.in: When checking whether we should use the -bbigtoc
option, don't forget to restore the original value of LDFLAGS.
* configure: Regenerated.
cagney [Wed, 12 May 2004 22:19:01 +0000 (22:19 +0000)]
2004-05-12 Andrew Cagney <cagney@redhat.com>
* thread.c (load_infrun_state): Delete step_sp.
* infrun.c (context_switch): Ditto.
* inferior.h (step_sp): Ditto.
* infcmd.c (step_sp, step_1, step_once, until_next_command): Ditto.
* gdbthread.h (struct thread_info, save_infrun_state)
(restore_infrun_state): Ditto.
uweigand [Wed, 12 May 2004 20:16:50 +0000 (20:16 +0000)]
* MAINTAINERS (write after approval): Add myself.
cagney [Wed, 12 May 2004 18:08:36 +0000 (18:08 +0000)]
2004-05-12 Andrew Cagney <cagney@redhat.com>
* infrun.c (adjust_pc_after_break): Rewrite decr logic,
eliminate reference to step_sp.
(struct execution_control_state, init_execution_control_state)
(handle_inferior_event, keep_going): Delete update_step_sp and
step_sp.
* infcmd.c (step_sp): Note that variable is unused.
cgf [Wed, 12 May 2004 16:21:18 +0000 (16:21 +0000)]
remove keyword stuff
corinna [Wed, 12 May 2004 14:04:23 +0000 (14:04 +0000)]
* path.cc (path_conv::check): Don't bail out with error if path is "//".
corinna [Wed, 12 May 2004 12:28:59 +0000 (12:28 +0000)]
* cygheap.h (struct init_cygheap): Add mt_h member.
* fhandler_tape.cc (mt_h): Drop in favor of cygheap based handle.
(mtinfo_init): Use cygheap->mt_h handle. Protect it.
kkojima [Wed, 12 May 2004 05:58:08 +0000 (05:58 +0000)]
* ld-sh/tlsbin-2.d: Adjust for section reordering changes
and removal of unneeded STT_SECTION symbols from .dynsym.
* ld-sh/tlsbin-3.d: Likewise.
* ld-sh/tlspic-2.d: Likewise.
bje [Wed, 12 May 2004 03:34:26 +0000 (03:34 +0000)]
* lib/sim-defs.exp: Remove stray semicolons.
bje [Wed, 12 May 2004 03:28:45 +0000 (03:28 +0000)]
* binutils-all/ar.exp: Remove stray semicolons.
* binutils-all/dlltool.exp: Likewise.
* binutils-all/objcopy.exp: Likewise.
* binutils-all/readelf.exp: Likewise.
* binutils-all/windres/windres.exp: Likewise.
* lib/utils-lib.exp: Likewise.
bje [Wed, 12 May 2004 03:08:08 +0000 (03:08 +0000)]
* ld-sh/sh64/relax.exp: Remove stray semicolons.
* ld-sh/sh64/relfail.exp: Likewise.
* lib/ld-lib.exp: Likewise.
bje [Wed, 12 May 2004 03:06:09 +0000 (03:06 +0000)]
* gas/h8300/t03_add.exp: Remove stray semicolons.
* gas/h8300/t04_sub.exp: Likewise.
* gas/h8300/t05_cmp.exp: Likewise.
* gas/h8300/t08_or.exp: Likewise.
* gas/h8300/t09_xor.exp: Likewise.
* gas/h8300/t10_and.exp: Likewise.
* gas/hppa/reloc/reloc.exp: Likewise.
* gas/hppa/unsorted/unsorted.exp: Likewise.
* gas/i386/i386.exp: Likewise.
* gas/m68hc11/m68hc11.exp: Likewise.
* gas/mips/mips.exp: Likewise.
* gas/sparc/sparc.exp: Likewise.
* lib/gas-defs.exp: Likewise.
phumblet [Wed, 12 May 2004 01:44:11 +0000 (01:44 +0000)]
2004-05-12 Pierre Humblet <pierre.humblet@ieee.org>
* tty.h: Remove the %d or %x from all cygtty strings.
(tty::open_output_mutex): Only declare.
(tty::open_input_mutex): Ditto.
(tty::open_mutex): New definition.
* fhandlet_tty.cc (fhandler_tty_slave::open): Declare buf with
size CYG_MAX_PATH and replace __small_printf calls by shared_name.
* tty.cc (tty::create_inuse): Ditto.
(tty::get_event): Ditto.
(tty::common_init): Ditto.
(tty::open_output_mutex): New method definition.
(tty::open_input_mutex): Ditto.
(tty::open_mutex): New method.
cgd [Wed, 12 May 2004 01:42:33 +0000 (01:42 +0000)]
2004-05-11 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* mips/interp.c (decode_coproc): Sign-extend the address retrieved
from COP0_BADVADDR.
* mips/sim-main.h (COP0_BADVADDR): Remove a cast.
cagney [Tue, 11 May 2004 23:30:27 +0000 (23:30 +0000)]
2004-05-11 Andrew Cagney <cagney@redhat.com>
* infrun.c (step_over_function): Delete function.
(handle_step_into_function): Use insert_step_resume_breakpoint.
(insert_step_resume_breakpoint): Fix assertion.
jjohnstn [Tue, 11 May 2004 20:59:20 +0000 (20:59 +0000)]
2004-05-11 Artem B. Bityuckiy <abitytsky@softminecorp.com>
* libc/stdio/vfprintf.c (VFPRINTF_R): Use _free_r instead
of free.
nickrob [Tue, 11 May 2004 19:19:34 +0000 (19:19 +0000)]
(defaulted_query): Just use the normal query input type when printing the
annotations.
nickrob [Tue, 11 May 2004 19:18:32 +0000 (19:18 +0000)]
*** empty log message ***
jakub [Tue, 11 May 2004 17:08:30 +0000 (17:08 +0000)]
bfd/
* elflink.c (elf_bfd_final_link): Don't output STT_SECTION symbol
into .dynsym if elf_section_data (sec)->dynindx <= 0.
Adjust counting of last_local.
(_bfd_elf_link_renumber_dynsyms): Don't assign dynindx to sections
other than SHT_PROGBITS/SHT_NOBITS and neither for .got/.got.plt/.plt
created by the linker nor !SHF_ALLOC.
* elf32-i386.c (elf_i386_finish_dynamic_sections): Point
DT_PLTGOT to the start of the .got.plt section instead of the
.got output section. Set sh_entsize for .got section in addition
to .got.plt.
(elf_i386_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_
is at sgot->output_section->vma.
* elf64-x86-64.c (elf64_x86_64_finish_dynamic_sections): Point
DT_PLTGOT to the start of the .got.plt section instead of the
.got output section.
(elf64_x86_64_relocate_section): Don't assume _GLOBAL_OFFSET_TABLE_
is at sgot->output_section->vma. Set sh_entsize for .got section
in addition to .got.plt.
* elf.c (_bfd_elf_print_private_bfd_data): Handle PT_GNU_RELRO.
(bfd_section_from_phdr): Likewise.
(map_sections_to_segments): Likewise.
(assign_file_positions_for_segments): Likewise.
(get_program_header_size): Likewise.
* elflink.c (bfd_elf_size_dynamic_sections): Set
elf_tdata (output_bfd)->relro from info->relro.
* elf-bfd.h (struct elf_obj_tdata): Add relro field.
include/
* bfdlink.h (struct bfd_link_info): Add relro, relro_start and
relro_end fields.
* elf/common.h (PT_GNU_EH_FRAME, PT_GNU_STACK): Add comments.
(PT_GNU_RELRO): Define.
binutils/
* readelf.c (get_segment_type): Handle PT_GNU_RELRO.
ld/
* genscripts.sh: Generate -z combreloc -z now -z relro scripts
for binaries, -shared and -pie.
* emulparams/elf_i386.sh (SEPARATE_GOTPLT): Set.
* emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Set.
* emulparams/elf32ppc.sh (OTHER_READWRITE_SECTIONS): Rename to...
(OTHER_RELRO_SECTIONS): ... this.
* ldlex.l (DATA_SEGMENT_RELRO_END): Add.
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Handle
-z relro and -z norelro.
(gld${EMULATION_NAME}_list_options): Add it to usage.
(gld${EMULATION_NAME}_get_script): Return -z combreloc -z now
-z relro scripts when appropriate.
* scripttempl/elf.sc: Unset SEPARATE_GOTPLT if RELRO_NOW is set.
Create separate .got.plt section if SEPARATE_GOTPLT.
Move sections which are only written during relocation handling
to the beginning of RW segment. If NO_SMALL_DATA, move .got
before .data. Add DATA_SEGMENT_RELRO_END directive.
Include OTHER_RELRO_SECTIONS.
* ldgram.y (DATA_SEGMENT_RELRO_END): Add.
* ldexp.c (exp_print_token): Handle DATA_SEGMENT_RELRO_END.
(fold_unary): Likewise.
(fold_binary): Handle -z relro.
* ldexp.h (struct exp_data_seg): Add exp_dataseg_relro_seen and
exp_dataseg_relro_adjust phases. Add relro_end field.
* ldmain.c (main): Initialize link_info.relro to FALSE.
* ldlang.c (lang_size_sections): Handle -z relro.
ld/testsuite/
* ld-i386/tlspic.rd: Adjust for section reordering changes
and removal of unneeded STT_SECTION symbols from .dynsym.
* ld-i386/tlspic.dd: Likewise.
* ld-i386/tlspic.sd: Likewise.
* ld-i386/tlsbin.rd: Likewise.
* ld-i386/tlsbinpic.s: Likewise.
* ld-i386/tlsbin.dd: Likewise.
* ld-i386/tlsbin.sd: Likewise.
* ld-i386/tlsnopic.rd: Likewise.
* ld-i386/tlsnopic1.s: Likewise.
* ld-i386/combreloc.d: Likewise.
* ld-i386/tlsnopic.dd: Likewise.
* ld-i386/tlsnopic.sd: Likewise.
* ld-x86-64/tlspic.rd: Likewise.
* ld-x86-64/tlspic.dd: Likewise.
* ld-x86-64/tlsbin.dd: Likewise.
* ld-x86-64/tlspic.sd: Likewise.
* ld-x86-64/tlsbin.sd: Likewise.
* ld-x86-64/tlspic.td: Likewise.
* ld-x86-64/tlsbin.td: Likewise.
* ld-x86-64/tlsbin.rd: Likewise.
* ld-s390/tlspic1.s: Likewise.
* ld-s390/tlsbinpic.s: Likewise.
* ld-s390/tlspic.rd: Likewise.
* ld-s390/tlsbin.rd: Likewise.
* ld-s390/tlspic.dd: Likewise.
* ld-s390/tlsbin.dd: Likewise.
* ld-s390/tlsbin.sd: Likewise.
* ld-s390/tlsbin.td: Likewise.
* ld-s390/tlspic.sd: Likewise.
* ld-s390/tlspic.td: Likewise.
* ld-s390/tlspic1_64.s: Likewise.
* ld-s390/tlsbinpic_64.s: Likewise.
* ld-s390/tlspic_64.rd: Likewise.
* ld-s390/tlsbin_64.rd: Likewise.
* ld-s390/tlspic_64.dd: Likewise.
* ld-s390/tlsbin_64.dd: Likewise.
* ld-s390/tlspic_64.sd: Likewise.
* ld-s390/tlspic_64.td: Likewise.
* ld-s390/tlsbin_64.td: Likewise.
* ld-s390/tlsbin_64.sd: Likewise.
* ld-powerpc/tlsexe32.r: Likewise.
* ld-powerpc/tlsso32.r: Likewise.
* ld-powerpc/tlsso32.d: Likewise.
* ld-powerpc/tlsso32.g: Likewise.
* ld-powerpc/tlsso32.t: Likewise.
* ld-powerpc/tlsexe.r: Likewise.
* ld-powerpc/tlsso.r: Likewise.
* ld-powerpc/tlsso.g: Likewise.
* ld-powerpc/tlsexetoc.r: Likewise.
* ld-powerpc/tlstocso.r: Likewise.
* ld-powerpc/tlstocso.g: Likewise.
* ld-ia64/tlspic.rd: Likewise.
* ld-ia64/tlspic.dd: Likewise.
* ld-ia64/tlspic.sd: Likewise.
* ld-ia64/tlspic.td: Likewise.
* ld-ia64/tlsbin.rd: Likewise.
* ld-ia64/tlsbin.sd: Likewise.
* ld-ia64/tlsbin.td: Likewise.
* ld-elfvsb/elfvsb.exp: XFAIL non-PIC load offset tests on s390x.
* ld-shared/shared.exp: Likewise.
cagney [Tue, 11 May 2004 16:57:03 +0000 (16:57 +0000)]
2004-05-11 Andrew Cagney <cagney@redhat.com>
* infrun.c (handle_inferior_event): Simplify code handling
step-into or return-from a signal trampoline.
Index: testsuite/ChangeLog
2004-05-11 Andrew Cagney <cagney@redhat.com>
* gdb.base/sigstep.exp (advancei): Update KFAILs. gdb/1613 is
fixed but revealed gdb/1639.
cagney [Tue, 11 May 2004 16:16:27 +0000 (16:16 +0000)]
2004-05-11 Andrew Cagney <cagney@redhat.com>
* ppcnbsd-tdep.c: Include "gdb_assert.h".
* Makefile.in (ppcnbsd-tdep.o): Update dependencies.