OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
16 years agodaily update
amodra [Sun, 25 May 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago * gdbarch.sh: Added new gdbarch struct
cseo [Sat, 24 May 2008 16:32:00 +0000 (16:32 +0000)]
* gdbarch.sh: Added new gdbarch struct
core_regset_sections.
* gdbarch.c: Refreshed.
* gdbarch.h: Refreshed.
* regset.h (core_regset_section): Declared.
* linux-nat.c (linux_nat_do_thread_registers): Added
support for the new gdbarch struct core_regset_sections.
* utils.c (host_address_to_string): New function.
* defs.h (host_address_to_string): New prototype.
* i386-linux-tdep.c (i386_regset_rections): New register
sections list for i386.
  (i386_linux_init_abi): Initialized new gdbarch struct
  core_regset_sections.
* Makefile.in: Updated to reflect dependency changes.
* ppc-linux-tdep.c (ppc_regset_sections): Register
sections list for ppc.
  (ppc_linux_init_abi): Initialized new gdbarch struct
  core_regset_sections

16 years ago * elf.c (elfcore_write_register_note): New function.
cseo [Sat, 24 May 2008 16:14:59 +0000 (16:14 +0000)]
* elf.c (elfcore_write_register_note): New function.
* elf-bfd.h (elfcore_write_register_note): New prototype.

16 years ago* mount.cc (mount_info::init): Revert previous change.
cgf [Sat, 24 May 2008 15:59:00 +0000 (15:59 +0000)]
* mount.cc (mount_info::init): Revert previous change.
(mount_info::from_fstab): Change system_printf to debug_printf.  Just use a
local NT_MAX_PATH sized temporary buffer.

16 years ago * mount.cc (mount_info::init): Recreate path when trying to read the
corinna [Sat, 24 May 2008 10:07:49 +0000 (10:07 +0000)]
* mount.cc (mount_info::init): Recreate path when trying to read the
user fstab file.

16 years ago * path.cc (symlink_info::check): Reorder test for nfs symlinks.
corinna [Sat, 24 May 2008 09:54:32 +0000 (09:54 +0000)]
* path.cc (symlink_info::check): Reorder test for nfs symlinks.

16 years agodaily update
amodra [Sat, 24 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Sat, 24 May 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago* linespec.c (decode_objc): Save current language around call to
schwab [Fri, 23 May 2008 23:39:01 +0000 (23:39 +0000)]
* linespec.c (decode_objc): Save current language around call to
get_selected_block.

16 years ago * gdb.ada/null_array/foo.adb: Add multi-dimensional array
brobecke [Fri, 23 May 2008 18:15:23 +0000 (18:15 +0000)]
    * gdb.ada/null_array/foo.adb: Add multi-dimensional array
        of zero-size elements.
        * gdb.ada/null_array.exp: Test printing this new array.

16 years ago * valprint.h (get_array_bounds): Renames get_array_low_bound.
brobecke [Fri, 23 May 2008 18:13:35 +0000 (18:13 +0000)]
    * valprint.h (get_array_bounds): Renames get_array_low_bound.
        * valprint.c (get_array_bounds): Renames get_array_low_bound.
        Return the proper bound value if the array index type is an
        enumerated type. Compute the high bound if requested.
        (val_print_array_elements): Handle the case when the array
        element has a null size.
        * ada-valprint.c (print_optional_low_bound): Add handling
        for empty arrays or arrays of zero-size elements.
        (ada_val_print_array): New function, extracted out from
        ada_val_print_1 case TYPE_CODE_ARRAY, and enhanced to
        handle empty arrays and arrays of zero-size elements.
        (ada_val_print_1)[case TYPE_CODE_ARRAY]: Replace extracted-out
        code by call to ada_val_print_array.
        (ada_value_print): Remove handling of null array.  The handling
        was incomplete and is now better handled by ada_val_print_array.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::opendir): Don't try to
corinna [Fri, 23 May 2008 17:22:17 +0000 (17:22 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Don't try to
use FileIdBothDirectoryInformation on NFS shares.  Fix comment to
explain why.
* path.cc (symlink_info::check): Reinstantiate no_ea.  Use in
erroneously changed condition.

16 years ago* mount.cc (find_root_from_cygwin_dll): New function factored from from_fstab.
cgf [Fri, 23 May 2008 16:38:50 +0000 (16:38 +0000)]
* mount.cc (find_root_from_cygwin_dll): New function factored from from_fstab.
Avoid use of tls since it isn't necessarily initialized when cygwin1.dll is
dynamically loaded.
(mount_info::create_root_entry): Ditto.
(mount_info::init): Calculate cygwin root once.  Use create_root_entry to
record it.  Pass fstab location to from_fstab.
(mount_info::from_fstab): Move root calculation stuff elsewhere, as per above.
* shared_info.h (mount_info::from_fstab_line): Make private.
(mount_info::fstab): Ditto.  Accommodate new arguments.

16 years ago* mount.cc (mount_info::from_fstab): Use cygwin_hmodule rather than trying to
cgf [Fri, 23 May 2008 15:33:03 +0000 (15:33 +0000)]
* mount.cc (mount_info::from_fstab): Use cygwin_hmodule rather than trying to
find handle based on cygwin1.dll.
* path.cc (symlink_info::check): Remove unused variable.

16 years agoAdd more farcall tests
nickc [Fri, 23 May 2008 14:16:16 +0000 (14:16 +0000)]
Add more farcall tests

16 years ago2008-05-23 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 23 May 2008 13:55:35 +0000 (13:55 +0000)]
2008-05-23  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/6518
* config/tc-i386.c (match_template): Report ambiguous operand
size, not invalid suffix when there is no match in Intel
syntax.

16 years ago bfd/
nickc [Fri, 23 May 2008 13:53:26 +0000 (13:53 +0000)]
    bfd/
        * elf32-arm.c (arm_type_of_stub): Ignore STT_SECTION symbols.
        (elf32_arm_stub_add_mapping_symbol): Remove.
        (elf32_arm_add_stub): Don't generate mapping symbols. Change
        prototype.
        (elf32_arm_size_stubs): Use new elf32_arm_add_stub
        prototype. Don't generate thumb to arm glue for calls.
        (arm_map_one_stub): Define.
        (elf32_arm_output_arch_local_syms): Generate mapping symbols for
        long calls stubs.

        ld/testsuite/
        * ld-arm/farcall-arm-arm.s: Force function type on 'bar'.
        * ld-arm/farcall-thumb-arm.s: Likewise.
        * ld-arm/farcall-thumb-arm-blx.d: Fix encoding.
        * ld-arm/farcall-thumb-arm.d: Likewise.
        * ld-arm/farcall-thumb-arm-blx-pic-veneer.d: Likewise.
        * ld-arm/arm-elf.exp (armelftests): Add farcall-mix, farcall-mix2,
        farcall-group-default, farcall-group-size2, farcall-section Ignore
        gas warnings in farcall-thumb-arm, farcall-thumb-arm-blx,
        farcall-thumb-arm-blx-pic-veneer.

16 years ago * libc/include/sys/_default_fcntl.h: Include <sys/time.h> on Cygwin.
corinna [Fri, 23 May 2008 12:33:49 +0000 (12:33 +0000)]
* libc/include/sys/_default_fcntl.h: Include <sys/time.h> on Cygwin.

16 years ago * shared.cc (open_shared): Fix comments. Fix a condition which has
corinna [Fri, 23 May 2008 11:59:37 +0000 (11:59 +0000)]
* shared.cc (open_shared): Fix comments.  Fix a condition which has
been overlooked to revert to its old state in change from 2008-04-18.

16 years ago * path.cc (symlink_info::check): Define eabuf and easize outside of
corinna [Fri, 23 May 2008 11:00:35 +0000 (11:00 +0000)]
* path.cc (symlink_info::check): Define eabuf and easize outside of
loop.  Set to NULL on first STATUS_EAS_NOT_SUPPORTED.  Align comments.
Fix formatting.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::readdir): Eliminate
corinna [Fri, 23 May 2008 10:01:34 +0000 (10:01 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Eliminate
compiler warning.

16 years ago* path.cc (symlink_info::check): Don't pass EaBuffer to NtCreateFile if it has
cgf [Fri, 23 May 2008 07:13:46 +0000 (07:13 +0000)]
* path.cc (symlink_info::check): Don't pass EaBuffer to NtCreateFile if it has
indicated that it isn't appropriate.
* ntdll.h (STATUS_EAS_NOT_SUPPORTED): Define.
* winsup.h: Remove __builtin* defines.

16 years ago * annotate.c (annotate_source, annotate_frame_begin): Replace
deuling [Fri, 23 May 2008 04:31:40 +0000 (04:31 +0000)]
* annotate.c (annotate_source, annotate_frame_begin): Replace
deprecated_print_address_numeric with paddress.
* cli/cli-cmds.c (list_command, edit_command): Likewise.
* tui/tui-stack.c (tui_make_status_line): Likewise.

* defs.h (deprecated_print_address_numeric): Remove.
* printcmd.c (deprecated_print_address_numeric): Remove.
* maint.c (maint_print_section_info): Fix comment.

16 years ago * valprint.c (print_hex_chars, print_octal_chars, print_decimal_chars,
deuling [Fri, 23 May 2008 04:28:05 +0000 (04:28 +0000)]
* valprint.c (print_hex_chars, print_octal_chars, print_decimal_chars,
print_binary_chars, print_char_chars): Add byte_order parameter and
replace gdbarch_byte_order.
(print_decimal_chars): Replace START_P, NOT_END_P and NEXT_P by their
expressions and remove them.  Remove unused TWO_TO_FOURTH.
(val_print_type_code_int): Introduce gdbarch_byte_order to get at the
endianness.  Update call to print_hex_chars.
* valprint.h (print_hex_chars, print_octal_chars, print_decimal_chars,
print_binary_chars, print_char_chars): Add byte_order parameter.
* printcmd.c (print_scalar_formatted): Introduce gdbarch_byte_order to
get at the endianness.  Update print_*_char calls to use byte_order.

16 years agogas/testsuite/
hjl [Fri, 23 May 2008 00:18:50 +0000 (00:18 +0000)]
gas/testsuite/

2008-05-22  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/sse-noavx.s: Add tests for cvtpd2pi, cvtpi2pd and
cvttpd2pi.
* gas/i386/x86-64-sse-noavx.s: Likewise.

* gas/i386/sse-noavx.d: Updated.
* gas/i386/x86-64-sse-noavx.d: Likewise.

opcodes/

2008-05-22  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.tbl: Add NoAVX to cvtpd2pi, cvtpi2pd and cvttpd2pi.
* i386-tbl.h: Regenerated.

16 years ago*** empty log message ***
gdbadmin [Fri, 23 May 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Fri, 23 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago2008-05-22 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 22 May 2008 21:30:22 +0000 (21:30 +0000)]
2008-05-22  Jeff Johnston  <jjohnstn@redhat.com>

* libc/include/sys/reent.h: Add _h_errno field.
* libc/sys/linux/libc-symbols.h: Add default stubs for new libc macros
now used in net directory.
* libc/sys/linux/bits/libc-lock.h: Always define _IO_MTSAFE_IO.
* libc/sys/linux/include/hesiod.h: Add needed macros for new code
in net directory.
* libc/sys/linux/include/netdb.h: Ditto.
* libc/sys/linux/include/resolv.h: Ditto.
* libc/sys/linux/include/stdint.h: Ditto.
* libc/sys/linux/include/arpa/nameser.h: Ditto.
* libc/sys/linux/include/net/ethernet.h: Ditto.
* libc/sys/linux/include/net/if_ppp.h: Ditto.
* libc/sys/linux/include/netinet/if_ether.h: Ditto.
* libc/sys/linux/machine/i386/get_clockfreq.c: Remove static memmem.
* libc/sys/linux/machine/i386/include/endian.h: Protect macros with
flags to avoid duplicate definition.
* libc/sys/linux/machine/i386/include/param.h: Ditto.
* libc/sys/linux/net/Makefile.am: Modified to account for removed and
added files.
* libc/sys/linux/net/Makefile.in: Regenerated.
* libc/sys/linux/net/base64.c: Replaced with glibc version of code.
* libc/sys/linux/net/getaddrinfo.c: Ditto.
* libc/sys/linux/net/getnameinfo.c: Ditto.
* libc/sys/linux/net/getproto.c: Ditto.
* libc/sys/linux/net/getservent.c: Ditto.
* libc/sys/linux/net/inet_netof.c: Ditto.
* libc/sys/linux/net/inet_lnaof.c: Ditto.
* libc/sys/linux/net/ns_name.c: Ditto.
* libc/sys/linux/net/ns_netint.c: Ditto.
* libc/sys/linux/net/inet_ntoa.c: Ditto.
* libc/sys/linux/net/ns_parse.c: Ditto.
* libc/sys/linux/net/ns_print.c: Ditto.
* libc/sys/linux/net/ns_ttl.c: Ditto.
* libc/sys/linux/net/nsap_addr.c: Ditto.
* libc/sys/linux/net/rcmd.c: Ditto.
* libc/sys/linux/net/res_comp.c: Ditto.
* libc/sys/linux/net/res_data.c: Ditto.
* libc/sys/linux/net/res_debug.c: Ditto.
* libc/sys/linux/net/res_init.c: Ditto.
* libc/sys/linux/net/res_mkquery.c: Ditto.
* libc/sys/linux/net/res_query.c: Ditto.
* libc/sys/linux/net/res_send.c: Ditto.
* libc/sys/linux/net/send.c: Ditto.
* libc/sys/linux/stdlib/collate.c: Ditto.
* libc/sys/linux/sys/ioctl.h: Ditto.
* libc/sys/linux/sys/socket.h: Ditto.
* libc/sys/linux/sys/unistd.h: Ditto.
* libc/sys/linux/iconv/iconvconfig.c: Removed either because no longer
used or because licensing includes advertising clause that cannot be
ignored.
* libc/sys/linux/iconv/strtab.c: Ditto.
* libc/sys/linux/include/libc_private.h: Ditto.
* libc/sys/linux/include/nsswitch.h: Ditto.
* libc/sys/linux/include/net/if_atm.h: Ditto.
* libc/sys/linux/include/net/if_media.h: Ditto.
* libc/sys/linux/include/net/if_pppvar.h: Ditto.
* libc/sys/linux/include/netinet/if_atm.h: Ditto.
* libc/sys/linux/include/netinet/ip_flow.h: Ditto.
* libc/sys/linux/intl/locale.alias: Ditto.
* libc/sys/linux/net/addr2ascii.3: Ditto.
* libc/sys/linux/net/bindresvport.c: Ditto.
* libc/sys/linux/net/byteorder.3: Ditto.
* libc/sys/linux/net/res_config.h: Ditto.
* libc/sys/linux/net/ether_addr.c: Ditto.
* libc/sys/linux/net/ethers.3: Ditto.
* libc/sys/linux/net/getaddrinfo.3: Ditto.
* libc/sys/linux/net/gethostbydns.c: Ditto.
* libc/sys/linux/net/gethostbyht.c: Ditto.
* libc/sys/linux/net/gethostbyname.3: Ditto.
* libc/sys/linux/net/gethostbynis.c: Ditto.
* libc/sys/linux/net/gethostnamadr.c: Ditto.
* libc/sys/linux/net/getifaddrs.3: Ditto.
* libc/sys/linux/net/getifaddrs.c: Ditto.
* libc/sys/linux/net/getipnodebyname.3: Ditto.
* libc/sys/linux/net/getnameinfo.3: Ditto.
* libc/sys/linux/net/getnetbydns.c: Ditto.
* libc/sys/linux/net/getnetbyht.c: Ditto.
* libc/sys/linux/net/getnetbynis.c: Ditto.
* libc/sys/linux/net/getnetent.3: Ditto.
* libc/sys/linux/net/getnetnamadr.c: Ditto.
* libc/sys/linux/net/getprotoent.3: Ditto.
* libc/sys/linux/net/getprotoent.c: Ditto.
* libc/sys/linux/net/getprotoname.c: Ditto.
* libc/sys/linux/net/getservbyname.c: Ditto.
* libc/sys/linux/net/getservbyport.c: Ditto.
* libc/sys/linux/net/getservent.3: Ditto.
* libc/sys/linux/net/herror.c: Ditto.
* libc/sys/linux/net/hesiod.3: Ditto.
* libc/sys/linux/net/hesiod.c: Ditto.
* libc/sys/linux/net/if_indextoname.3: Ditto.
* libc/sys/linux/net/inet.3: Ditto.
* libc/sys/linux/net/inet6_option_space.3: Ditto.
* libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
* libc/sys/linux/net/inet_makeaddr.c: Ditto.
* libc/sys/linux/net/inet_net.3: Ditto.
* libc/sys/linux/net/inet_network.c: Ditto.
* libc/sys/linux/net/innetgr-stub.c: Ditto.
* libc/sys/linux/net/ip6opt.c: Ditto.
* libc/sys/linux/net/iso_addr.3: Ditto.
* libc/sys/linux/net/iso_addr.c: Ditto.
* libc/sys/linux/net/linkaddr.3: Ditto.
* libc/sys/linux/net/linkaddr.c: Ditto.
* libc/sys/linux/net/map_v4v6.c: Ditto.
* libc/sys/linux/net/name6.c: Ditto.
* libc/sys/linux/net/namespace.h: Ditto.
* libc/sys/linux/net/ns.3: Ditto.
* libc/sys/linux/net/ns_addr.c: Ditto.
* libc/sys/linux/net/ns_ntoa.c: Ditto.
* libc/sys/linux/net/nsdispatch.3: Ditto.
* libc/sys/linux/net/nsdispatch.c: Ditto.
* libc/sys/linux/net/nslexer.c: Ditto.
* libc/sys/linux/net/nslexer.l: Ditto.
* libc/sys/linux/net/nsparser.c: Ditto.
* libc/sys/linux/net/nsparser.h: Ditto.
* libc/sys/linux/net/nsparser.y: Ditto.
* libc/sys/linux/net/rcmd.3: Ditto.
* libc/sys/linux/net/rcmdsh.3: Ditto.
* libc/sys/linux/net/res_mkupdate.c: Ditto.
* libc/sys/linux/net/res_update.c: Ditto.
* libc/sys/linux/net/resolver.3: Ditto.
* libc/sys/linux/net/rthdr.c: Ditto.
* libc/sys/linux/net/vars.c: Ditto.
* libc/sys/linux/shlib-compat.h: New file.
* libc/sys/linux/machine/i386/atomic.h: Ditto.
* libc/sys/linux/net/XXX-lookup.c: Ditto.
* libc/sys/linux/net/alias-lookup.c: Ditto.
* libc/sys/linux/net/res_libc.c: Ditto.
* libc/sys/linux/net/aliases.h: Ditto.
* libc/sys/linux/net/check_pf.c: Ditto.
* libc/sys/linux/net/databases.def: Ditto.
* libc/sys/linux/net/digits_dots.c: Ditto.
* libc/sys/linux/net/ether_aton.c: Ditto.
* libc/sys/linux/net/ether_aton_r.c: Ditto.
* libc/sys/linux/net/ether_hton.c: Ditto.
* libc/sys/linux/net/ether_line.c: Ditto.
* libc/sys/linux/net/ether_ntoa.c: Ditto.
* libc/sys/linux/net/ether_ntoa_r.c: Ditto.
* libc/sys/linux/net/ether_ntoh.c: Ditto.
* libc/sys/linux/net/etherent.h: Ditto.
* libc/sys/linux/net/ethers-lookup.c: Ditto.
* libc/sys/linux/net/function.def: Ditto.
* libc/sys/linux/net/getXXbyYY.c: Ditto.
* libc/sys/linux/net/getXXbyYY_r.c: Ditto.
* libc/sys/linux/net/getXXent.c: Ditto.
* libc/sys/linux/net/getXXent_r.c: Ditto.
* libc/sys/linux/net/getaliasent.c: Ditto.
* libc/sys/linux/net/getaliasent_r.c: Ditto.
* libc/sys/linux/net/getaliasname.c: Ditto.
* libc/sys/linux/net/getaliasname_r.c: Ditto.
* libc/sys/linux/net/gethstbyad.c: Ditto.
* libc/sys/linux/net/gethstbyad_r.c: Ditto.
* libc/sys/linux/net/gethstbynm.c: Ditto.
* libc/sys/linux/net/gethstbynm2.c: Ditto.
* libc/sys/linux/net/gethstbynm2_r.c: Ditto.
* libc/sys/linux/net/gethstbynm_r.c: Ditto.
* libc/sys/linux/net/gethstent.c: Ditto.
* libc/sys/linux/net/gethstent_r.c: Ditto.
* libc/sys/linux/net/getnetbyad.c: Ditto.
* libc/sys/linux/net/getnetbyad_r.c: Ditto.
* libc/sys/linux/net/getnetbynm.c: Ditto.
* libc/sys/linux/net/getnetbynm_r.c: Ditto.
* libc/sys/linux/net/getnetent.c: Ditto.
* libc/sys/linux/net/getnetent_r.c: Ditto.
* libc/sys/linux/net/getnetgrent.c: Ditto.
* libc/sys/linux/net/getnetgrent_r.c: Ditto.
* libc/sys/linux/net/getnssent.c: Ditto.
* libc/sys/linux/net/getnssent_r.c: Ditto.
* libc/sys/linux/net/getproto_r.c: Ditto.
* libc/sys/linux/net/getprtent.c: Ditto.
* libc/sys/linux/net/getprtent_r.c: Ditto.
* libc/sys/linux/net/getprtname.c: Ditto.
* libc/sys/linux/net/getprtname_r.c: Ditto.
* libc/sys/linux/net/getrpcbyname.c: Ditto.
* libc/sys/linux/net/getrpcbyname_r.c: Ditto.
* libc/sys/linux/net/getrpcbynumber.c: Ditto.
* libc/sys/linux/net/getrpcbynumber_r.c: Ditto.
* libc/sys/linux/net/getrpcent.c: Ditto.
* libc/sys/linux/net/getrpcent_r.c: Ditto.
* libc/sys/linux/net/getservent_r.c: Ditto.
* libc/sys/linux/net/getsrvbynm.c: Ditto.
* libc/sys/linux/net/getsrvbynm_r.c: Ditto.
* libc/sys/linux/net/getsrvbypt.c: Ditto.
* libc/sys/linux/net/getsrvbypt_r.c: Ditto.
* libc/sys/linux/net/grp-lookup.c: Ditto.
* libc/sys/linux/net/herrno.c: Ditto.
* libc/sys/linux/net/hosts-lookup.c: Ditto.
* libc/sys/linux/net/ifaddrs.h: Ditto.
* libc/sys/linux/net/ifreq.c: Ditto.
* libc/sys/linux/net/ifreq.h: Ditto.
* libc/sys/linux/net/in6_addr.c: Ditto.
* libc/sys/linux/net/inet6_option.c: Ditto.
* libc/sys/linux/net/inet_mkadr.c: Ditto.
* libc/sys/linux/net/inet_net.c: Ditto.
* libc/sys/linux/net/key-lookup.c: Ditto.
* libc/sys/linux/net/local.h: Ditto.
* libc/sys/linux/net/netgroup.h: Ditto.
* libc/sys/linux/net/netgrp-lookup.c: Ditto.
* libc/sys/linux/net/network-lookup.c: Ditto.
* libc/sys/linux/net/not-cancel.h: Ditto.
* libc/sys/linux/net/ns_samedomain.c: Ditto.
* libc/sys/linux/net/nscd-types.h: Ditto.
* libc/sys/linux/net/nss.h: Ditto.
* libc/sys/linux/net/nsswitch.c: Ditto.
* libc/sys/linux/net/nsswitch.h: Ditto.
* libc/sys/linux/net/opensock.c: Ditto.
* libc/sys/linux/net/proto-lookup.c: Ditto.
* libc/sys/linux/net/pwd-lookup.c: Ditto.
* libc/sys/linux/net/res_debug.h: Ditto.
* libc/sys/linux/net/res_hconf.c: Ditto.
* libc/sys/linux/net/res_hconf.h: Ditto.
* libc/sys/linux/net/rexec.c: Ditto.
* libc/sys/linux/net/rpc-lookup.c: Ditto.
* libc/sys/linux/net/ruserpass.c: Ditto.
* libc/sys/linux/net/service-lookup.c: Ditto.
* libc/sys/linux/net/spwd-lookup.c: Ditto.
* libc/sys/linux/net/nscd/nscd-client.h: Ditto.
* libc/sys/linux/net/nscd/nscd_proto.h: Ditto.

16 years ago * gdb.texinfo (vAttach, vRun): Re-remove requirement of the stub
palves [Thu, 22 May 2008 21:21:41 +0000 (21:21 +0000)]
* gdb.texinfo (vAttach, vRun): Re-remove requirement of the stub
killing the inferior when it is already debugging a process.

16 years ago * gdb.texinfo (vAttach): Re-remove requirement of the stub killing
palves [Thu, 22 May 2008 21:15:05 +0000 (21:15 +0000)]
* gdb.texinfo (vAttach): Re-remove requirement of the stub killing
the inferior when it is already debugging a process.

16 years ago * grp.cc (internal_getgroups): Fix thinko. Only add enabled groups to
corinna [Thu, 22 May 2008 21:14:30 +0000 (21:14 +0000)]
* grp.cc (internal_getgroups): Fix thinko.  Only add enabled groups to
the group list.

16 years ago * grp.cc (internal_getgroups): Don't add deny-only groups to the group
corinna [Thu, 22 May 2008 21:03:54 +0000 (21:03 +0000)]
* grp.cc (internal_getgroups): Don't add deny-only groups to the group
list.

16 years agogas/testsuite/
hjl [Thu, 22 May 2008 20:52:53 +0000 (20:52 +0000)]
gas/testsuite/

2008-05-22  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/6517
* gas/i386/avx.s: Add tests for unspecified memory operand
size in Intel syntax.
* gas/i386/x86-64-avx.s: Likewise.

* gas/i386/simd.s: Add tests for cvtsi2ss and cvtsi2sd with
unspecified memory operand size in Intel syntax.

* gas/i386/avx.d: Updated.
* gas/i386/avx-intel.d: Likewise.
* gas/i386/simd.d: Likewise.
* gas/i386/simd-intel.d: Likewise.
* gas/i386/simd-suffix.d: Likewise.
* gas/i386/x86-64-avx.d: Likewise.
* gas/i386/x86-64-avx-intel.d: Likewise.

opcodes/

2008-05-22  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/6517
* i386-opc.tbl: Break cvtsi2ss/cvtsi2sd/vcvtsi2sd/vcvtsi2ss
into 32bit and 64bit.  Remove Reg64|Qword and add
IgnoreSize|No_qSuf on 32bit version.
* i386-tbl.h: Regenerated.

16 years ago * cygtls.h (struct san): Add two int values to store the current
corinna [Thu, 22 May 2008 20:32:15 +0000 (20:32 +0000)]
* cygtls.h (struct san): Add two int values to store the current
tls_pathbuf counters.
(return_from_fault): Restore tls_pathbuf counters.
(setup_fault): Save tls_pathbuf counters.
* tlsoffset.h: Regenerate.

16 years ago * setfacl.c (setfacl): Change from void to int. Return 2 in case of
corinna [Thu, 22 May 2008 18:56:26 +0000 (18:56 +0000)]
* setfacl.c (setfacl): Change from void to int.  Return 2 in case of
error.
(main): Return with error code from setfacl.

16 years ago2008-05-22 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 22 May 2008 17:03:55 +0000 (17:03 +0000)]
2008-05-22  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (parse_cond): Covert to lowercase before matching.

16 years ago * symtab.h (struct symbol): Make "aux_value" member a void pointer
uweigand [Thu, 22 May 2008 17:00:50 +0000 (17:00 +0000)]
* symtab.h (struct symbol): Make "aux_value" member a void pointer
instead of a union.
(SYMBOL_LOCATION_BATON): Update.

16 years ago * symtab.h (enum address_class): Remove LOC_BASEREG and
uweigand [Thu, 22 May 2008 17:00:07 +0000 (17:00 +0000)]
* symtab.h (enum address_class): Remove LOC_BASEREG and
LOC_BASEREG_ARG.
(struct symbol): Remove "basereg" member of "aux_value" union.
(SYMBOL_BASEREG): Remove.

* ada-exp.y (select_possible_type_sym): Do not handle LOC_BASEREG
or LOC_BASEREG_ARG.
* ada-lang.c (resolve_subexp, symtab_for_sym): Likewise.
(ada_add_block_symbols): Likewise.
* ax-gdb.c (gen_var_ref): Likewise.
* buildsym.c (finish_block): Likewise.
* findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
* m2-exp.y (yylex): Likewise.
* mi/mi-cmd-stack.c (list_args_or_locals): Likewise.
* printcmd.c (address_info): Likewise.
* stack.c (print_frame_args, print_block_frame_locals): Likewise.
(print_frame_arg_vars): Likewise.
* symmisc.c (print_symbol): Likewise.
* symtab.c (lookup_block_symbol): Likewise.
* tracepoint.c (collect_symbol, add_local_symbols): Likewise.
(scope_info): Likewise.

16 years ago * symtab.h (enum address_class): Remove LOC_LOCAL_ARG.
uweigand [Thu, 22 May 2008 16:59:00 +0000 (16:59 +0000)]
* symtab.h (enum address_class): Remove LOC_LOCAL_ARG.

* ada-exp.y (select_possible_type_sym): Do not handle LOC_LOCAL_ARG.
* ada-lang.c (resolve_subexp, symtab_for_sym): Likewise.
(ada_add_block_symbols): Likewise.
* ax-gdb.c (gen_var_ref): Likewise.
* buildsyms.c (finish_block): Likewise.
* findvar.c (symbol_read_needs_frame, read_var_value): Likewise.
* m2-exp.y (yylex): Likewise.
* mi/mi-cmd-stack.c (list_args_or_locals): Likewise.
* printcmd.c (address_info): Likewise.
* stack.c (print_frame_args, print_frame_arg_vars): Likewise.
* symmisc.c (print_symbol, print_partial_symbols): Likewise.
* symtab.c (lookup_block_symbol): Likewise.
* tracepoint.c (collect_symbol, add_local_symbols): Likewise.
(scope_info): Likewise.

16 years ago * symtab.h (enum address_class): Remove LOC_INDIRECT and
uweigand [Thu, 22 May 2008 16:58:01 +0000 (16:58 +0000)]
* symtab.h (enum address_class): Remove LOC_INDIRECT and
LOC_HP_THREAD_LOCAL_STATIC.

* findvar.c (symbol_read_needs_frame, read_var_value): Do not
handle LOC_INDIRECT or LOC_HP_THREAD_LOCAL_STATIC.
(read_var_value): Likewise.
* buildsym.c (finish_block): Likewise.
* objfiles.c (objfile_relocate): Likewise.
* printcmd.c (address_info): Likewise.
* symmisc.c (print_symbol, print_partial_symbols): Likewise.
* tracepoint.c (scope_info): Likewise.

16 years ago * gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.
jkratoch [Thu, 22 May 2008 14:33:12 +0000 (14:33 +0000)]
* gdb.base/longjmp.exp: Fix GDB_TEST_MULTIPLE missing GDB_PROMPT races.

16 years ago * sec_acl.cc (setacl): Set errno to EINVAL if user or group don't exist.
corinna [Thu, 22 May 2008 12:43:18 +0000 (12:43 +0000)]
* sec_acl.cc (setacl): Set errno to EINVAL if user or group don't exist.

16 years ago * path.cc (cygwin_conv_path): Define tp before setting up faul handler.
corinna [Thu, 22 May 2008 11:18:46 +0000 (11:18 +0000)]
* path.cc (cygwin_conv_path): Define tp before setting up faul handler.
* syscalls.cc: Ditto, throughout.
(gen_full_path_at): Add bool parameter to allow NULL pathname.
(futimesat): Allow NULL pathname as GLIBC.

16 years agoOptimize the generic strchr.
ericb [Thu, 22 May 2008 02:31:46 +0000 (02:31 +0000)]
Optimize the generic strchr.

* libc/string/strchr.c (strchr) [!__OPTIMIZE_SIZE__]: Pre-align
data so unaligned searches aren't penalized.  Special-case
searching for 0.

16 years agoCommitted as obvious.
dannysmith [Thu, 22 May 2008 02:09:06 +0000 (02:09 +0000)]
Committed as obvious.

2008-05-22  Danny Smith  <dannysmith@users.sourceforge.net>

[ mingw-Bugs-1961893 ]
* mingwex/gdtoa/mingw_snprint.c (x_sprintf): Always set __ldtoa mode to 2
for E format.

16 years ago* string.h (strchr): Eliminate.
cgf [Thu, 22 May 2008 01:25:36 +0000 (01:25 +0000)]
* string.h (strchr): Eliminate.
* syscalls.cc (rename): Work around inexplicable C++ warning.

16 years ago*** empty log message ***
gdbadmin [Thu, 22 May 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

16 years agodaily update
amodra [Thu, 22 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years agoOptimize strchr for x86.
ericb [Wed, 21 May 2008 21:46:03 +0000 (21:46 +0000)]
Optimize strchr for x86.

* libc/machine/i386/strchr.S (strchr): Pre-align data so unaligned
searches aren't penalized.  Special-case searching for 0.

16 years agogas/testsuite/
hjl [Wed, 21 May 2008 21:40:56 +0000 (21:40 +0000)]
gas/testsuite/

2008-05-21  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/sse-noavx.s: Add tests for movdq2q and movq2dq.
* gas/i386/x86-64-sse-noavx.s: Likewise.

* gas/i386/sse-noavx.d: Updated.
* gas/i386/x86-64-sse-noavx.d: Likewise.

opcodes/

2008-05-21  H.J. Lu  <hongjiu.lu@intel.com>

* i386-opc.tbl: Add NoAVX to movdq2q and movq2dq.
* i386-tbl.h: Regenerated.

16 years ago * mapfile.cc: New file.
ian [Wed, 21 May 2008 21:37:44 +0000 (21:37 +0000)]
* mapfile.cc: New file.
* mapfile.h: New file.
* options.h (class General_options): Add -M/--print-map and -Map.
* options.cc (General_options::finalize): Make -M equivalent to
-Map -.
* main.cc: Include <cstdio> and "mapfile.h".
(main): Open mapfile if requested.
* gold.cc (class Middle_runner): Add mapfile_ field.  Update
constructor.  Change caller.
(queue_initial_tasks): Add mapfile parameter.  Change caller.
(queue_middle_tasks): Likewise.
* gold.h (queue_initial_tasks, queue_middle_tasks): Update
declarations.
* archive.cc: Include "mapfile.h".
(Archive::add_symbols): Add mapfile parameter.  Change all
callers.  Pass mapfile, symbol, and reason to include_member.
(Archive::include_all_members): Add mapfile parameter.  Change all
callers.
(Archive::include_member): Add mapfile, sym, and why parameters.
Change all callers.  Report inclusion to map file.
* archive.h: Include "fileread.h".
(class Archive): Update declarations.
(Archive::file): New const method.
(class Add_archive_symbols): Add mapfile_ field.  Update
constructor.  Change all callers.
* readsyms.h (class Read_symbols): Likewise.
(class Finish_group): Likewise.
(class Read_script): Likewise.
* common.cc: Include "mapfile.h".
(Symbol_table::allocate_commons): Add mapfile parameter.  Change
all callers.
(Symbol_table::do_allocate_commons): Likewise.
(Symbol_table::do_allocate_commons_list): Likewise.  Report common
symbol allocation to mapfile.
* common.h (class Allocate_commons_task): Add mapfile_ field.
Update constructor.  Change all callers.
* symtab.h (class Symbol_table): Update declarations.
* layout.cc: Include "mapfile.h".
(Layout_task_runner::run): Print information to mapfile.
(Layout::create_gold_note): Change Output_data_fixed_space to
Output_data_zero_fill.
(Layout::create_build_id): Likewise.
(Layout::print_to_mapfile): New function.
* layout.h (class Layout_task_runner): Add mapfile_ field.  Update
constructor.  Change caller.
(class Layout): Declare print_to_mapfile.
* output.cc (Output_section::Input_section::print_to_mapfile): New
function.
(Output_section::add_input_section): If producing a map, always
add to input_sections_ list.
(Output_section::do_print_to_mapfile): New function.
(Output_segment::print_sections_to_mapfile): New function.
(Output_segment::print_section_list_to_mapfile): New function.
* output.h: Include "mapfile.h".
(Output_data::print_to_mapfile): New function.
(Output_data::do_print_to_mapfile): New virtual function.
(Output_segment_headers::do_print_to_mapfile): New function.
(Output_file_header::do_print_to_mapfile): New function.
(Output_data_const::do_print_to_mapfile): New function.
(class Output_data_const_buffer): Add map_name_ field.  Update
constructor.  Change all callers.  Add do_print_to_mapfile
function.
(class Output_data_fixed_space): Likewise.
(class Output_data_space): Likewise.
(class Output_data_zero_fill): New class.
(Output_data_strtab::do_print_to_mapfile): New function.
(Output_data_reloc_base::do_print_to_mapfile): New function.
(Output_relocatable_relocs::do_print_to_mapfile): New function.
(Output_data_group::do_print_to_mapfile): New function.
(Output_data_got::do_print_to_mapfile): New function.
(Output_data_dynamic::do_print_to_mapfile): New function.
(Output_symtab_xindex::do_print_to_mapfile): New function.
(class Output_section): Declare do_print_to_mapflie.  Declare
print_to_mapfile in Input_section.
(class Output_segment): Declare new functions.
* object.h (Sized_relobj::symbol_count): New function.
* script-sections.cc
(Output_section_element_dot_assignment::set_section_addresses):
Change Output_data_fixed_space to Output_data_zero_fill.
(Output_data_expression::do_print_to_mapfile): New function.
* script.cc (read_input_script): Add mapfile parameter.  Change
all callers.
* script.h (read_input_script): Update declaration.
* ehframe.h (Eh_frame_hdr::do_print_to_mapfile): New function.
(Eh_frame::do_print_to_mapfile): New function.
* merge.h (Output_merge_data::do_print_to_mapfile): New function.
(Output_merge_string::do_print_to_mapfile): New function.
* i386.cc (Output_data_plt_i386::do_print_to_mapfile): New
function.
* sparc.cc (Output_data_plt_sparc::do_print_to_mapfile): New
function.
* x86_64.cc (Output_data_plt_x86_64::do_print_to_mapfile): New
function.
* Makefile.am (CCFILES): Add mapfile.cc.
(HFILES): Add mapfile.h.
* Makefile.in: Rebuild.

16 years ago2008-05-21 Markus Deuling <deuling@de.ibm.com>
maxim2405 [Wed, 21 May 2008 18:37:29 +0000 (18:37 +0000)]
2008-05-21 Markus Deuling  <deuling@de.ibm.com>
   Maxim Grigoriev  <maxim2405@gmail.com>

* xtensa-tdep.c (xtensa_read_register): Remove.
(xtensa_frame_cache): Get rid of xtensa_read_register. Pass extra
argument litbase to call0_frame_cache().
(call0_track_op, call0_analyze_prologue)
(call0_frame_cache): Use extra argument litbase.

16 years agoFix the date of the entry that I just added.
brobecke [Wed, 21 May 2008 17:58:21 +0000 (17:58 +0000)]
Fix the date of the entry that I just added.

16 years ago * gdb.texinfo (Continuing and Stepping): Document the new "fin"
brobecke [Wed, 21 May 2008 17:57:21 +0000 (17:57 +0000)]
    * gdb.texinfo (Continuing and Stepping): Document the new "fin"
        abbreviation for "finish".

16 years ago * gdb.base/finish.exp: Test that "fin" works as an abbreviation
brobecke [Wed, 21 May 2008 17:55:22 +0000 (17:55 +0000)]
    * gdb.base/finish.exp: Test that "fin" works as an abbreviation
        of the "finish" command.

16 years ago * infcmd.c (_initialize_infcmd): Add new "fin" alias for "finish".
brobecke [Wed, 21 May 2008 17:54:23 +0000 (17:54 +0000)]
    * infcmd.c (_initialize_infcmd): Add new "fin" alias for "finish".

16 years ago * frame.h (SIZEOF_FRAME_SAVED_REGS): Remove.
uweigand [Wed, 21 May 2008 15:08:39 +0000 (15:08 +0000)]
* frame.h (SIZEOF_FRAME_SAVED_REGS): Remove.

16 years ago * reloc-macros.h: Add a comment about the use of the
nickc [Wed, 21 May 2008 14:50:07 +0000 (14:50 +0000)]
    * reloc-macros.h: Add a comment about the use of the
        END_RELOC_NUMBERS symbol as a sentinel value.
        * arm.h (END_RELOC_NUMBERS): Provide a maximum value.

16 years ago * alpha-mdebug-tdep.c: Include "trad-frame.h".
uweigand [Wed, 21 May 2008 14:47:25 +0000 (14:47 +0000)]
* alpha-mdebug-tdep.c: Include "trad-frame.h".
(struct alpha_mdebug_unwind_cache): Change type of SAVED_REGS to
struct trad_frame_saved_reg *.
(alpha_mdebug_frame_unwind_cache): Allocate SAVED_REGS using
trad_frame_alloc_saved_regs.  Update accesses.  Record previous
value of SP as being vfp.
(alpha_mdebug_frame_prev_register): Use trad_frame_get_prev_register.
* Makefile.in (alpha-mdebug-tdep.o): Update dependencies.

16 years ago PR ld/6519
nickc [Wed, 21 May 2008 12:16:22 +0000 (12:16 +0000)]
    PR ld/6519
        * ld.texinfo (Orphan Sections): Mention that the linker will
        provide start and stop symbols for orphaned sections if their
        names are valid C identifiers.
        * NEWS: Add an addendum to the description of the linker feature
        for providing orphan section start and end symbols.

16 years ago Multi-GOT support for m68k.
nickc [Wed, 21 May 2008 12:01:35 +0000 (12:01 +0000)]
    Multi-GOT support for m68k.

        bfd/

        * elf32-m68k.c (struct elf_m68k_link_hash_entry: got_entry_key,
        glist): New fields.
        (struct elf_m68k_got_entry_key, struct elf_m68k_got_entry,
        struct elf_m68k_got, struct elf_m68k_bfd2got_entry,
        struct elf_m68k_multi_got): New data structures.
        (struct elf_m68k_link_hash_table: local_gp_p, use_neg_got_offsets_p,
        allow_multigot_p, multi_got_): New fields.
        (elf_m68k_multi_got): New macro.
        (elf_m68k_link_hash_newfunc): Initialize new fields of
        struct elf_m68k_link_hash_entry.
        (elf_m68k_link_hash_table_create): Initialize new fields of
        struct elf_m68k_link_hash_table.
        (elf_m68k_link_hash_table_free): New static function implementing hook.
        (elf_m68k_init_got, elf_m68k_clear_got, elf_m68k_create_empty_got): New
        static functions for struct elf_m68k_got.
        (elf_m68k_init_got_entry_key, elf_m68k_got_entry_hash,
        elf_m68k_got_entry_eq): New static functions for
        struct elf_m68k_got_entry.
        (ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT,
        ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): New macros.
        (enum elf_m68k_get_entry_howto): New enum.
        (elf_m68k_get_got_entry, elf_m68k_update_got_entry_type,
        elf_m68k_remove_got_entry_type): New static functions for
        struct elf_m68k_got_entry.
        (elf_m68k_add_entry_to_got): New static function.
        (elf_m68k_bfd2got_entry_hash, elf_m68k_bfd2got_entry_eq,
        elf_m68k_bfd2got_entry_del, elf_m68k_get_bfd2got_entry): New static
        functions for struct elf_m68k_bfd2got_entry.
        (struct elf_m68k_can_merge_gots_arg, elf_m68k_can_merge_gots_1,
        elf_m68k_can_merge_gots): New traversal.
        (struct elf_m68k_merge_gots_arg, elf_m68k_merge_gots_1,
        elf_m68k_merge_gots): Ditto.
        (struct elf_m68k_finalize_got_offsets_arg,
        elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Ditto.
        (struct elf_m68k_partition_multi_got_arg,
        elf_m68k_partition_multi_got_1, elf_m68k_init_symndx2h_1,
        elf_m68k_partition_multi_got): Ditto.
        (elf_m68k_find_got_entry_ptr, elf_m68k_remove_got_entry): New static
        functions.
        (elf_m68k_copy_indirect_symbol): New static function implementing
        a hook.
        (elf_m68k_check_relocs): Update to add entries to multi-GOT.
        (elf_m68k_gc_sweep_hook): Update to remove entries from multi-GOT.
        (elf_m68k_always_size_sections): Assign BFDs to GOTs.
        (elf_m68k_relocate_section): Update to properly handle GOT relocations.
        (elf_m68k_finish_dynamic_symbol): Update to traverse all GOT entries
        of a global symbol.
        (bfd_elf_m68k_set_target_options): New function.
        (bfd_elf32_bfd_link_hash_table_free): Define hook.
        (bfd_elf32_bfd_final_link): Change expansion to bfd_elf_final_link
        to skip generic calculation of GOT offsets.
        (elf_backend_copy_indirect_symbol): Define hook.

        * bfd-in.h (bfd_elf_m68k_set_target_options): Declare function.
        * bfd-in2.h: Regenerate.

        ld/

        * configure.in (--enable-got): New option.  Handle it.
        * configure: Regenerate.
        * config.in: Regenerate.

        * emultempl/m68kelf.em: (got_handling_target_default): New shell
        variable.
        (GOT_HANDLING_TARGET_DEFAULT): New macro.
        (GOT_HANDLING_DEFAULT): New macro.  Initialize it from configure
        option if one was given.
        (got_handling): New static variable.
        (elf_m68k_create_output_section_statements): New static function
        implementing hook.
        (PARSE_AND_LIST_PROLOGUE): Define shell variable.
        (OPTION_GOT): New macro.
        (PARSE_AND_LIST_LONGOPTS): Define shell variable.  Specify
        --got option.
        (got): New linker option.
        (PARSE_AND_LIST_OPTIONS): Define shell variable.  Print help string
        for --got option.
        (PARSE_AND_LIST_ARGS_CASES): Define shell variable.  Handle --got
        option.

        * ld.texinfo: Document --got=<type> option.
        * gen-doc.texi: Add M68K.
        * NEWS: Mention the new feature.

        ld/testsuite/

        * ld-m68k/got-12.s: New file.
        * ld-m68k/got-13.s: New file.
        * ld-m68k/got-14.s: New file.
        * ld-m68k/got-15.s: New file.
        * ld-m68k/got-34.s: New file.
        * ld-m68k/got-35.s: New file.
        * ld-m68k/got-single-12-ok.d: New dump test.
        * ld-m68k/got-single-13-er.d: New dump test.
        * ld-m68k/got-negative-14-ok.d: New dump test.
        * ld-m68k/got-negative-15-er.d: New dump test.
        * ld-m68k/got-negative-12-13-14-34-ok.d: New dump test.
        * ld-m68k/got-negative-12-13-14-35-er.d: New dump test.
        * ld-m68k/got-multigot-14-ok.d: New dump test.
        * ld-m68k/got-multigot-15-er.d: New dump test.
        * ld-m68k/got-multigot-12-13-14-34-35-ok.d: New dump test.
        * ld-m68k/xgot-15.s: New source.
        * ld-m68k/got-xgot-15-ok.d: New test.
        * ld-m68k/got-xgot-12-13-14-15-34-35-ok.d: New test.
        * ld-m68k/m68k.exp: Run new tests.

16 years ago PR 868
nickc [Wed, 21 May 2008 11:46:42 +0000 (11:46 +0000)]
    PR 868
        * dwarf2.c (_bfd_dwarf2_cleanup_debug_info): Free memory allocated
        for filenames in function tables and variable tables.

16 years ago PR ld/6430
nickc [Wed, 21 May 2008 10:59:11 +0000 (10:59 +0000)]
  PR ld/6430
   * ld.texinfo (--sort-common): Correct documentation to indicate
   that sorting is performed by alignment, not size, biggest
   alignment first.

16 years ago * fhandler_disk_file.cc (get_ino_by_handle): Rename pfai to fai.
corinna [Wed, 21 May 2008 10:23:18 +0000 (10:23 +0000)]
* fhandler_disk_file.cc (get_ino_by_handle): Rename pfai to fai.
(fhandler_base::fstat_by_handle): Drop fai_size and pfai in favor of
static struct fai_buf.  Restructure.
(fhandler_base::fstat_by_name): Drop fvi_size and pfvi.  Drop fdi_size
and pfdi in favor of static struct fdi_buf.  Drop redundant test for
existance.  Use FileDirectoryInformation class instead of
FileBothDirectoryInformation.  Drop call to NtQueryVolumeInformationFile
in favor of using pc.fs_serial_number ().  Fix FileId information given
to fstat_helper.
(fhandler_disk_file::fstatvfs): Drop fvi_size, pfvi, fai_size and pfai.
Drop getting FileFsVolumeInformation and FileFsAttributeInformation in
favor of using the related path_conv info.
(fhandler_disk_file::opendir): Fix comment.
(fhandler_disk_file::readdir): Ditto.  Use FileDirectoryInformation
class instead of FileBothDirectoryInformation.
* path.cc (fs_info::update): Store MaximumComponentNameLength in new
member name_len.
* path.h (struct fs_info): Use ULONG rather than DWORD.  Add member
name_len to store MaximumComponentNameLength.  Add accessor methods.
(path_conv::fs_name_len): New method.

16 years ago * fhandler.h (dirent_states): Add dirent_nfs_d_ino state and add it to
corinna [Wed, 21 May 2008 09:02:42 +0000 (09:02 +0000)]
* fhandler.h (dirent_states): Add dirent_nfs_d_ino state and add it to
dirent_info_mask.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Set
dirent_nfs_d_ino flag for NFS shares.  Explain why.
(fhandler_disk_file::readdir): Use FileNamesInformation instead of
FileBothDirectoryInformation info class on NFS clients not supporting
the FileIdBothDirectoryInformation info class.  Use local pointers to
accommodate different offsets.
* path.cc (symlink_info::check): Don't test directories for symlinks
on NFS shares.  Enhance comment.

16 years ago * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
nickc [Wed, 21 May 2008 08:20:16 +0000 (08:20 +0000)]
    * config/tc-arm.c (arm_cpus): Add Faraday ARMv4 and ARMv5TE
        compatible cores: fa526, fa626, fa626te, fa726te.
        * doc/c-arm.texi (ARM Opts): Add -mcpu={fa526, fa626, fa626te,
        fa726te} options.

16 years ago * ld.texinfo (ARM): Document --stub-group-size=N option.
nickc [Wed, 21 May 2008 08:09:38 +0000 (08:09 +0000)]
    * ld.texinfo (ARM): Document --stub-group-size=N option.
        Move description of --pic-veneer option into the ARM section.
        * NEWS: Mention the support for long function calls.

16 years ago * syscalls.cc (FILTERED_MODE): Define valid chmod mode mask.
corinna [Wed, 21 May 2008 08:05:52 +0000 (08:05 +0000)]
* syscalls.cc (FILTERED_MODE): Define valid chmod mode mask.
(chmod): Call fh->fchmod with filtered mode.
(fchmod): Ditto.

16 years ago * cr16-dis.c (build_mask): Adjust the mask for 32-bit bcond.
nickc [Wed, 21 May 2008 07:50:54 +0000 (07:50 +0000)]
    * cr16-dis.c (build_mask): Adjust the mask for 32-bit bcond.

16 years ago * libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak).
nickc [Wed, 21 May 2008 07:44:31 +0000 (07:44 +0000)]
    * libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak).
        * iq2000/crt0.S (__dso_handle): Define (weak).
        * frv/crt0.S (__dso_handle): Define (weak).
        * mn10300/crt0.S (___dso_handle): Define (weak).

16 years ago * score-tdep.c (score_print_insn): Get the current endianess from
deuling [Wed, 21 May 2008 04:19:44 +0000 (04:19 +0000)]
* score-tdep.c (score_print_insn): Get the current endianess from
disassemble_info instead of gdbarch_byte_order.

16 years agoAdd @r{, annotation} marker to new-thread function index entry.
nickrob [Wed, 21 May 2008 01:59:49 +0000 (01:59 +0000)]
Add @r{, annotation} marker to new-thread function index entry.

16 years agodaily update
amodra [Wed, 21 May 2008 00:00:05 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Wed, 21 May 2008 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * frame.c (get_prev_frame_1): Build frame id before setting
palves [Tue, 20 May 2008 22:21:18 +0000 (22:21 +0000)]
* frame.c (get_prev_frame_1): Build frame id before setting
this_frame->prev_p, not after.

16 years agoTest for new annotation.
nickrob [Tue, 20 May 2008 21:11:04 +0000 (21:11 +0000)]
Test for new annotation.

16 years ago*** empty log message ***
nickrob [Tue, 20 May 2008 21:10:31 +0000 (21:10 +0000)]
*** empty log message ***

16 years ago(Multi-threaded Apps): New node for new annotation.
nickrob [Tue, 20 May 2008 21:09:37 +0000 (21:09 +0000)]
(Multi-threaded Apps): New node for new annotation.

16 years ago*** empty log message ***
nickrob [Tue, 20 May 2008 21:09:07 +0000 (21:09 +0000)]
*** empty log message ***

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Fix test for
corinna [Tue, 20 May 2008 21:08:39 +0000 (21:08 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Fix test for
S_IFSOCK in mode bits.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Fix test for
corinna [Tue, 20 May 2008 21:08:22 +0000 (21:08 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Fix test for
S_IFSOCK in mode bits.

16 years ago(thread.o): Add dependency on annotate.h.
nickrob [Tue, 20 May 2008 21:06:56 +0000 (21:06 +0000)]
(thread.o): Add dependency on annotate.h.

16 years ago(add_thread_with_info): Use it.
nickrob [Tue, 20 May 2008 21:05:07 +0000 (21:05 +0000)]
(add_thread_with_info): Use it.

16 years ago(annotate_new_thread): New extern.
nickrob [Tue, 20 May 2008 21:04:13 +0000 (21:04 +0000)]
(annotate_new_thread): New extern.

16 years ago(annotate_new_thread): New function for new-thread
nickrob [Tue, 20 May 2008 21:03:34 +0000 (21:03 +0000)]
(annotate_new_thread): New function for new-thread
annotation.

16 years ago*** empty log message ***
nickrob [Tue, 20 May 2008 21:02:27 +0000 (21:02 +0000)]
*** empty log message ***

16 years ago * win32-nat.c (win32_wait): Block the control-c event while
brobecke [Tue, 20 May 2008 18:36:36 +0000 (18:36 +0000)]
    * win32-nat.c (win32_wait): Block the control-c event while
        waiting for a debug event.

16 years ago * path.cc (symlink_worker): Fix EA buffer size info given to
corinna [Tue, 20 May 2008 18:26:45 +0000 (18:26 +0000)]
* path.cc (symlink_worker): Fix EA buffer size info given to
NtCreateFile.
(symlink_info::check_nfs_symlink): Get 64K buffer for EA buffer.
Change EA buffer size info given to NtQueryEaFile accordingly.

16 years ago * path.cc (symlink_info::check_shortcut): Minimize requested file
corinna [Tue, 20 May 2008 18:19:32 +0000 (18:19 +0000)]
* path.cc (symlink_info::check_shortcut): Minimize requested file
access flags.
(symlink_info::check_sysfile): Ditto.  Add missing `else'.
(symlink_info::check): Only retry to open file if first try failed
with access denied.

16 years ago2008-05-20 DJ Delorie <dj@redhat.com>
jjohnstn [Tue, 20 May 2008 18:00:10 +0000 (18:00 +0000)]
2008-05-20  DJ Delorie  <dj@redhat.com>

* libc/sys/sysnecv850/isatty.c (_isatty): Renamed from isatty.

16 years ago * path.cc (fs_info::update): Re-add opening the unsplitted path
corinna [Tue, 20 May 2008 17:18:08 +0000 (17:18 +0000)]
* path.cc (fs_info::update): Re-add opening the unsplitted path
for fillout_mntent's sake.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::mkdir): Create directories
corinna [Tue, 20 May 2008 16:24:06 +0000 (16:24 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::mkdir): Create directories
on NFS shares with correct mode bits.

16 years ago * winsup.h (cygwin_inet_addr): Fix type of declaration.
corinna [Tue, 20 May 2008 15:39:26 +0000 (15:39 +0000)]
* winsup.h (cygwin_inet_addr): Fix type of declaration.

16 years ago * Makefile.in (DLL_OFILES): Add nfs.o.
corinna [Tue, 20 May 2008 15:11:15 +0000 (15:11 +0000)]
* Makefile.in (DLL_OFILES): Add nfs.o.
* fhandler.cc (fhandler_base::open): Open files on NFS shares with
correct access flags and EAs.
* fhandler.h (fhandler_base::fstat_by_nfs_ea): Declare.
* fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): New method.
(fhandler_base::fstat_by_handle): Call fstat_by_nfs_ea for files on
NFS shares.
(fhandler_disk_file::fchmod): Use NFS specific method to set mode for
files on NFS shares.  Don't overrule errno from call to
set_file_attribute with errno from NtSetInformationFile call.
(fhandler_disk_file::fchown): Add comment.
* mount.cc (fillout_mntent): Accommodate change in second parameter
to fs_info::update.
* nfs.cc: New file.
* nfs.h: New file.
* path.cc (fs_info::update): Take handle instead of bool as second
parameter.  Use that handle if it's not NULL.  Only close handle if
it has been opened here.  Use static defined buffers instead of
alloca'd buffers.
(path_conv::check): Call symlink_info::check with reference to fs.
Don't call fs.update here if file exists.
(conv_path_list): Prefer tmp_pathbuf buffer over using alloca.
(symlink_worker): Use NFS specific method to create symlinks on NFS
shares.  Prefer tmp_pathbuf buffer over using alloca.
(symlink_info::check_shortcut): Reopen file from incoming handle
with necessary FILE_GENERIC_READ flag.  Prefer tmp_pathbuf buffer over
using alloca.
(symlink_info::check_sysfile): Ditto.
(symlink_info::check_reparse_point): Use tmp_pathbuf buffer to
allocate REPARSE_DATA_BUFFER.
(symlink_info::check_nfs_symlink): New method.
(enum symlink_t): Remove.
(symlink_info::check): Don't use NtQueryAttributesFile.  Rather, open
file with necessary access flags and call NtQueryInformationFile.  Fix
error handling in case file can't be opened.  For existing files, call
fs_info::update here.  Restructure symlink checking to accommodate the
fact that the file is already open.  Add case for NFS symlinks.
* path.h (fs_info::update): Take handle instead of bool as second
parameter.

16 years ago * syscalls.cc (rename): Fix condition when to start a transaction.
corinna [Tue, 20 May 2008 10:24:25 +0000 (10:24 +0000)]
* syscalls.cc (rename): Fix condition when to start a transaction.

16 years ago * path.cc (path_conv::check): Free wide_path and normalized_path if
corinna [Tue, 20 May 2008 10:18:12 +0000 (10:18 +0000)]
* path.cc (path_conv::check): Free wide_path and normalized_path if
necessary.
* path.h (path_conv::path_conv): Set wide_path, normalized_path and
normalized_path_size to 0 in all constructors.

16 years ago * options.h (class General_options): Add -z relro.
ian [Tue, 20 May 2008 04:00:46 +0000 (04:00 +0000)]
* options.h (class General_options): Add -z relro.
* layout.cc (Layout::Layout): Initialize relro_segment_.
(Layout::add_output_section_data): Return the output section.
(Layout::make_output_section): Rcognize relro sections and mark
them appropriately.
(Layout::attach_allocated_section_to_segment): Put relro sections
in a PT_GNU_RELRO segment.
(Layout::create_initial_dynamic_sections): Mark the .dynamic
section as relro.
(Layout::segment_precedes): Sort PT_GNU_RELRO segments after
PT_TLS segments.
(Layout::linkonce_mapping): Map d.rel.ro.local to
.data.rel.ro.local.
(Layout::output_section_name): Us .data.rel.ro.local for any
section which begins with that.
* layout.h (class Layout): Update add_output_section_data
declaration.  Add relro_segment_ field.
* output.cc (Output_section::Output_section): Initialize is_relro_
and is_relro_local_ fields.
(Output_segment::add_output_section): Group relro sections.
(Output_segment::is_first_section_relro): New function.
(Output_segment::maximum_alignment): If there is a relro section,
align the segment to the common page size.
(Output_segment::set_section_addresses): Track whether we are
looking at relro sections.  If the last section is a relro
section, align to the common page size.
(Output_segment::set_section_list_addresses): Add in_relro
parameter.  Change all callers.  Align to the page size when
moving from relro to non-relro section.
(Output_segment::set_offset): Align memsz of a PT_GNU_RELRO
segment.
* output.h (class Output_section): Add is_relro_ and
is_relro_local_ fields.
(Output_section::is_relro): New function.
(Output_section::set_is_relro): New function.
(Output_section::is_relro_local): New function.
(Output_section::set_is_relro_local): New function.
(class Output_segment): Update declarations.
* i386.cc (Target_i386::got_section): Mark .got section as relro.
* sparc.cc (Target_sparc::got_section): Likewise.
* x86_64.cc (Target_x86_64::got_section): Likewise.
* testsuite/relro_test_main.cc: New file.
* testsuite/relro_test.cc: New file.
* testsuite/Makefile.am (check_PROGRAMS): Add relro_test.
(relro_test_SOURCES, relro_test_DEPENDENCIES): New variables.
(relro_test_LDFLAGS, relro_test_LDADD): New variables.
(relro_test.so, relro_test_pic.o): New targets.
* testsuite/Makefile.in: Rebuild.

16 years agodaily update
amodra [Tue, 20 May 2008 00:00:06 +0000 (00:00 +0000)]
daily update

16 years ago*** empty log message ***
gdbadmin [Tue, 20 May 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

16 years ago * syscalls.cc (rename): Allocate temporary path buffers using
corinna [Mon, 19 May 2008 20:22:28 +0000 (20:22 +0000)]
* syscalls.cc (rename): Allocate temporary path buffers using
tmp_pathbuf.  Don't try to unset R/O attribute on dstpc if a
removepc exists.  dstpc is a non-existant file in that case.