OSDN Git Service
davem [Sat, 8 Apr 2006 21:15:26 +0000 (21:15 +0000)]
* sparc64-linux-tdep.c (sparc64_linux_core_gregset,
sparc64_linux_supply_core_gregset,
sparc64_linux_collect_core_gregset,
sparc64_linux_supply_core_fpregset,
sparc64_linux_collect_core_fpregset): New.
(sparc64_linux_init_abi): Register them with generic sparc
core regset infrastructure.
* sparc32-linux-tdep.c (sparc32_linux_core_gregset,
sparc32_linux_supply_core_gregset,
sparc32_linux_collect_core_gregset,
sparc32_linux_supply_core_fpregset,
sparc32_linux_collect_core_fpregset): New.
(sparc32_linux_init_abi): Register them with generic sparc
core regset infrastructure.
* Makefile.in: Update dependencies.
davem [Sat, 8 Apr 2006 21:01:35 +0000 (21:01 +0000)]
* sparc-linux-tdep.c (sparc32_linux_step_trap): New.
(sparc32_linux_init_abi): Hook it into tdep->step_trap.
* sparc64-linux-tdep.c (sparc64_linux_step_trap): New.
(sparc64_linux_init_abi): Hook it into tdep->step_trap.
* Makefile.in: Update dependencies.
hp [Sat, 8 Apr 2006 17:37:55 +0000 (17:37 +0000)]
* cris/crisv32f.c (MY (deliver_interrupt)): Set CCS to new_ccs.
hp [Sat, 8 Apr 2006 17:37:23 +0000 (17:37 +0000)]
* sim/cris/hw/rv-n-cris/irq6.ms: New test.
dannysmith [Sat, 8 Apr 2006 03:49:28 +0000 (03:49 +0000)]
* include/iphlpapi.h (GetAdaptersAddresses): Check for winsock2
here also.
amodra [Sat, 8 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 8 Apr 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
davem [Fri, 7 Apr 2006 23:34:26 +0000 (23:34 +0000)]
Fix typo in previous commit.
jjohnstn [Fri, 7 Apr 2006 21:46:00 +0000 (21:46 +0000)]
2006-04-07 Jeff Johnston <jjohnstn@redhat.com>
* libc/time/time.c (time): Do not check for HAVE_GETTIMEOFDAY
anymore. Assume there is a gettimeofday syscall.
davem [Fri, 7 Apr 2006 21:42:33 +0000 (21:42 +0000)]
* linux-nat.c (linux_nat_thread_alive): Handle targets that
do not implement PTRACE_PEEKUSER.
drow [Fri, 7 Apr 2006 16:15:57 +0000 (16:15 +0000)]
* remote.c (remote_wait): Convert warning to error before
parsing corrupt packets.
nickc [Fri, 7 Apr 2006 15:18:08 +0000 (15:18 +0000)]
Add support for attiny261, attiny461, attiny861, attiny25, attiny45,
attiny85, attiny24, attiny44, attiny84, at90pwm2, at90pwm3, atmega164,
atmega324, atmega644, atmega329, atmega3290, atmega649, atmega6490,
atmega406, atmega640, atmega1280, atmega1281, at90can32, at90can64,
at90usb646, at90usb647, at90usb1286 and at90usb1287.
Move atmega48 and atmega88 from AVR_ISA_M8 to AVR_ISA_PWMx.
pbrook [Fri, 7 Apr 2006 15:11:19 +0000 (15:11 +0000)]
2006-04-07 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (parse_operands): Set default error message.
pbrook [Fri, 7 Apr 2006 15:09:40 +0000 (15:09 +0000)]
2006-04-07 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (parse_tb): Set inst.error before returning FAIL.
pbrook [Fri, 7 Apr 2006 15:08:02 +0000 (15:08 +0000)]
2006-04-07 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (md_apply_fix): Set H bit on blx instruction.
gas/testsuite/
* gas/arm/blx-local.d: New test.
* gas/arm/blx-local.d: New test.
pbrook [Fri, 7 Apr 2006 15:03:44 +0000 (15:03 +0000)]
2006-04-07 Paul Brook <paul@codesourcery.com>
gas/
* config/tc-arm.c (THUMB2_LOAD_BIT): Define.
(move_or_literal_pool): Handle Thumb-2 instructions.
(do_t_ldst): Call move_or_literal_pool for =N addressing modes.
gas/testsuite/
* gas/arm/thumb2_pool.d: New test.
* gas/arm/thumb2_pool.s: New test.
nickc [Fri, 7 Apr 2006 14:55:29 +0000 (14:55 +0000)]
* elf64-hppa.c (elf64_hppa_grok_prstatus): New function.
(elf64_hppa_grok_psinfo): Likewise.
(elf_backend_grok_pstatus, elf_backend_grok_psinfo): Define.
papadopo [Fri, 7 Apr 2006 14:28:35 +0000 (14:28 +0000)]
* include/wincrypt.h (PROV_MS_EXCHANGE): Define.
We should probably remove PROV_MS_MAIL but I'm keeping it for
now for compatibility reasons.
Thanks to: Marcus Agehall <agehall at users dot sf dot net>
papadopo [Fri, 7 Apr 2006 14:17:28 +0000 (14:17 +0000)]
* include/commdlg.h [WINVER >= 0x0500]
(PD_RESULT_*,START_PAGE_GENERAL): Define.
Thanks to: Wolfgang Glas <softadm at users dot sf dot net>
nickc [Fri, 7 Apr 2006 14:14:46 +0000 (14:14 +0000)]
Fix typo in documentation of --check-sections.
papadopo [Fri, 7 Apr 2006 13:41:24 +0000 (13:41 +0000)]
* include/wingdi.h [WINVER >= 0x0410]
(AlphaBlend,GradientFill,TransparentBlt): Windows 98 and better.
Thanks to: Alessandro Antonello <aleantonello at users dot sf dot net>
ams [Fri, 7 Apr 2006 13:31:14 +0000 (13:31 +0000)]
2006-04-07 Andrew Stubbs <andrew.stubbs@st.com>
gdb/
* cli/cli-script.c (struct user_args): Add command field.
(arg_cleanup): Free command string.
(setup_user_args): Copy the command line before relying on it.
gdb/testsuite/
* gdb.base/commands.exp (recursive_source_test): New test.
papadopo [Fri, 7 Apr 2006 13:28:49 +0000 (13:28 +0000)]
* include/wingdi.h (CAPTUREBLT,NOMIRRORBITMAP): Define.
* include/commctrl.h (WC_LINK{AW},LIF_*,LIM_*,LM_*,
MAX_LINKID_TEXT,L_MAX_URL_LENGTH): Define.
(LITEM,LHITTESTINFO,NMLINK): Add structures.
Thanks to: Brandon Sneed <brandon at redf dot net>
kkojima [Fri, 7 Apr 2006 07:03:51 +0000 (07:03 +0000)]
* ldlang.c (load_symbols): Set as_needed and add_needed according
to the corresponding script's fields while processing it.
amodra [Fri, 7 Apr 2006 06:40:56 +0000 (06:40 +0000)]
PR 2512.
* config/tc-i386.c (match_template): Move 64-bit operand tests
inside loop.
dj [Fri, 7 Apr 2006 01:08:34 +0000 (01:08 +0000)]
* elf32-m32c.c (m32c_elf_relocate_section): Generate a symbol for
each plt entry we create.
dj [Fri, 7 Apr 2006 00:01:25 +0000 (00:01 +0000)]
merge from gcc
amodra [Fri, 7 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update
gdbadmin [Fri, 7 Apr 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
carlos [Thu, 6 Apr 2006 21:49:24 +0000 (21:49 +0000)]
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.tpl: Add install-html target.
* Makefile.def: Add install-html target.
* Makefile.in: Regenerate.
* configure.in: Add --with-datarootdir, --with-docdir,
and --with-htmldir options.
* configure: Regenerate.
bfd/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Rename docdir to bfddocdir. Add datarootdir, docdir
htmldir. Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST for datarootdir, docdir and htmldir.
* configure: Regenerate.
bfd/doc/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html and install-html-am targets.
Define datarootdir, docdir and htmldir.
* Makefile.in: Regenerate.
binutils/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir and htmldir.
* configure: Regenerate.
* doc/Makefile.am: Add install-html and install-html-am targets.
* doc/Makefile.in: Regenerate.
etc/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.in: Add install-html target. Add htmldir,
docdir and datarootdir.
* configure.texi: Document install-html target.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
gas/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html and install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
* doc/Makefile.am: Add install-html and install-html-am targets.
* doc/Makefile.in: Regenerate.
gprof/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* po/Make-in: Add install-html target.
* Makefile.am: Add install-html, install-html-am and
install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
intl/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* intl/Makefile.in: Add html info and dvi and install-html to .PHONY
Add install-html target.
ld/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html, install-html-am, and
install-html-recursive targets.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST datarootdir, docdir, htmldir.
* configure: Regenerate.
* po/Make-in: Add install-html target.
opcodes/
2006-04-06 Carlos O'Donell <carlos@codesourcery.com>
* Makefile.am: Add install-html target.
* Makefile.in: Regenerate.
hjl [Thu, 6 Apr 2006 18:52:45 +0000 (18:52 +0000)]
bfd/
2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_ia64_relax_section): Skip unneeded passes
with the skip_relax_pass_0 and skip_relax_pass_1 bits in the
section structure.
include/
2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
* bfdlink.h (bfd_link_info): Replace need_relax_finalize with
relax_pass.
ld/
2006-04-06 H.J. Lu <hongjiu.lu@intel.com>
* emultempl/ia64elf.em: Set link_info.relax_pass to 2. Remove
link_info.need_relax_finalize.
* ldlang.c (relax_sections): New.
(lang_process): Use. Call relax_sections link_info.relax_pass
times.
* ldmain.c (main): Set link_info.relax_pass to 1. Remove
link_info.need_relax_finalize.
brobecke [Thu, 6 Apr 2006 18:33:05 +0000 (18:33 +0000)]
* breakpoint.c (_initialize_breakpoint): Add "del" as an alias
of the "delete" command.
tausq [Thu, 6 Apr 2006 15:12:46 +0000 (15:12 +0000)]
2006-04-06 Randolph Chung <tausq@debian.org>
* MAINTAINERS (Patch champions): Add myself.
papadopo [Thu, 6 Apr 2006 12:26:09 +0000 (12:26 +0000)]
* include/w32api.h (IE*): Define for recent versions of IE.
papadopo [Thu, 6 Apr 2006 12:21:30 +0000 (12:21 +0000)]
* include/w32api.h (_W32API_H): Define.
Define in addition to _W32API_H_, this is the w32api standard.
papadopo [Thu, 6 Apr 2006 12:18:40 +0000 (12:18 +0000)]
* include/w32api.h (WindowsVista): Define.
papadopo [Thu, 6 Apr 2006 12:16:49 +0000 (12:16 +0000)]
* include/iptypes.h (IP_ADAPTER_*): Define parts that depend
on SOCKET_ADDRESS only if winsock2.h has already been included.
papadopo [Thu, 6 Apr 2006 11:53:53 +0000 (11:53 +0000)]
* include/winuser.h (WM_IME_*): Remove. Defined in imm.h.
bernds [Thu, 6 Apr 2006 11:45:01 +0000 (11:45 +0000)]
* elf32-bfin.c (bfinfdpic_relocs_info_hash): Sprinkle casts to
eliminate warnings.
nickc [Thu, 6 Apr 2006 10:09:40 +0000 (10:09 +0000)]
Updated Vietnamese translation.
amodra [Thu, 6 Apr 2006 04:38:33 +0000 (04:38 +0000)]
* frags.c (frag_offset_fixed_p): Reinitialise offset before
second scan.
amodra [Thu, 6 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 6 Apr 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
schwab [Wed, 5 Apr 2006 21:51:11 +0000 (21:51 +0000)]
* Makefile.in: Update dependencies.
hjl [Wed, 5 Apr 2006 21:12:06 +0000 (21:12 +0000)]
2006-04-05 H.J. Lu <hongjiu.lu@intel.com>
James E Wilson <wilson@specifixinc.com>
PR ld/2442
* elfxx-ia64.c (elfNN_ia64_dyn_sym_info): Remove next.
(elfNN_ia64_local_hash_entry): Add count, sorted_count and
size.
(elfNN_ia64_link_hash_entry): Likewise.
(elfNN_ia64_new_elf_hash_entry): Initialize count, sorted_count
and size.
(elfNN_ia64_hash_copy_indirect): Updated elfNN_ia64_dyn_sym_info
processing.
(elfNN_ia64_hash_hide_symbol): Likewise.
(elfNN_ia64_global_dyn_sym_thunk): Likewise.
(elfNN_ia64_local_dyn_sym_thunk): Likewise.
(elfNN_ia64_global_dyn_info_free): New function.
(elfNN_ia64_local_dyn_info_free): Likewise.
(elfNN_ia64_hash_table_free): Free local and global
elfNN_ia64_dyn_sym_info.
(addend_compare): New function.
(sort_dyn_sym_info): Likewise.
(get_dyn_sym_info): Updated to use binary search for addend.
(elfNN_ia64_check_relocs): Scan relocations to create dynamic
relocation arrays first.
bernds [Wed, 5 Apr 2006 20:46:15 +0000 (20:46 +0000)]
Fix -Werror problem in previous change.
davem [Wed, 5 Apr 2006 20:27:08 +0000 (20:27 +0000)]
* sparc-linux-tdep.c (sparc32_linux_init_abi): Append
dwarf2 frame sniffer.
* Makefile.in (sparc-linux-tdep.o): Update dependencies.
davem [Wed, 5 Apr 2006 20:01:19 +0000 (20:01 +0000)]
* dwarf2-frame.c (dwarf2_frame_ops init_reg): Add "next_frame"
argument.
(dwarf2_frame_default_init_reg): Likewise.
(dwarf2_frame_set_init_reg): Update init_reg arg.
(dwarf2_frame_init_reg): Take "next_frame" and pass it to
ops->init_reg().
(dwarf2_frame_cache): Pass next_frame to dwarf2_frame_init_reg.
* dwarf2-frame.h (dwarf2-frame_set_init_reg): Update declaration.
* cris-tdep.c (cris_dwarf2_frame_init_reg): Add next_frame arg.
* s390-tdep.c (s390_dwarf2_frame_init_reg): Likewise.
* sh-tdep.c (sh_dwarf2_frame_init_reg): Likewise.
* sparc64-tdep.c (sparc64_dwarf2_frame_init_reg): Likewise.
* sparc-tdep.c (sparc32_struct_return_from_sym): New function.
(sparc32_frame_cache): Call it.
(sparc32_dwarf2_struct_return_p): New function.
(sparc_dwarf2_frame_init_reg): Use it to determine if the function
returns a structure and thus we have to indicate the return PC and
NPC are 4 bytes later than usual.
bernds [Wed, 5 Apr 2006 19:57:35 +0000 (19:57 +0000)]
* elf32-bfin.c (_bfin_create_got_section): Don't generate a _gp
symbol.
davem [Wed, 5 Apr 2006 19:19:12 +0000 (19:19 +0000)]
* sparc-linux-tdep.c (sparc32_linux_sigframe_init): Pull register
window out of the correct stack frame.
* sparc64-linux-tdep.c (sparc64_linux_sigframe_init): Likewise.
davem [Wed, 5 Apr 2006 18:35:39 +0000 (18:35 +0000)]
* sparc-tdep.c (sparc32_dwarf2_frame_init_reg): New.
(sparc32_gdbarch_init): Pass it to dwarf2_frame_set_init_reg.
* Makefile.in (sparc-tdep.o): Update dependencies.
cgf [Wed, 5 Apr 2006 16:53:12 +0000 (16:53 +0000)]
* fhandler_socket.cc: Move iptypes.h include after winsock2 since it now relies
on it.
* net.cc: Ditto.
cgf [Wed, 5 Apr 2006 16:42:26 +0000 (16:42 +0000)]
* dcrt0.cc (dll_crt0_0): Move user_data->{resourcelocks,threadinterface}
initialization here from dll_crt0_1.
(dll_crt0_1): See above.
ebotcazou [Wed, 5 Apr 2006 16:12:01 +0000 (16:12 +0000)]
* addr2line.c (long_options): Add new option 'section'.
(usage): Document new -j/--section option.
(find_offset_in_section): New function.
(translate_addresses): Add 'section' parameter.
If it is non-null, call find_offset_in_section on it.
(process_file): Add 'section_name' parameter.
If it is non-null, look for the section in the BFD object.
Pass the section to translate_addresses.
(main): Handle new -j option.
Pass the section name to process_file.
* doc/binutils.texi (addr2line): Document new -j/--section option.
papadopo [Wed, 5 Apr 2006 16:05:04 +0000 (16:05 +0000)]
* include/iphlpapi.h (GAA_FLAG_*): Define.
(GetAdaptersAddresses): Add function declaration.
* lib/iphlpapi.def (GetAdaptersAddresses): Add function stub.
Thanks to: ross <rossboulet at users dot sf dot net>
papadopo [Wed, 5 Apr 2006 15:53:58 +0000 (15:53 +0000)]
* include/iptypes.h (IP_INTERFACE_NAME_INFO,
IP_ADAPTER_ANYCAST_ADDRESS,IP_ADAPTER_MULTICAST_ADDRESS,
IP_ADAPTER_UNICAST_ADDRESS,IP_ADAPTER_DNS_SERVER_ADDRESS,
IP_ADAPTER_PREFIX,IP_ADAPTER_ADDRESSES): Add structures.
(IF_OPER_STATUS,IP_DAD_STATE,IP_PREFIX_ORIGIN,IP_SUFFIX_ORIGIN,
SCOPE_LEVEL): Add enums.
(IP_ADAPTER_*): Define.
amodra [Wed, 5 Apr 2006 15:40:40 +0000 (15:40 +0000)]
* Makefile.am (GENSCRIPTS): Pass prefix.
* Makefile.in: Regenerate.
* genscripts.sh: Adjust for extra parameter.
* emultempl/elf32.em (parse_ld_so_conf): Return true iff file
exists.
(check_ld_so_conf): Use ${prefix}/etc/ld.so.conf if it exists.
* NEWS: Update.
papadopo [Wed, 5 Apr 2006 15:06:55 +0000 (15:06 +0000)]
* include/winuser.h (GetWindowExtEx): Removed, belongs to wingdi.h.
Thanks to: Sergey Philippov <phis at users dot sf dot net>
papadopo [Wed, 5 Apr 2006 14:16:17 +0000 (14:16 +0000)]
* include/objidl.h (PIDSI_*): Define.
(PRSPEC_*): Define.
Thanks to: Oliver Stoeneberg <kidkat at users dot sf dot net>
papadopo [Wed, 5 Apr 2006 13:53:14 +0000 (13:53 +0000)]
* include/winbase.h (LOGON32_PROVIDER_WINNT40,
LOGON32_PROVIDER_WINNT50, LOGON32_LOGON_NETWORK,
LOGON32_LOGON_UNLOCK, LOGON32_LOGON_NETWORK_CLEARTEXT,
LOGON32_LOGON_NEW_CREDENTIALS): Define.
Thanks to: Oliver Stoeneberg <kidkat at users dot sf dot net>
hjl [Wed, 5 Apr 2006 13:37:31 +0000 (13:37 +0000)]
2006-04-05 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2411
* elflink.c (check_dynsym): New.
(elf_link_output_extsym): Use it.
(bfd_elf_final_link): Likewise.
hjl [Wed, 5 Apr 2006 13:36:32 +0000 (13:36 +0000)]
2006-04-05 H.J. Lu <hongjiu.lu@intel.com>
PR ld/2404
* elflink.c (_bfd_elf_merge_symbol): Skip the default indirect
symbol from the dynamic definition with the default version if
its type and the type of existing regular definition mismatch.
rsandifo [Wed, 5 Apr 2006 12:41:56 +0000 (12:41 +0000)]
bfd/
* config.bfd (sparc-*-vxworks*): New stanza.
* configure.in (bfd_elf32_sparc_vxworks_vec): New stanza.
(bfd_elf32_sparc_vec, bfd_elf64_sparc_vec): Add elf-vxworks.lo.
* configure: Regenerate.
* elf32-sparc.c: Include elf-vxworks.h.
(elf32_sparc_vxworks_link_hash_table_create: New.
(elf32_sparc_vxworks_final_write_processing): New.
(TARGET_BIG_SYM): Override for VxWorks.
(TARGET_BIG_NAME, ELF_MINPAGESIZE): Likewise.
(bfd_elf32_bfd_link_hash_table_create): Likewise.
(elf_backend_want_got_plt, elf_backend_plt_readonly): Likewise.
(elf_backend_got_header_size, elf_backend_add_symbol_hook): Likewise.
(elf_backend_link_output_symbol_hook): Likewise.
(elf_backend_emit_relocs): Likewise.
(elf_backend_final_write_processing, elf32_bed): Likewise.
* elfxx-sparc.c: Include libiberty.h and elf-vxworks.h.
(sparc_vxworks_exec_plt0_entry, sparc_vxworks_exec_plt_entry): New.
(sparc_vxworks_shared_plt0_entry, sparc_vxworks_shared_plt_entry): New.
(_bfd_sparc_elf_link_hash_table_create): Don't initialize
build_plt_entry here.
(create_got_section): Initialize sgotplt for VxWorks.
(_bfd_sparc_elf_create_dynamic_sections): Initialize build_plt_entry,
plt_header_size and plt_entry_size, with new VxWorks-specific settings.
Call elf_vxworks_create_dynamic_sections for VxWorks.
(allocate_dynrelocs): Use plt_header_size and plt_entry_size.
Allocate room for .got.plt and .rela.plt.unloaded entries on VxWorks.
(_bfd_sparc_elf_size_dynamic_sections): Don't allocate a nop in .plt
for VxWorks. Check for the .got.plt section.
(sparc_vxworks_build_plt_entry): New function.
(_bfd_sparc_elf_finish_dynamic_symbol): Add handling of VxWorks PLTs.
Don't make _GLOBAL_OFFSET_TABLE_ and _PROCEDURE_LINKAGE_TABLE_
absolute on VxWorks.
(sparc32_finish_dyn): Add special handling for DT_RELASZ
and DT_PLTGOT on VxWorks.
(sparc_vxworks_finish_exec_plt): New.
(sparc_vxworks_finish_shared_plt): New.
(_bfd_sparc_elf_finish_dynamic_sections): Call them.
Use plt_header_size and plt_entry_size.
* elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Add is_vxworks,
srelplt2, sgotplt, plt_header_size and plt_entry_size fields.
* Makefile.am (elfxx-sparc.lo): Depend on elf-vxworks.h.
(elf32-sparc.lo): Likewise.
* Makefile.in: Regenerate.
* targets.c (bfd_elf32_sparc_vxworks_vec): Declare.
(_bfd_target_vector): Add a pointer to it.
gas/
* config/tc-sparc.c (sparc_target_format): Handle TE_VXWORKS.
(GOTT_BASE, GOTT_INDEX): New.
(tc_gen_reloc): Don't alter relocations against GOTT_BASE and
GOTT_INDEX when generating VxWorks PIC.
* configure.tgt (sparc*-*-vxworks*): Remove this special case;
use the generic *-*-vxworks* stanza instead.
gas/testsuite/
* gas/sparc/vxworks-pic.s, gas/sparc/vxworks-pic.d: New test.
* gas/sparc/sparc.exp: Run it. Remove sparc*-*-vxworks* XFAILs.
ld/
* configure.tgt (sparc*-*-vxworks*): New stanza.
* emulparams/elf32_sparc_vxworks.sh: New file.
* Makefile.am (ALL_EMULATIONS): Add eelf32_sparc_vxworks.o.
(eelf32_sparc_vxworks.c): New rule.
* Makefile.in: Regenerate.
ld/testsuite/
* ld-sparc/vxworks1.dd, ld-sparc/vxworks1.ld, ld-sparc/vxworks1-lib.dd,
* ld-sparc/vxworks1-lib.nd, ld-sparc/vxworks1-lib.rd,
* ld-sparc/vxworks1-lib.s, ld-sparc/vxworks1.rd, ld-sparc/vxworks1.s,
* ld-sparc/vxworks1-static.d, ld-sparc/vxworks2.s,
* ld-sparc/vxworks2.sd, ld-sparc/vxworks2-static.sd: New tests.
* ld-sparc/sparc.exp: Run them.
papadopo [Wed, 5 Apr 2006 10:01:56 +0000 (10:01 +0000)]
* include/mq.h: New file.
* lib/mqrt.def: (MQ*): Define a few missing functions.
papadopo [Wed, 5 Apr 2006 07:23:14 +0000 (07:23 +0000)]
* lib/mqrt.def: New file.
Needs the mq.h file to work properly, working on it.
Thanks to: Pascal Obry <pobry at users dot sf dot net>
papadopo [Wed, 5 Apr 2006 07:06:06 +0000 (07:06 +0000)]
* include/winerror.h (STG_E_*): Define.
Thanks to: Oliver Stoeneberg <kidkat at users dot sf dot net>
* include/winerror.h (STG_S_*): Define.
(CO_S_MACHINENAMENOTFOUND): Define.
(RPC_E_*): Define.
(NTE_*): Define.
joshuadfranklin [Wed, 5 Apr 2006 04:09:55 +0000 (04:09 +0000)]
faq.using.chmod faq.programming.adjusting-heap
bje [Wed, 5 Apr 2006 01:51:15 +0000 (01:51 +0000)]
* lib/ld-lib.exp: Comment cleanups.
amodra [Wed, 5 Apr 2006 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 5 Apr 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
davem [Tue, 4 Apr 2006 23:17:41 +0000 (23:17 +0000)]
* gdb.base/float.exp: Add pattern for sparc targets.
davem [Tue, 4 Apr 2006 22:14:52 +0000 (22:14 +0000)]
* Makefile.in (sparc-linux-nat.o, sparc64-linux-nat.o): Update for
new includes.
davem [Tue, 4 Apr 2006 21:53:45 +0000 (21:53 +0000)]
* config/linux.mh (NATDEPFILES): Remove sparc-sol2-nat.o
* config/linux64.h (NATDEPFILES): Likewise
* sparc-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset,
fill_fpregset): New.
* sparc64-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset,
fill_fpregset): New.
schwab [Tue, 4 Apr 2006 17:06:34 +0000 (17:06 +0000)]
* Makefile.in (elf_common_h): Define.
corinna [Tue, 4 Apr 2006 09:54:25 +0000 (09:54 +0000)]
* net.cc (fdsock): Raise default SO_RCVBUF/SO_SNDBUF buffer sizes to
the same values as on Linux.
ebotcazou [Tue, 4 Apr 2006 08:52:21 +0000 (08:52 +0000)]
* ldlang.c (lang_map): Print the list of discarded input sections.
(print_input_section): Change parameter and print zero-sized sections.
(print_statement): Adjust call to print_input_section.
amodra [Tue, 4 Apr 2006 08:04:57 +0000 (08:04 +0000)]
PR 997
* frags.c (frag_offset_fixed_p): New function.
* frags.h (frag_offset_fixed_p): Declare.
* expr.c (expr): Use frag_offset_fixed_p when simplifying subtraction.
(resolve_expression): Likewise.
amodra [Tue, 4 Apr 2006 00:00:07 +0000 (00:00 +0000)]
daily update
gdbadmin [Tue, 4 Apr 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
bwilson [Mon, 3 Apr 2006 19:11:05 +0000 (19:11 +0000)]
* config/tc-xtensa.c (init_op_placement_info_table): Check for formats
of the same length but different numbers of slots.
cgf [Mon, 3 Apr 2006 17:33:07 +0000 (17:33 +0000)]
* child_info.h (CURR_CHILD_INFO_MAGIC): Update.
(child_info_fork::alloc_stack): Move into this class.
(child_info_fork::alloc_stack_hard_way): Ditto.
* dcrt0.cc (child_info_fork::alloc_stack): Ditto.
(child_info_fork::alloc_stack_hard_way): Ditto.
(_dll_crt0): Reference alloc_stack via fork_info.
corinna [Mon, 3 Apr 2006 17:21:42 +0000 (17:21 +0000)]
* spawn.cc (linebuf::finish): Drop argument. Don't check command line
length.
(spawn_guts): Remove wascygexec. Check real_path.iscygexec instead.
Accommodate change to linebuf::finish.
cgf [Mon, 3 Apr 2006 16:04:01 +0000 (16:04 +0000)]
* dcrt0.cc (sm): Delete.
(alloc_stack_hard_way): Figure out where the stack lives here rather than
relying on previously filled out information which has been invalid since
1.5.19.
ams [Mon, 3 Apr 2006 14:31:14 +0000 (14:31 +0000)]
2006-04-03 Andrew Stubbs <andrew.stubbs@st.com>
* sh-tdep.c (sh_dwarf2_frame_init_reg): New function.
(sh_gdbarch_init): Call dwarf2_frame_set_init_reg().
papadopo [Mon, 3 Apr 2006 13:01:26 +0000 (13:01 +0000)]
* include/commctrl.h (ListView_*): Define and correct.
(LVM_*): Define.
papadopo [Mon, 3 Apr 2006 09:55:26 +0000 (09:55 +0000)]
* include/winuser.h (WM_IME_*): Define (DWORD type).
(EM_*IMESTATUS): Define.
(WM_*): Define.
(XBUTTON*): Define.
Thanks to: Steve Folly <spfolly at users dot sf dot net>
cgf [Mon, 3 Apr 2006 03:37:52 +0000 (03:37 +0000)]
* cygwinenv.sgml: Rename fork_retry to proc_retry since it has turned out to be
more general than just fork.
hp [Mon, 3 Apr 2006 03:05:00 +0000 (03:05 +0000)]
* sim/cris/hw: New directory for subdirectories with tests.
* sim/cris/hw/rv-n-cris: New directory with tests.
hp [Mon, 3 Apr 2006 03:01:45 +0000 (03:01 +0000)]
* cris/dv-cris.c, cris/dv-rv.c, cris/rvdummy.c: New files.
* cris/Makefile.in (CONFIG_DEVICES): Remove redundant setting.
(dv-cris.o, dv-rv.o rvdummy$(EXEEXT), rvdummy.o): New rules.
(all): Depend on rvdummy$(EXEEXT).
* cris/configure.ac: Call SIM_AC_OPTION_WARNINGS. Check for
sys/socket.h and sys/select.h. Call SIM_AC_OPTION_HARDWARE,
default off.
* cris/configure: Regenerate.
* cris/cris-sim.h (cris_have_900000xxif): Declare here.
(enum cris_interrupt_type, crisv10deliver_interrupt)
(crisv32deliver_interrupt: New declarations.
* cris/cris-tmpl.c [WITH_HW] (MY (f_model_insn_after)): Call
sim_events_tickn and set state-events member work_pending when it's
time for the next event.
[WITH_HW] (MY (f_specific_init)): Set CPU-model-specific
interrupt-delivery function.
* cris/crisv10f.c (MY (deliver_interrupt)): New function.
* cris/crisv32f.c (MY (deliver_interrupt)): New function.
* cris/devices.c: Include hw-device.h.
(device_io_read_buffer) [WITH_HW]: Call hw_io_read_buffer.
(device_io_write_buffer): Only perform 0x900000xx-functions if
cris_have_900000xxif is nonzero. Else if WITH_HW defined,
call hw_io_write_buffer. Add return 0 last in function.
* cris/sim-if.c (cris_have_900000xxif): Now global.
(sim_open) [WITH_HW]: Clear deliver_interrupt cpu member.
Force "-model" option, effectively.
* cris/sim-main.h (cris_interrupt_delivery_fn): New type.
(struct _sim_cpu) [WITH_HW]: New member deliver_interrupt.
gdbadmin [Mon, 3 Apr 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Mon, 3 Apr 2006 00:00:06 +0000 (00:00 +0000)]
daily update
hp [Sun, 2 Apr 2006 12:46:42 +0000 (12:46 +0000)]
* cris/Makefile.in (CRISV10F_OBJS): Remove semcrisv10f-switch.o.
(CRISV32F_OBJS): Remove semcrisv32f-switch.o.
(semcrisv10f-switch.o, semcrisv32f-switch.o: Remove dependency rules.
hp [Sun, 2 Apr 2006 11:43:44 +0000 (11:43 +0000)]
* sim/cris/asm/testutils.inc (test_h_mem): Use register prefix.
(testr_h_dr, test_h_dr, ldmem_h_gr, mvr_h_mem): Ditto. Correct
syntax.
hp [Sun, 2 Apr 2006 11:31:40 +0000 (11:31 +0000)]
* sim/cris/asm/x0-v10.ms, sim/cris/asm/x0-v32.ms: Widen regexp for
stack pointer values.
amodra [Sun, 2 Apr 2006 00:00:04 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 2 Apr 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***
dannysmith [Sat, 1 Apr 2006 04:51:23 +0000 (04:51 +0000)]
* deffilep.y (def_image_name): If LIBRARY or NAME statement
specifies an empty string, retain the name specified on command
line.
* ld.texinfo: Document above
gdbadmin [Sat, 1 Apr 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
amodra [Sat, 1 Apr 2006 00:00:05 +0000 (00:00 +0000)]
daily update
dj [Fri, 31 Mar 2006 23:01:16 +0000 (23:01 +0000)]
merge from gcc