OSDN Git Service
jjohnstn [Wed, 24 Nov 2004 00:45:40 +0000 (00:45 +0000)]
2004-11-23 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdio.h: Add new iprintf and iscanf variants. Also
do some reordering.
* libc/machine/powerpc/vfscanf.c: Remove __sccl function.
* libc/stdio/Makefile.am: Add support for new iprintf and iscanf
family functions.
* libc/stdio/Makefile.in: Regenerated.
* libc/stdio/fiprintf.c: Remove doc to siprintf.c.
* libc/stdio/iprintf.c: Ditto.
* libc/stdio/local.h (__svfiscanf_r): New prototype.
* libc/stdio/siprintf.c: Add docs for various iprintf family functions.
* libc/stdio/sniprintf.c: Move docs to siprintf.c.
* libc/stdio/stdio.tex: Add new functions.
* libc/stdio/vfscanf.c: Split out __sccl function to separate
file and add special name defines so this file can be used
to build vfiscanf.o.
* libc/stdio/asiprintf.c: New file.
* libc/stdio/fiscanf.c: Ditto.
* libc/stdio/iscanf.c: Ditto.
* libc/stdio/sccl.c: Ditto.
* libc/stdio/siscanf.c: Ditto.
* libc/stdio/vasiprintf.c: Ditto.
* libc/stdio/viprintf.c: Ditto.
* libc/stdio/viscanf.c: Ditto.
* libc/stdio/vsiprintf.c: Ditto.
* libc/stdio/vsiscanf.c: Ditto.
* libc/stdio/vsniprintf.c: Ditto.
gdbadmin [Wed, 24 Nov 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 23 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update
kettenis [Tue, 23 Nov 2004 21:14:27 +0000 (21:14 +0000)]
* inf-ttrace.c: New file.
* inf-ttrace.h: New file.
* hppa-hpux-nat.c [HAVE_TTRACE]: Include <sys/ttrace>.
Include "inf-ttrace.h".
(ss_mpsfu_high): Define to ss_tlsp if necessary.
(hppa_hpux_fetch_register, hppa_hpux_store_register): Use
ptid_get_pid instead of PIDGET. Modify to handle both ttrace and
ptrace systems.
(_initialize_hppa_hpux_nat) [HAVE_TTRACE]: Call inf_ttrace_traget
instead of inf_ptrace_target.
* config/pa/hpux.mh (NATDEPFILES): Add inf-ttrace.o.
* Makefile.in (inf_ttrace_h): New variable.
(hppa-hpux-nat.o): Update dependency.
(inf-ttrace.o): New dependency.
(ALLDEPFILES): Add inf-ptrace.c and inf-ttrace.c.
tausq [Tue, 23 Nov 2004 21:05:13 +0000 (21:05 +0000)]
2004-11-23 Randolph Chung <tausq@debian.org>
* arch-utils.c (generic_instruction_nullified): New.
* arch-utils.h (generic_instruction_nullified): New.
* gdbarch.sh (instruction_nullified): New method.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* infrun.c (INSTRUCTION_NULLIFIED): Delete.
(handle_inferior_event): Replace INSTRUCTION_NULLIFIED with calls to
new gdbarch method.
* config/pa/tm-hppa.h (INSTRUCTION_NULLIFIED): Delete definition.
* hppa-tdep.c (hppa_instruction_nullified): Remove prototype and make
static. Rewrite to work directly off the passed regcache.
(hppa_gdbarch_init): Set instruction_nullified method.
tausq [Tue, 23 Nov 2004 19:51:32 +0000 (19:51 +0000)]
2004-11-16 Randolph Chung <tausq@debian.org>
* gdb.base/unload.exp: Pass relative path to gdb_get_line_number.
brobecke [Tue, 23 Nov 2004 18:59:13 +0000 (18:59 +0000)]
* sparc-tdep.c (sparc_is_unimp_insn): New function.
(sparc32_frame_cache): For functions where there is no debugging
information to help us determine whether it's a struct-return
function or not, fallback on checking whether the instruction
at the return address is an "unimp" instruction or not.
nickc [Tue, 23 Nov 2004 14:49:09 +0000 (14:49 +0000)]
* config/tc-mn10300.c (md_relax_table): More fixes to the offsets in this table.
They should be correct now.
* gas/mn10300/relax.s: Add further tests of the relaxing of branch instructions.
* gas/mn10300/relax.d: Add expected relocations.
eliz [Tue, 23 Nov 2004 12:12:15 +0000 (12:12 +0000)]
Fix last change.
eliz [Tue, 23 Nov 2004 12:05:27 +0000 (12:05 +0000)]
* gdb.texinfo (Files): Add cross-reference to description of
-readnow command-line switch.
jbeulich [Tue, 23 Nov 2004 07:55:07 +0000 (07:55 +0000)]
gas/
2004-11-23 Jan Beulich <jbeulich@novell.com>
* config/tc-i386.h (CpuMMX2): Declare. Artificial classifier to
indicate the MMX extensions added by both SSE and 3DNow!A.
(Cpu3dnowA): Declare.
(CpuUnknownFlags): Update.
* config/tc-i386.c (cpu_sub_arch_name): Declare.
(cpu_arch): i586 and pentium do not imply MMX. i686 and pentiumpro do
neither imply SSE nor MMX. k6 implies MMX. k6_2 additionally implies
3DNow!. Athlon additionally implies 3DNow!A. Several new
entries (those starting with a dot are for sub-arch specification).
(set_cpu_arch): Handle sub-arch specifications.
(parse_insn): Distinguish between instructions not supported because
of insufficient CPU features and because of 64-bit mode.
* doc/c-i386.texi: Describe enhanced .arch directive.
include/opcode/
2004-11-23 Jan Beulich <jbeulich@novell.com>
* i386.h (i386_optab): paddq and psubq, even in their MMX form, are
available only with SSE2. Change the MMX additions introduced by SSE
and 3DNow!A to CpuMMX2 (rather than CpuMMX). Indicate the 3DNow!A
instructions by their now designated identifier (since combining i686
and 3DNow! does not really imply 3DNow!A).
danglin [Tue, 23 Nov 2004 01:11:16 +0000 (01:11 +0000)]
* MAINTAINERS: Add myself to write after approval section.
danglin [Tue, 23 Nov 2004 01:01:53 +0000 (01:01 +0000)]
* hppa-hpux-nat.c (child_suppress_run): Add variable to allow
hpux-thread.c to suppress children from running.
(hppa_hpux_child_can_run): New function.
(_initialize_hppa_hpux_nat): Use hppa_hpux_child_can_run.
* hpux-thread.c: Include string.h and hppa-tdep.h.
(FLAGS_REGNUM, SP_REGNUM, PC_REGNUM): Rename to HPPA_FLAGS_REGNUM,
HPPA_SP_REGNUM and HPPA_PCOQ_HEAD_REGNUM, respectively.
(hpux_thread_store_registers): Replace deprecated_registers with
calls to regcache_raw_read.
* config/pa/hpux11.mh, config/pa/hpux11w.mh: Delete HOST_IPC.
gdbadmin [Tue, 23 Nov 2004 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 22 Nov 2004 23:00:06 +0000 (23:00 +0000)]
daily update
bwilson [Mon, 22 Nov 2004 19:13:03 +0000 (19:13 +0000)]
* config/tc-xtensa.c (xg_add_opcode_fix): Set fx_no_overflow.
nickc [Mon, 22 Nov 2004 17:43:57 +0000 (17:43 +0000)]
* opcode/arc-opc.c (insert_base): Modify ls_operand[LS_OFFSET] to reflect the
change to the short immediate syntax.
* gas/arc/ld.s: Add check of load of a long immediate.
* gas/arc/ld.d: Add expected disassembly.
bwilson [Mon, 22 Nov 2004 16:29:32 +0000 (16:29 +0000)]
* dwarf2dbg.c (dwarf2_finish): Don't write a .debug_line section
without a corresponding .debug_info section.
cgf [Mon, 22 Nov 2004 15:38:17 +0000 (15:38 +0000)]
* select.cc (select_stuff::test_and_set): Remove extraneous tests of
"window_handle".
hp [Mon, 22 Nov 2004 13:05:24 +0000 (13:05 +0000)]
* read.c (potable): Add "error" and "warning".
(s_errwarn): New function.
* read.h (s_errwarn): Declare.
* doc/as.texinfo (Error, Warning): Document .error and .warning.
hp [Mon, 22 Nov 2004 13:00:22 +0000 (13:00 +0000)]
* gas/all/gas.exp: Run dg-runtest for all err-*.s and warn-*.s.
* gas/all/err-1.s, gas/all/warn-1.s: New tests.
nickc [Mon, 22 Nov 2004 10:02:25 +0000 (10:02 +0000)]
(tic54x_adjust_symtab): Adjust call to c_dot_file_symbol.
gdbadmin [Mon, 22 Nov 2004 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
dannysmith [Sun, 21 Nov 2004 23:55:55 +0000 (23:55 +0000)]
2004-11-21 Benoit Blanchon <bblanchon@users.sourceforge.net>
* include/wingdi.h (AC_SRC_ALPHA, AC_SRC_NO_ALPHA,
AC_DST_NO_ALPHA, ...): Add defines.
* include/winuser.h (ULW_COLORKEY,ULW_ALPHA,
ULW_OPAQUE): Add defines.
Change email address in ChangleLog to sourceforge alias
amodra [Sun, 21 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update
kettenis [Sun, 21 Nov 2004 20:22:52 +0000 (20:22 +0000)]
* sparc64fbsd-nat.c: Update copyright year.
(_initialize_sparc64fbsd_nat): Construct and add target vector.
* config/sparc/fbsd.mh (NATDEPFILES): Remove infptrace.o,
inftarg.o.
drow [Sun, 21 Nov 2004 20:11:06 +0000 (20:11 +0000)]
* sparc-tdep.c (sparc_software_single_step): Handle stepping to NULL.
drow [Sun, 21 Nov 2004 20:09:56 +0000 (20:09 +0000)]
* linux-nat.c (my_waitpid): New function.
(linux_test_for_tracefork): Make more robust and verbose. Take
an ORIGINAL_PID argument and test for PTRACE_SETOPTIONS first.
(linux_supports_tracefork, linux_supports_tracevforkdone): Take a PID
argument. Update calls to linux_test_for_tracefork.
(linux_enable_event_reporting, child_follow_fork)
(child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
(child_insert_exec_catchpoint): Update calls to
linux_supports_tracefork and linux_supports_tracevforkdone.
drow [Sun, 21 Nov 2004 19:52:10 +0000 (19:52 +0000)]
* valarith.c (value_subscript): Copy VALUE_FRAME_ID.
(value_subscripted_rvalue): Likewise.
* valops.c (search_struct_field, value_slice): Likewise.
dannysmith [Sun, 21 Nov 2004 19:45:24 +0000 (19:45 +0000)]
* include/winnt.h (VerSetConditionMask): Correct typo in _WIN32_WINNT
guard.
* lib/kernel32.def (VerSetConditionMask): Correct stdcall
suffix.
* lib/ddk/ntoskrnl.def (VerSetConditionMask): Likewise.
kettenis [Sun, 21 Nov 2004 13:51:49 +0000 (13:51 +0000)]
* inf-ptrace.c: Don't include "regcache.h" and "gdbcmd.h".
Reorder includes a bit. Fix comment.
* Makefile.in (inf-ptrace.o): Update dependencies.
schwab [Sun, 21 Nov 2004 03:09:39 +0000 (03:09 +0000)]
* linux-m68k-low.c (m68k_num_gregs): Define.
(m68k_fill_gregset, m68k_store_gregset, m68k_fill_fpregset)
(m68k_store_fpregset, target_regsets) [HAVE_LINUX_REGSETS]: New.
(m68k_breakpoint, m68k_breakpoint_len, m68k_get_pc, m68k_set_pc)
(m68k_breakpoint_at): New. Add to the_low_target.
* configure.srv (m68*-*-linux*): Set srv_linux_regsets and
srv_linux_thread_db to yes.
schwab [Sun, 21 Nov 2004 01:51:13 +0000 (01:51 +0000)]
* m68klinux-tdep.c: Include "glibc-tdep.h" and "solib-svr4.h".
(m68k_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to
svr4_ilp32_fetch_link_map_offsets and gdbarch_skip_solib_resolver
to glibc_skip_solib_resolver.
* config/m68k/linux.mt (TDEPFILES): Add glibc-tdep.o. Remove
solib-legacy.o.
* Makefile.in (m68klinux-tdep.o): Update dependencies.
gdbadmin [Sun, 21 Nov 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
danglin [Sat, 20 Nov 2004 23:56:17 +0000 (23:56 +0000)]
* infttrace.h (ttrace_write_reg_64): Add prototype.
* hppah-nat.c (store_inferior_registers): Fix warning from ambiguous
expression.
(store_inferior_registers): Correct formatting. Replace uses of
deprecated_registers with calls to regcache_raw_read,
regcache_raw_write_part and regcache_raw_read_part.
phumblet [Sat, 20 Nov 2004 23:42:36 +0000 (23:42 +0000)]
2004-11-20 Pierre Humblet <pierre.humblet@ieee.org>
* fhandler.cc (fhandler::write): Remove debug_printf.
* pipe.cc (fhandler_pipe::create): Edit syscall_printf format.
kettenis [Sat, 20 Nov 2004 23:04:51 +0000 (23:04 +0000)]
* config/pa/hppahpux.mh: Remove file.
* config/pa/hpux1020.mh: Remove file.
amodra [Sat, 20 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update
phumblet [Sat, 20 Nov 2004 19:09:18 +0000 (19:09 +0000)]
2004-11-20 Pierre Humblet <pierre.humblet@ieee.org>
* cygheap.h (cygheap_user::get_windows_id): New method.
* registry.h (get_registry_hive_path): Change argument type.
(load_registry_hive): Ditto.
* registry.cc (get_registry_hive_path): Change argument type and take
Win9x keys into account.
(load_registry_hive): Ditto.
* uinfo.cc (cygheap_user::env_userprofile): Use get_windows_id, even
for SYSTEM.
* shared.cc (user_shared_initialize): Use get_windows_id.
* syscalls.cc (seteuid32): Load the registry hive and reload the user
shared also on Win9x.
schwab [Sat, 20 Nov 2004 18:16:34 +0000 (18:16 +0000)]
* configure.host: Set host floatformat for m68k.
eliz [Sat, 20 Nov 2004 18:08:32 +0000 (18:08 +0000)]
Resolve file-name clash between
hppa-hpux-tdep.c and the new hppa-hpux-nat.c.
kettenis [Sat, 20 Nov 2004 17:23:55 +0000 (17:23 +0000)]
* hppa-hpux-nat.c: New file.
* config/pa/hpux.mh (NATDEPFILES): New file.
* Makefile.in (ALLDEPFILES): Add hppa-hpux-nat.c.
(hppa-hpux-nat.o): New dependency.
* configure.host: Remove hppa*-*-hpux10.20.
(hppa*-*-hpux*, hppa*-*-hiux*): Set gdb_host to hpux.mh.
kettenis [Sat, 20 Nov 2004 17:03:31 +0000 (17:03 +0000)]
* inf-ptrace.c: Fix coding style.
danglin [Sat, 20 Nov 2004 16:54:13 +0000 (16:54 +0000)]
* hpux-core.c (hpux_core_core_file_p): Use offsetof macro in calls to
make_bfd_asection.
kettenis [Sat, 20 Nov 2004 16:52:16 +0000 (16:52 +0000)]
* gdb_ptrace.h [PTRACE_TYPE_ARG5] (ptrace): New macro.
* infptrace.c (call_ptrace): Simply call ptrace with four
arguments.
kettenis [Sat, 20 Nov 2004 12:38:33 +0000 (12:38 +0000)]
* dbxread.c (process_one_symbol): Fix a few coding standard
issues. Improve code formatting.
kettenis [Sat, 20 Nov 2004 10:20:27 +0000 (10:20 +0000)]
* dbxread.c: Include "gdb_string.h".
(record_minimal_symbol, read_ofile_symtab): Replace
DEPRECATED_STREQ and DEPRECATED_STREQN with strcmp and strncmp.
* Makefile.in (dbxread.o): Update dependencies.
kettenis [Sat, 20 Nov 2004 10:10:10 +0000 (10:10 +0000)]
* dwarf2-frame.c (read_encoded_value): Correctly calculate number
of bytes read for aligned LEB128 encodings.
dj [Sat, 20 Nov 2004 03:00:45 +0000 (03:00 +0000)]
merge from gcc
jjohnstn [Sat, 20 Nov 2004 01:42:34 +0000 (01:42 +0000)]
2004-11-19 Shaun Jackman <sjackman@gmail.com>
* libc/include/stdio.h: Add sniprintf.
* libc/stdio/Makefile.am: Add sniprintf.c.
* libc/stdio/Makefile.in: Regenerated.
* libc/stdio/sniprintf.c: New file.
* libc/stdio/stdio.tex: Add sniprintf.
dannysmith [Sat, 20 Nov 2004 00:03:07 +0000 (00:03 +0000)]
* include/winbase.h (PPROCESS_INFORMATION): Add typedef.
(CreateProcessWithLogonW): Declare.
(LOGON_WITH_PROFILE, LOGON_NETCREDENTIALS_ONLY): Add defines.
Thanks to: "jkmaki" <jkmaki@users.sourceforge.net>
Correct some ChangeLog typos.
gdbadmin [Sat, 20 Nov 2004 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Fri, 19 Nov 2004 23:00:08 +0000 (23:00 +0000)]
daily update
kettenis [Fri, 19 Nov 2004 21:55:24 +0000 (21:55 +0000)]
* bsd-kvm.c (bsd_kvm_pcb_cmd): Cast return value from
parse_and_eval_address to u_long before converting it to a pointer
type.
* i386fbsd-nat.c (_initialize_i386fbsd_nat): Change type of
ps_strings from int to u_long.
* i386obsd-nat.c (_initialize_i386obsd_nat): Cast _ps.val to
u_long instead of CORE_ADDR.
mmitchel [Fri, 19 Nov 2004 19:28:39 +0000 (19:28 +0000)]
* Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
(earmelf_linux_eabi.c): New target.
* configure.tgt (arm*-*-linux-gnueabi): Handle it.
* emulparams/armelf_linux_eabi.sh: New file.
* Makefile.in: Regenerated.
amodra [Fri, 19 Nov 2004 12:38:54 +0000 (12:38 +0000)]
* or32-opc.c (debug): Warning fix.
* po/POTFILES.in: Regenerate.
amodra [Fri, 19 Nov 2004 12:34:12 +0000 (12:34 +0000)]
* maxq-dis.c: Formatting.
(print_insn): Warning fix.
amodra [Fri, 19 Nov 2004 12:28:00 +0000 (12:28 +0000)]
include/opcode/
* msp430.h (struct rcodes_s, MSP430_RLC, msp430_rcodes,
struct hcodes_s, msp430_hcodes): Move to gas/config/tc-msp430.c.
gas/
* config/tc-msp430.c (struct rcodes_s, MSP430_RLC, msp430_rcodes,
struct hcodes_s, msp430_hcodes): From include/opcode/msp430.h.
amodra [Fri, 19 Nov 2004 12:20:21 +0000 (12:20 +0000)]
* config/obj-coff.c (c_dot_file_symbol): Add "app" param.
(coff_adjust_symtab): Adjust call.
(crawl_symbols): Likewise.
* config/obj-coff.h (c_dot_file_symbol): Add "app" param.
(obj_app_file): Adjust.
amodra [Fri, 19 Nov 2004 11:58:01 +0000 (11:58 +0000)]
* elf32-arm.c (elf32_arm_finish_dynamic_sections): Warning fix.
* elf32-iq2000.c (iq2000_reloc_type_lookup): C90 function decl.
* nlmcode.h (nlm_write_object_contents): Warning fix.
dannysmith [Fri, 19 Nov 2004 10:14:58 +0000 (10:14 +0000)]
* include/sspi.h (SecPkgContext_Sizes): Fix typo.
Thanks to: David Leonard <leonard@users,sourceforge.net>
dannysmith [Fri, 19 Nov 2004 10:08:24 +0000 (10:08 +0000)]
* include/sspi.h (SecPkgCredentials_Names[AW]): Correct name.
Thanks to: David Leonard <leonard@users,sourceforge.net>
dannysmith [Fri, 19 Nov 2004 09:42:45 +0000 (09:42 +0000)]
2004-11-19 Magnus Olsen <greatlord@sourceforge.users.net>
* include/winuser.h (MSLLHOOKSTRUCT): Add structure.
nickc [Fri, 19 Nov 2004 09:38:04 +0000 (09:38 +0000)]
PR 518
Update the descriptions of the ORIGIN and LENGTH fields in the MEMORY command,
to explicitly state that symbols cannot be used in their expressions.
dannysmith [Fri, 19 Nov 2004 09:35:09 +0000 (09:35 +0000)]
2004-11-19 Magnus Olsen <greatlord@sourceforge.users.net>
* include/winuser.h (LLKHF_EXTENDED, LLKHF_INJECTED, LLKHF_UP):
Add defines.
(LLKHF_ALTDOWN): Define based on KF_ALTDOWN,
nickc [Fri, 19 Nov 2004 09:31:53 +0000 (09:31 +0000)]
Add ORIGIN and LENGTH linker script operators.
dannysmith [Fri, 19 Nov 2004 08:30:24 +0000 (08:30 +0000)]
2004-11-19 Benoit Blanchon <benoit.blanchon@free.fr>
* include/shellapi.h (NIF_GUID): Add define.
Correct my 2004-11-04 Changelog entry
bwilson [Fri, 19 Nov 2004 00:28:56 +0000 (00:28 +0000)]
* elf32-xtensa.c (ebb_propose_action): Fix argument order.
kseitz [Fri, 19 Nov 2004 00:19:55 +0000 (00:19 +0000)]
* generic/gdbtk-wrapper.c (wrap_type_print): Use value_type instead
of VALUE_TYPE.
* generic/gdbtk-cmds.c (gdb_eval): Likewise.
gdbadmin [Fri, 19 Nov 2004 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Thu, 18 Nov 2004 23:00:06 +0000 (23:00 +0000)]
daily update
kettenis [Thu, 18 Nov 2004 22:37:14 +0000 (22:37 +0000)]
* dbxread.c (process_one_symbol): Do not adjust address of first
N_SLINE stab for a function for code generated by non-GCC
compilers.
kevinb [Thu, 18 Nov 2004 21:40:02 +0000 (21:40 +0000)]
* thread-db.c (thread_db_set_thread_reg): Don't allow a successful
return without first initializing ``reg''.
kevinb [Thu, 18 Nov 2004 17:23:05 +0000 (17:23 +0000)]
* solib-null.c: New file.
nickc [Thu, 18 Nov 2004 16:19:59 +0000 (16:19 +0000)]
Enable bfd_assembler by default for the MAXQ port.
Adjust the testsuite expected disassemblies to take this into account.
earnie [Thu, 18 Nov 2004 15:04:09 +0000 (15:04 +0000)]
* include/w32api.h (Windows95, etc. and IE3, etc.): Add definitions.
earnie [Thu, 18 Nov 2004 13:57:05 +0000 (13:57 +0000)]
2004-11-18 Earnie Boyd <earnie@users.sf.net>
* include/wincon.h (AttachConsole): Correct the _WIN32_WINNT filter.
Changed it twice due to inconsistent MSDN documentation.
earnie [Thu, 18 Nov 2004 13:53:19 +0000 (13:53 +0000)]
2004-11-18 Earnie Boyd <earnie@users.sf.net>
* include/wincon.h (AttachConsole): Correct the _WIN32_WINNT filter.
rearnsha [Thu, 18 Nov 2004 10:56:28 +0000 (10:56 +0000)]
In last change: macros not rules.
rearnsha [Thu, 18 Nov 2004 10:21:39 +0000 (10:21 +0000)]
* Make-common.in (sim-*_h): Add rules for all sim headers. Also
add sub-dependencies for other sim files that they include.
(sim_main_headers): Use sim-*_h rules.
(sim-load.o): Depend on sim-basics_h, not sim_main_headers.
bavag [Thu, 18 Nov 2004 05:20:22 +0000 (05:20 +0000)]
* cygcheck.cc (eprintf): New function.
cagney [Thu, 18 Nov 2004 00:16:26 +0000 (00:16 +0000)]
2004-11-17 Andrew Cagney <cagney@gnu.org>
* MAINTAINERS: Drop MIPS and remote.
gdbadmin [Thu, 18 Nov 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Wed, 17 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update
drow [Wed, 17 Nov 2004 17:50:22 +0000 (17:50 +0000)]
bfd/
* elf32-arm.c (PLT_THUMB_STUB_SIZE): Define.
(elf32_arm_plt_thumb_stub): New.
(struct elf32_arm_link_hash_entry): Add plt_thumb_refcount
and plt_got_offset.
(elf32_arm_link_hash_traverse): Fix typo.
(elf32_arm_link_hash_table): Add obfd.
(elf32_arm_link_hash_newfunc): Initialize new fields.
(elf32_arm_copy_indirect_symbol): Copy plt_thumb_refcount.
(elf32_arm_link_hash_table_create): Initialize obfd.
(record_arm_to_thumb_glue): Mark the glue as a local ARM function.
(record_thumb_to_arm_glue): Mark the glue as a local Thumb function.
(bfd_elf32_arm_get_bfd_for_interworking): Verify that the
interworking BFD is not dynamic.
(bfd_elf32_arm_process_before_allocation): Handle R_ARM_PLT32. Do
not emit glue for PLT references.
(elf32_arm_final_link_relocate): Handle Thumb functions. Do not
emit glue for PLT references. Support the Thumb PLT prefix.
(elf32_arm_gc_sweep_hook): Handle R_ARM_THM_PC22 and
plt_thumb_refcount.
(elf32_arm_check_relocs): Likewise.
(elf32_arm_adjust_dynamic_symbol): Handle Thumb functions and
plt_thumb_refcount.
(allocate_dynrelocs): Handle Thumb PLT references.
(elf32_arm_finish_dynamic_symbol): Likewise.
(elf32_arm_symbol_processing): New function.
(elf_backend_symbol_processing): Define.
opcodes/
* arm-dis.c (WORD_ADDRESS): Define.
(print_insn): Use it. Correct big-endian end-of-section handling.
gas/testsuite/
* gas/arm/mapping.d: Expect F markers for Thumb code.
* gas/arm/unwind.d: Update big-endian pattern.
ld/
* emultempl/armelf.em (arm_elf_set_bfd_for_interworking): Don't use
a dynamic object for stubs.
ld/testsuite/
* ld-arm/mixed-app.d, ld-arm/mixed-app.r, ld-arm/mixed-app.s,
ld-arm/mixed-app.sym, ld-arm/mixed-lib.d, ld-arm/mixed-lib.r,
ld-arm/mixed-lib.s, ld-arm/mixed-lib.sym, ld-arm/arm-dyn.ld,
ld-arm/arm-lib.ld: New files.
* ld-arm/arm-app-abs32.d, ld-arm/arm-app-abs32.r, ld-arm/arm-app.d,
ld-arm/arm-app.r, ld-arm/arm-lib-plt32.d, ld-arm/arm-lib-plt32.r,
ld-arm/arm-lib.d, ld-arm/arm-lib.r, ld-arm/arm-static-app.d,
ld-arm/arm-static-app.r: Update for big-endian.
* ld-arm/arm-elf.exp: Run the new tests.
cgf [Wed, 17 Nov 2004 17:02:09 +0000 (17:02 +0000)]
* libc/stdio/refill.c (__srefill): Try again after EOF on Cygwin. Clear EOF
flag if successful.
nickc [Wed, 17 Nov 2004 15:31:46 +0000 (15:31 +0000)]
Run the relax test.
gdbadmin [Wed, 17 Nov 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Tue, 16 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update
hp [Tue, 16 Nov 2004 16:22:09 +0000 (16:22 +0000)]
Fix consistenco; it's triplets, not triples
hp [Tue, 16 Nov 2004 16:20:31 +0000 (16:20 +0000)]
* lib/sim-defs.exp (run_sim_test): Support "xfail" and "kfail".
schwab [Tue, 16 Nov 2004 10:21:17 +0000 (10:21 +0000)]
* Makefile.in (defines.h): Depend on tmp-defines.
(hw.c hw.h): Depend on tmp-hw.
(pk.h): Depend on tmp-pk.
rsandifo [Tue, 16 Nov 2004 10:16:24 +0000 (10:16 +0000)]
* elf-bfd.h (eh_cie_fde): Add new fields: add_augmentation_size and
add_fde_encoding. Remove need_relative.
* elf-eh-frame.c (extra_augmentation_string_bytes)
(extra_augmentation_data_bytes, size_of_output_cie_fde): New functions.
(_bfd_elf_discard_section_eh_frame): Consider changing the FDE encoding
in cases where the CIE has no existing 'R' augmentation. Use
size_of_output_cie_fde when assigning offsets. Use the final offset
as the new section size.
(_bfd_elf_eh_frame_section_offset): Remove need_relative handling.
Account for any extra augmentation bytes in the returned offset.
(_bfd_elf_write_section_eh_frame): Rework so that the entries are
moved before being modified. Pad growing entries with DW_CFA_nops.
Add 'z' and 'R' augmentations as directed by add_augmentation_size
and add_fde_encoding.
mmitchel [Tue, 16 Nov 2004 10:07:58 +0000 (10:07 +0000)]
* elf32-arm.c (elf32_arm_relocate_section): Use
arm_real_reloc_type.
rsandifo [Tue, 16 Nov 2004 09:54:09 +0000 (09:54 +0000)]
* elfxx-mips.c (mips_elf_create_dynamic_relocation): Return early
for discard relocations; don't add an R_MIPS_NONE to the main body
of .rel.dyn.
hp [Tue, 16 Nov 2004 07:16:57 +0000 (07:16 +0000)]
* sim-config.c (sim_config): Recognize when a bfd has unspecified
endian information.
hp [Tue, 16 Nov 2004 07:06:16 +0000 (07:06 +0000)]
* lib/sim-defs.exp (run_sim_test): Make multiple "output"
specifications concatenate, not override.
hp [Tue, 16 Nov 2004 07:02:26 +0000 (07:02 +0000)]
* Make-common.in (sim-load.o): Depend on $(sim_main_headers) and
$(remote_sim_h) too.
(sim_main_headers): Add sim-utils.h.
bavag [Tue, 16 Nov 2004 05:16:58 +0000 (05:16 +0000)]
* cygcheck.cc (find_on_path): Clear show_error and/or print_failed
parameters to display_error.
(rva_to_offset): Ditto.
(dll_info): Ditto.
(track_down): Ditto.
dj [Tue, 16 Nov 2004 01:18:39 +0000 (01:18 +0000)]
2004-11-15 Kelley Cook <kcook@gcc.gnu.org>
* install-sh, compile: Import from automake.
* config.guess, config.sub: Import from savannnah.