OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
15 years agoopcodes/
bje [Thu, 4 Dec 2008 10:29:15 +0000 (10:29 +0000)]
opcodes/
* ppc-dis.c (powerpc_init_dialect): Do not set PPC_OPCODE_BOOKE
for -Mbooke.
(print_ppc_disassembler_options): Update usage.
* ppc-opc.c (DE, DES, DEO, DE_MASK): Remove.
(BOOKE64): Remove.
(PPCCHLK64): Likewise.
(powerpc_opcodes): Remove all BOOKE64 instructions.

gas/
* config/tc-ppc.c (parse_cpu): Remove booke64 support. Update
usage strings.
(ppc_setup_opcodes): Likewise, remove booke64 support.
* doc/c-ppc.texi (PowerPC-Opts): Remove -mbooke32 and -mbooke64.
* doc/as.texinfo (Overview): Likewise.

binutils/
* doc/binutils.texi (objdump): Update booke documentation.
* NEWS: Document user-visible changes to command line options.

15 years ago * ntsec.sgml: Fix typo.
corinna [Thu, 4 Dec 2008 10:07:54 +0000 (10:07 +0000)]
* ntsec.sgml: Fix typo.

15 years ago* doc/as.texinfo (Type): Reword description of STT_IFUNC type.
nickc [Thu, 4 Dec 2008 08:53:38 +0000 (08:53 +0000)]
* doc/as.texinfo (Type): Reword description of STT_IFUNC type.

15 years ago2008-12-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
krebbel [Thu, 4 Dec 2008 08:43:26 +0000 (08:43 +0000)]
2008-12-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* elf64-s390.c (elf_s390_check_relocs): Initialize
htab->elf.dynobj if necessary.

15 years ago* objdump.c (dump_reloc_set): Append "()" to symbol names which
nickc [Thu, 4 Dec 2008 08:04:46 +0000 (08:04 +0000)]
* objdump.c (dump_reloc_set): Append "()" to symbol names which
  have the BSF_INDIRECT_FUNCTION type.
  * readelf.c (print_symbol): Fix handling of negative widths.
  (dump_relocations): Append "()" to symbol names which have the
  STT_IFUNC type. Display negative offsets as a positive number with
  a "-" prefix.
  (get_symbol_type): Return "IFUNC" for STT_IFUNC symbols.
  * doc/binutils.texi: Document 'i' symbol type.

15 years agodaily update
amodra [Thu, 4 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Thu, 4 Dec 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * libc/minires.c (open_sock): Set non blocking and close on exec.
corinna [Wed, 3 Dec 2008 16:37:49 +0000 (16:37 +0000)]
* libc/minires.c (open_sock): Set non blocking and close on exec.
(res_ninit): Set id pseudo-randomly.
(res_nsend): Do not set close on exec. Initialize server from id.
Flush socket. Tighten rules for answer acceptance.
(res_nmkquery): Update id using current data.

15 years agoinclude/elf/
nickc [Wed, 3 Dec 2008 14:50:56 +0000 (14:50 +0000)]
include/elf/
            * common.h (STT_IFUNC): Define.
elfcpp/
            * elfcpp.h (enum STT): Add STT_IFUNC.
bfd/
            * syms.c (struct bfd_symbol): Add new flag BSF_INDIRECT_FUNCTION.
            Remove redundant flag BFD_FORT_COMM_DEFAULT_VALUE.  Renumber flags
            to remove gaps.
            (bfd_print_symbol_vandf): Return 'i' for BSF_INDIRECT_FUNCTION.
            (bfd_decode_symclass): Likewise.
            * elf.c (swap_out_syms): Translate BSF_INDIRECT_FUNCTION into
            STT_IFUNC.
            (elf_find_function): Treat STT_IFUNC in the same way as STT_FUNC.
            (_bfd_elf_is_function_type): Likewise.
            * elf32-arm.c (arm_elf_find_function): Likewise.
            (elf32_arm_adjust_dynamic_symbol): Likewise.
            (elf32_arm_swap_symbol_in): Likewise.
            (elf32_arm_additional_program_headers): Likewise.
            * elf32-i386.c (is_indirect_symbol): New function.
            (elf_i386_check_relocs): Also generate dynamic relocs for
            relocations against STT_IFUNC symbols.
            (allocate_dynrelocs): Likewise.
            (elf_i386_relocate_section): Likewise.
            * elf64-x86-64.c (is_indirect_symbol): New function.
            (elf64_x86_64_check_relocs): Also generate dynamic relocs for
            relocations against STT_IFUNC symbols.
            (allocate_dynrelocs): Likewise.
            (elf64_x86_64_relocate_section): Likewise.
            * elfcode.h (elf_slurp_symbol_table): Translate STT_IFUNC into
            BSF_INDIRECT_FUNCTION.
            * elflink.c (_bfd_elf_adjust_dynamic_reloc_section): Add support
            for STT_IFUNC symbols.
            (get_ifunc_reloc_section_name): New function.
            (_bfd_elf_make_ifunc_reloc_section): New function.
            * elf-bfd.h (struct bfd_elf_section_data): Add indirect_relocs field.
            * bfd-in2.h: Regenerate.
gas/
            * config/obj-elf.c (obj_elf_type): Add support for STT_IFUNC type.
            * doc/as.texinfo: Document new feature.
            * NEWS: Mention new feature.
gas/testsuite/
            * gas/elf/type.s: Add test of STT_IFUNC symbol type.
            * gas/elf/type.e: Update expected disassembly.
            * gas/elf/elf.exp: Update grep of symbol types.
ld/
            * NEWS: Mention new feature.
            * pe-dll.c (process_def_file): Replace use of redundant
            BFD_FORT_COMM_DEFAULT_VALUE with 0.
            * scripttempl/elf.sc: Add .rel.ifunc.dyn and .rela.ifunc.dyn
            sections.
ld/testsuite/
            * ld-mips-elf/reloc-1-n32.d: Updated expected output for reloc
            descriptions.
            * ld-mips-elf/reloc-1-n64.d: Likewise.
            * ld-i386/ifunc.d: New test.
            * ld-i386/ifunc.s: Source file for the new test.
            * ld-i386/i386.exp: Run the new test.

15 years ago * ntsec.sgml: Revamp parts of the doc for clearness.
corinna [Wed, 3 Dec 2008 11:47:27 +0000 (11:47 +0000)]
* ntsec.sgml: Revamp parts of the doc for clearness.

15 years agodaily update
amodra [Wed, 3 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Wed, 3 Dec 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * ntsec.sgml: Fix a few typos.
corinna [Tue, 2 Dec 2008 19:29:37 +0000 (19:29 +0000)]
* ntsec.sgml: Fix a few typos.

15 years ago * infrun.c (handle_inferior_event): Remove redundant resetting of
devans [Tue, 2 Dec 2008 19:20:23 +0000 (19:20 +0000)]
* infrun.c (handle_inferior_event): Remove redundant resetting of
stepping_past_singlestep_breakpoint.

15 years ago * cygserver.sgml: Fix cross reference to the ntsec documentation.
corinna [Tue, 2 Dec 2008 17:39:39 +0000 (17:39 +0000)]
* cygserver.sgml: Fix cross reference to the ntsec documentation.

15 years ago * cygserver.sgml: Document new feature to store hidden passwords
corinna [Tue, 2 Dec 2008 17:32:37 +0000 (17:32 +0000)]
* cygserver.sgml: Document new feature to store hidden passwords
for seteuid.

15 years ago * ntsec.sgml: Finishing up changes for 1.7.
corinna [Tue, 2 Dec 2008 17:07:40 +0000 (17:07 +0000)]
* ntsec.sgml: Finishing up changes for 1.7.

15 years ago* Makefile.def: configure-target-boehm-gc depends on
schwab [Tue, 2 Dec 2008 16:43:06 +0000 (16:43 +0000)]
* Makefile.def: configure-target-boehm-gc depends on
all-target-libstdc++-v3.
* Makefile.in: Regenerate.

15 years ago * target.h (target_get_osdata): Describe.
palves [Tue, 2 Dec 2008 15:52:13 +0000 (15:52 +0000)]
* target.h (target_get_osdata): Describe.
* osdata.h (make_cleanup_osdata_free): Declare.
* osdata.c (osdata_item_clear): Define even if HAVE_LIBEXPAT is
not defined.
(osdata_free_cleanup): New.
(make_cleanup_osdata_free): New.
(get_osdata): Fix leak.
(info_osdata_command): Use make_cleanup_osdata_free.
(info_processes_command): Delete.
(_initialize_osdata): Drop undocumented "info processes" alias.
* mi/mi-main.c (mi_cmd_list_thread_groups): Fix leak.

15 years agogdb/
jkratoch [Tue, 2 Dec 2008 14:50:59 +0000 (14:50 +0000)]
gdb/
Fix resolving external references to TLS variables.
* findvar.c: Include `objfiles.h'.
(read_var_value <LOC_UNRESOLVED>): New variable `obj_section'.  Handle
SEC_THREAD_LOCAL variables.
* printcmd.c (address_info <LOC_UNRESOLVED>): Handle SEC_THREAD_LOCAL
variables.

gdb/testsuite/
Test resolving external references to TLS variables.
* gdb.threads/tls.exp: New tests to examine A_THREAD_LOCAL and
FILE2_THREAD_LOCAL.
(testfile2, srcfile2): New variables.
* gdb.threads/tls.c (file2_thread_local)
(function_referencing_file2_thread_local): New.
* gdb.threads/tls2.c: New file.

15 years ago * fhandler_registry.cc (must_encode): Fix condition changed for testing.
corinna [Tue, 2 Dec 2008 11:44:58 +0000 (11:44 +0000)]
* fhandler_registry.cc (must_encode): Fix condition changed for testing.

15 years ago * fhandler_registry.cc (must_encode): New function.
corinna [Tue, 2 Dec 2008 11:40:13 +0000 (11:40 +0000)]
* fhandler_registry.cc (must_encode): New function.
(encode_regname): Ditto.
(decode_regname): Ditto.
(fhandler_registry::exists): Encode name before path compare.
(fhandler_registry::fstat): Pass decoded name to win32 registry call.
(fhandler_registry::readdir): Return encoded name to user.
(fhandler_registry::open): Store decoded name into value_name.
(open_key): Pass decoded name to win32 registry call.

15 years ago * infrun.c (handle_inferior_event): Delete unused local tp.
devans [Tue, 2 Dec 2008 09:52:31 +0000 (09:52 +0000)]
* infrun.c (handle_inferior_event): Delete unused local tp.

15 years ago2008-12-02 Kai Tietz <kai.tietz@onevision.com>
ktietz [Tue, 2 Dec 2008 09:33:12 +0000 (09:33 +0000)]
2008-12-02  Kai Tietz  <kai.tietz@onevision.com>

        * pe-dll.c (make_runtime_pseudo_reloc): Make symtab big enough to
        hold relocations.

15 years ago2008-12-02 Tristan Gingold <gingold@adacore.com>
gingold [Tue, 2 Dec 2008 09:18:45 +0000 (09:18 +0000)]
2008-12-02  Tristan Gingold  <gingold@adacore.com>

* config.bfd: Add x86_64-*-darwin*

15 years ago MI non-stop and multiprocess docs.
vprus [Tue, 2 Dec 2008 08:01:15 +0000 (08:01 +0000)]
MI non-stop and multiprocess docs.

        * gdb.texinfo (GDB/MI): New section 'GDB/MI General Design'
        (GDB/MI Output Records): New section 'GDB/MI Frame Information'
        Adjust documentation for *stopped, document =thread-created,
        =thread-exited, =thread-group-created and =thread-group-exited.
        (GDB/MI Thread Commands): Document the 'state' field in
        -thread-info output.
        (GDB/MI Program Execution): Mention --all and --thread-group
        options.
        (GDB/MI Variable Objects): Describe floating and fixed variable
        objects.
        (GDB/MI Miscellaneous Commands): Document -list-thread-groups.

15 years ago Implement -list-thread-groups --available
vprus [Tue, 2 Dec 2008 07:57:35 +0000 (07:57 +0000)]
Implement -list-thread-groups --available

        * Makefile.in (XMLFILES): Add osdata.dtd.
        (SFILES): Add osdata.c.
        (COMMON_OBS): Add osdata.o.
        * linux-nat.c: Include pwd.h, sys/types.h, gdb_dirent.h and xml-support.h.
        (linux_nat_xfer_osdata): New function.
        (linux_xfer_partial): Handle TARGET_OBJECT_OSDATA.
        * osdata.c: New file.
        * osdata.h: New file.
        * remote.c (PACKET_qXfer_osdata): New packet enum.
        (remote_protocol_features): Add "qXfer:osdata:read".
        (remote_read_qxfer): Handle TARGET_OBJECT_OSDATA.
        (extended_remote_can_run): New.
        (init_extended_remote_ops): Set to_can_run to
        extended_remote_can_run.
        (_initialize_remote): Add packet config command for
        "qXfer:osdata:read".
        * xml-support.c (obstack_xml_printf): New function.
        * xml-support.h (obstack_xml_printf): Declare.
        * target.c (target_get_osdata): New function.
        * target.h (enum target_object): Add TARGET_OBJECT_OSDATA.
        (target_os_data): Declare.
        * features/osdata.dtd: New file.
        * mi/mi-main.c (mi_list_thread_groups): Handle the --available
        option.

15 years ago* infrun.c (proceed): Delete unused local stop_signal.
devans [Tue, 2 Dec 2008 04:42:45 +0000 (04:42 +0000)]
* infrun.c (proceed): Delete unused local stop_signal.

15 years ago * config.sub, config.guess: Update from upstream sources.
bje [Tue, 2 Dec 2008 03:21:45 +0000 (03:21 +0000)]
* config.sub, config.guess: Update from upstream sources.

15 years ago*** empty log message ***
gdbadmin [Tue, 2 Dec 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Tue, 2 Dec 2008 00:00:09 +0000 (00:00 +0000)]
daily update

15 years agogold/ChangeLog:
ccoutant [Mon, 1 Dec 2008 19:50:48 +0000 (19:50 +0000)]
gold/ChangeLog:

* plugin.cc (ld_plugin_message): Change format parameter to const.
Fix mismatch between new[] and delete.

include/ChangeLog:

* plugin-api.h (ld_plugin_message): Change format parameter to const.

15 years ago * plugin-api.h: Fix syntax error when compiling with C++.
ccoutant [Mon, 1 Dec 2008 19:05:46 +0000 (19:05 +0000)]
* plugin-api.h: Fix syntax error when compiling with C++.

15 years ago * ntsec.sgml: Further changes for 1.7. Switch from "NT" to "Windows".
corinna [Mon, 1 Dec 2008 18:34:44 +0000 (18:34 +0000)]
* ntsec.sgml: Further changes for 1.7.  Switch from "NT" to "Windows".
Add preliminary text.  Try to be more clear in description.  Remove
useless chapters.  Finish the permission related chapters.

15 years ago2008-12-01 Joel Sherrill <joel.sherrill@oarcorp.com>
joel [Mon, 1 Dec 2008 16:10:45 +0000 (16:10 +0000)]
2008-12-01  Joel Sherrill <joel.sherrill@oarcorp.com>

* compile.c: Add const to remove warning.

15 years ago*** empty log message ***
gdbadmin [Mon, 1 Dec 2008 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Mon, 1 Dec 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years agofix typo
cgf [Sun, 30 Nov 2008 22:42:24 +0000 (22:42 +0000)]
fix typo

15 years ago* faq-using.xml: Remove assertion that lpr doesn't exit.
cgf [Sun, 30 Nov 2008 22:37:45 +0000 (22:37 +0000)]
* faq-using.xml: Remove assertion that lpr doesn't exit.
* faq-what.xml: Remove ancient who's who data.

15 years ago*** empty log message ***
gdbadmin [Sun, 30 Nov 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Sun, 30 Nov 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago2008-11-29 Kai Tietz <kai.tietz@onevision.com>
ktietz [Sat, 29 Nov 2008 09:35:51 +0000 (09:35 +0000)]
2008-11-29  Kai Tietz  <kai.tietz@onevision.com>

* config/tc-i386.c (i386_target_format): For coff flavour in TE_PEP
use "pe-i386" for 32-bit.

15 years ago* exceptions.c (sigpacket::process): Set tls on return since it is assumed to
cgf [Sat, 29 Nov 2008 02:41:37 +0000 (02:41 +0000)]
* exceptions.c (sigpacket::process): Set tls on return since it is assumed to
be set to a valid value by the caller.

15 years ago* include/cygwin/version.h: Bump api minor number to 189 to flag the
cgf [Sat, 29 Nov 2008 01:39:53 +0000 (01:39 +0000)]
* include/cygwin/version.h: Bump api minor number to 189 to flag the
implementation of dirent.d_type.

15 years ago * hpux-core.c: Don't include sys/file.h.
danglin [Sat, 29 Nov 2008 00:26:39 +0000 (00:26 +0000)]
* hpux-core.c: Don't include sys/file.h.

15 years agodaily update
amodra [Sat, 29 Nov 2008 00:00:06 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sat, 29 Nov 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * gdb.ada/int_deref.exp: Convert the addresses into long_integer
brobecke [Fri, 28 Nov 2008 23:26:53 +0000 (23:26 +0000)]
    * gdb.ada/int_deref.exp: Convert the addresses into long_integer
        rather than integer, as integer might not be big enough when
        on 64bit targets.

15 years ago2008-11-25 monitor.c (monitor_insert_breakpoint): Remove, already in log before.
jkratoch [Fri, 28 Nov 2008 21:58:06 +0000 (21:58 +0000)]
2008-11-25 monitor.c (monitor_insert_breakpoint): Remove, already in log before.

15 years ago * Makefile.am (ehopt.o): Add struc-symbol.h.
jakub [Fri, 28 Nov 2008 21:28:27 +0000 (21:28 +0000)]
* Makefile.am (ehopt.o): Add struc-symbol.h.
* Makefile.in: Regenerated.
* ehopt.c: Include struc-symbol.h.
(check_eh_frame): For very small O_constant DW_CFA_advance_loc4
create correct DW_CFA_advance_loc.  Handle O_subtract only
for code alignment factor 1, otherwise handle O_divide or
O_right_shift of O_subtract and O_constant.
(eh_frame_estimate_size_before_relax): Always divide by ca.
(eh_frame_convert_frag): Likewise.

* dw2gencfi.c (output_cfi_insn): Scale DW_CFA_advance_loc1,
DW_CFA_advance_loc2 and DW_CFA_advance_loc4 outputs.

15 years ago * aoutx.h (NAME): Add case statements for bfd_mach_mips14000,
ths [Fri, 28 Nov 2008 18:02:15 +0000 (18:02 +0000)]
* aoutx.h (NAME): Add case statements for bfd_mach_mips14000,
bfd_mach_mips16000.
* archures.c (bfd_architecture): Add .#defines for bfd_mach_mips14000,
bfd_mach_mips16000.
* bfd-in2.h: Regenerate.
* cpu-mips.c: Add enums I_mips14000, I_mips16000.
(arch_info_struct): Add refs to R14000, R16000.
* elfxx-mips.c (mips_set_isa_flags): Handle bfd_mach_mips14000,
bfd_mach_mips16000.
(mips_mach_extensions): Map R14000, R16000 to R10000.

* config/tc-mips.c (hilo_interlocks): Handle CPU_R14000, CPU_R16000.
(mips_cpu_info_table): Add r14000, r16000.
* doc/c-mips.texi: Add entries for 14000, 16000.

* mips-dis.c (mips_arch_choices): Add r14000, r16000.

* mips.h: Define CPU_R14000, CPU_R16000.
        (OPCODE_IS_MEMBER): Include R14000, R16000 in test.

15 years ago2008-11-28 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 28 Nov 2008 17:15:46 +0000 (17:15 +0000)]
2008-11-28  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/inode.c: Include <dirent.h> instead of
        <linux/dirent.h>.
        * libc/sys/linux/io64.c: Add weak alias for _stat64.

15 years ago* exceptions.cc (sigpacket::process): Rework previous change. tls could still
cgf [Fri, 28 Nov 2008 16:41:53 +0000 (16:41 +0000)]
* exceptions.cc (sigpacket::process): Rework previous change.  tls could still
become NULL.

15 years ago * dir.cc (readdir_worker): Initialize dirent.d_type and __d_unused1.
corinna [Fri, 28 Nov 2008 09:04:34 +0000 (09:04 +0000)]
* dir.cc (readdir_worker): Initialize dirent.d_type and __d_unused1.
* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper):
Set dirent.d_type based on FILE_ATTRIBUTE_*.
* include/sys/dirent.h: Define _DIRENT_HAVE_D_TYPE (enables DT_*
declarations).
(struct dirent): Add d_type. Adjust __d_unused1 size to preserve layout.

15 years ago* exceptions.cc (sigpacket::process): Make sure that 'tls' is never NULL when
cgf [Fri, 28 Nov 2008 02:56:09 +0000 (02:56 +0000)]
* exceptions.cc (sigpacket::process): Make sure that 'tls' is never NULL when
used.

15 years ago*** empty log message ***
gdbadmin [Fri, 28 Nov 2008 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agodaily update
amodra [Fri, 28 Nov 2008 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago2008-11-27 Ralf Corsepius <ralf.corsepius@rtems.org>
jjohnstn [Thu, 27 Nov 2008 21:01:39 +0000 (21:01 +0000)]
2008-11-27  Ralf Corsepius <ralf.corsepius@rtems.org>

        * libc/posix/telldir.c: Use #if !defined() instead of #ifndef
        to fix GCC warning.

15 years ago2008-11-27 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Thu, 27 Nov 2008 20:57:45 +0000 (20:57 +0000)]
2008-11-27  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/Makefile.am: Add spu-mcount.S spu-gmon.c.
        * libc/machine/spu/Makefile.in: Regenerated.
        * libc/machine/spu/spu-gmon.c: New file.
        * libc/machine/spu/spu-mcount.S: New file.

15 years ago2008-11-27 Joel Sherrill <joel.sherrill@oarcorp.com>
jjohnstn [Thu, 27 Nov 2008 20:50:31 +0000 (20:50 +0000)]
2008-11-27  Joel Sherrill <joel.sherrill@oarcorp.com>

        * configure.host (*-rtems*): Turn on using portion of unix subdirectory.

15 years ago2008-11-27 Craig Howland <howland@LGSInnovations.com>
jjohnstn [Thu, 27 Nov 2008 20:45:37 +0000 (20:45 +0000)]
2008-11-27  Craig Howland <howland@LGSInnovations.com>

        * libc/argz/argz_add.c:  Added #include <argz.h> to get function
        prototypes.
        * libc/argz/argz_append.c: Ditto.
        * libc/argz/argz_count.c: Ditto.
        * libc/argz/argz_create.c: Ditto.
        * libc/argz/argz_create_sep.c: Ditto.
        * libc/argz/argz_delete.c: Ditto.
        * libc/argz/argz_next.c: Ditto.
        * libc/argz/argz_stringify.c: Ditto
        * libc/stdlib/strtod.c: Added #include <stdlib.h> to get function
        prototypes.
        * libc/stdlib/wcstoul.c: Added #include <wchar.h> to get function
        prototypes, corrected traditional usage comment.
        * libc/include/wchar.h: Added _mbsrtowcs_r() prototype.

15 years agoMerge from GCC:
jsm28 [Thu, 27 Nov 2008 17:22:09 +0000 (17:22 +0000)]
Merge from GCC:
2008-11-21  Kai Tietz  <kai.tietz@onevision.com>

Fix PR/25502
* mh-mingw (BOOT_CFLAGS): Add -Wno-pedantic-ms-format switch.

2008-11-12  Steve Ellcey  <sje@cup.hp.com>

PR target/27880
* unwind_ipinfo.m4 (GCC_CHECK_UNWIND_GETIPINFO): Change from
link test to target based test.

15 years ago Merge from GCC:
jsm28 [Thu, 27 Nov 2008 17:14:57 +0000 (17:14 +0000)]
Merge from GCC:

2007-12-02  Matthias Klose  <doko@ubuntu.com>

* config-ml.in: Remove 64bit configure tests.

2008-05-14  Rafael Espindola  <espindola@google.com>

* config-ml.in: don't handle --enable-shared and --enable-static.

2008-09-02  Sebastian Pop  <sebastian.pop@amd.com>
    Tobias Grosser  <grosser@fim.uni-passau.de>
    Jan Sjodin  <jan.sjodin@amd.com>
    Harsha Jagasia  <harsha.jagasia@amd.com>
    Dwarakanath Rajagopal  <dwarak.rajagopal@amd.com>
    Konrad Trifunovic  <konrad.trifunovic@inria.fr>
    Adrien Eliche  <aeliche@isty.uvsq.fr>

Merge from graphite branch.
* configure: Regenerate.
* Makefile.in: Regenerate.
* configure.ac (host_libs): Add ppl and cloog.
Add checks for PPL and CLooG.
* Makefile.def (ppl, cloog): Added modules and dependences.
* Makefile.tpl (PPLLIBS, PPLINC, CLOOGLIBS, CLOOGINC): New.
(HOST_PPLLIBS, HOST_PPLINC, HOST_CLOOGLIBS, HOST_CLOOGINC): New.

2008-09-03  Richard Guenther  <rguenther@suse.de>

* configure.ac: Always pass -DCLOOG_PPL_BACKEND to the
cloog test.
* configure: Re-generate.

2008-09-03  Sebastian Pop  <sebastian.pop@amd.com>

* configure.ac (--with-cloog-polylib): New.
(--disable-cloog-version-check): New.
(--disable-ppl-version-check): New.
* configure: Re-generate.

2008-09-05  Richard Guenther  <rguenther@suse.de>

* configure.ac: Initialize clooglibs to -lcloog.
* configure: Re-generate.

2008-10-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.ac (MPFR check): Bump minimum version to 2.3.0 and
recommended version to 2.3.2.

* configure: Regenerate.

2008-10-31  Ben Elliston  <bje@au.ibm.com>

* configure.ac (spu-*-*): Remove special case.
* configure: Regenerate.

Complete comment text from GCC version of:

2008-08-31  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>

* configure.ac (RPATH_ENVVAR): Use PATH on Windows.
(GCC_SHLIB_SUBDIR): New.
* Makefile.tpl (HOST_LIB_PATH_gcc): Use GCC_SHLIB_SUBDIR.
* configure: Regenerate.
* Makefile.in: Regenerate.

15 years ago2008-11-27 Tristan Gingold <gingold@adacore.com>
gingold [Thu, 27 Nov 2008 15:20:39 +0000 (15:20 +0000)]
2008-11-27  Tristan Gingold  <gingold@adacore.com>

* configure.ac: Build gdb for i?86-*-darwin*
* configure: Regenerated.

15 years ago * emultempl/cr16elf.em (cr16_after_open): New function to handle
swami [Thu, 27 Nov 2008 12:41:14 +0000 (12:41 +0000)]
    * emultempl/cr16elf.em (cr16_after_open): New function to handle
        CR16 ELF embedded reloc creation (ld --embedded-relocs).
        (check_sections): New function.
        (LDEMUL_AFTER_OPEN): Define.
        * emulparams/elf32cr16.sh (EMBEDDED): Define.
* NEWS: Add comment on cr16 new feature.

15 years ago * Add PIC support for CR16 target.
swami [Thu, 27 Nov 2008 12:26:49 +0000 (12:26 +0000)]
    * Add PIC support for CR16 target.
        * elf32-cr16.c (R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 and
        R_CR16_GLOB_DAT): New macros
        (cr16_elf_howto_table): Add entries for for R_CR16_GOT_REGREL20,
        R_CR16_GOTC_REGREL20 and R_CR16_GLOB_DAT.
        (cr16_reloc_map): Ditto
        (_bfd_cr16_elf_create_got_section): New function to create GOT section.
        (_bfd_cr16_elf_create_dynamic_sections): New function to create dynamic
        section.
        (_bfd_cr16_elf_adjust_dynamic_symbol): New function to adjust symbol
        defined by dynamic object.
        (_bfd_cr16_elf_size_dynamic_sections): New function to find the size
        of dynamic section.
        (_bfd_cr16_elf_finish_dynamic_symbol): New function to handle dynamic
        symbols.
        (_bfd_cr16_elf_finish_dynamic_symbol): New function to handle dynamic
        sections.
        (bfd_cr16_elf32_create_embedded_relocs): New function to create
        embedded relocs in .emreloc section in memory for .data.rel section.
        (_bfd_cr16_elf_reloc_type_class): New function for classify reloc types.
        (cr16_elf_check_relocs): New function for checking reloc types in
        first phase.
        (cr16_elf_final_link_relocate): Update for handling the new reloc
        types R_CR16_GOT_REGREL20 and R_CR16_GOTC_REGREL20.
        (elf32_cr16_relax_section): Update relax implementation.
        * reloc.c (bfd_reloc_code_type): Add entries for R_CR16_GOT_REGREL20,
        R_CR16_GOTC_REGREL20 and R_CR16_GLOB_DAT.
        * bfd-in.h (bfd_boolean bfd_cr16_elf32_create_embedded_relocs): Declared
        * libbfd.h, bfd-in2.h: Regenerate.

15 years ago *c-cr16.texi (cr16-operand specifiers): Add got/GOT and cgot/cGOT.
swami [Thu, 27 Nov 2008 12:01:26 +0000 (12:01 +0000)]
*c-cr16.texi (cr16-operand specifiers): Add got/GOT and cgot/cGOT.

15 years ago * config/tc-cr16.h (GLOBAL_OFFSET_TABLE_NAME): Defined
swami [Thu, 27 Nov 2008 11:57:29 +0000 (11:57 +0000)]
    * config/tc-cr16.h (GLOBAL_OFFSET_TABLE_NAME): Defined
        * config/tc-cr16.c (md_pseudo_table): Add "4byte" directive to
        md_pseudo_table and accept @c prefix, same as long directive.
        (cr16_cons_fix_new): Initialize rtype to BFD_RELOC_UNUSED.
        config/tc-cr16.c (tc_gen_reloc): Declare a variable of type
        bfd_reloc_code_real_type and set it for GOT related relocations.
        (md_undefined_symbol): Defined
        (process_label_constant): Added checks for GOT/got and cGOT/cGOT
        prefixes with constant label and set the appropriate relocation type.
        * doc/c-cr16.texi (cr16-operand specifiers): Add got/GOT and cgot/cGOT.

15 years ago * gas/cr16/pic-1.s: New.
swami [Thu, 27 Nov 2008 11:46:52 +0000 (11:46 +0000)]
    * gas/cr16/pic-1.s: New.
        * gas/cr16/pic-1.d: New.
        * gas/cr16/pic-2.s: New.
        * gas/cr16/pic-2.d: New.
        * gas/cr16/pic.exp: Run pic tests.

15 years ago * cr16.h (R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 and
swami [Thu, 27 Nov 2008 11:35:39 +0000 (11:35 +0000)]
* cr16.h (R_CR16_GOT_REGREL20, R_CR16_GOTC_REGREL20 and
R_CR16_GLOB_DAT): New relocations.

15 years ago * cr16-dis.c (match_opcode): Truncate mcode to 32 bit and
swami [Thu, 27 Nov 2008 11:30:33 +0000 (11:30 +0000)]
* cr16-dis.c (match_opcode): Truncate mcode to 32 bit and
adjusted the mask for 32-bit branch instruction.

15 years ago * ppc-opc.c (extract_sprg): Correct operand range check.
amodra [Thu, 27 Nov 2008 10:47:23 +0000 (10:47 +0000)]
* ppc-opc.c (extract_sprg): Correct operand range check.

15 years ago * gdb.cp/formatted-ref.exp: Add equality test.
guitton [Thu, 27 Nov 2008 09:52:55 +0000 (09:52 +0000)]
    * gdb.cp/formatted-ref.exp: Add equality test.
        * gdb.ada/formatted_ref.exp: Ditto.

15 years agogdb:
gingold [Thu, 27 Nov 2008 09:23:01 +0000 (09:23 +0000)]
gdb:
2008-11-27  Tristan Gingold  <gingold@adacore.com>

* NEWS: Add entry for new native configuration: Darwin.
* configure.host: Add Darwin host.
* configure.tgt: Add Darwin target.
* defs.h (enum gdb_osabi): Add GDB_OSABI_DARWIN.
* osabi.c (gdb_osabi_names): Add name for Darwin abi.
* i386-darwin-nat.c: New file.
* i386-darwin-tdep.c: New file.
* machoread.c: New file.
* darwin-nat-info.c: New file.
* darwin-nat.c: New file.
* darwin-nat.h: New file.
* darwin.defs: New file.
* config/i386/darwin.mh: New file.

gdb/doc:
2008-11-27  Tristan Gingold  <gingold@adacore.com>

* gdb.texinfo (Darwin): Document Darwin specific features.

15 years agodaily update
amodra [Thu, 27 Nov 2008 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Thu, 27 Nov 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago2008-11-26 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Wed, 26 Nov 2008 19:59:25 +0000 (19:59 +0000)]
2008-11-26 Ken Werner <ken.werner@de.ibm.com>

        * libm/machine/spu/headers/acosd2.h: Rebase against current simdmath.
        * libm/machine/spu/headers/asind2.h: Likewise.
        * libm/machine/spu/headers/asinhf4.h: Likewise.
        * libm/machine/spu/headers/divd2.h: Likewise.
        * libm/machine/spu/headers/erf_utils.h: Likewise.
        * libm/machine/spu/headers/erfcd2.h: Likewise.
        * libm/machine/spu/headers/erfcf4.h: Likewise.
        * libm/machine/spu/headers/erfd2.h: Likewise.
        * libm/machine/spu/headers/recipd2.h: Likewise.

15 years ago* config/tc-m32c.c (md_pseudo_table): Add support for .loc et al.
dj [Wed, 26 Nov 2008 18:44:13 +0000 (18:44 +0000)]
* config/tc-m32c.c (md_pseudo_table): Add support for .loc et al.

15 years agoclarify entry
cgf [Wed, 26 Nov 2008 17:21:20 +0000 (17:21 +0000)]
clarify entry

15 years agoRemove unneeded whitespace.
cgf [Wed, 26 Nov 2008 17:21:02 +0000 (17:21 +0000)]
Remove unneeded whitespace.
* fhandler_fifo.cc (fhandler_fifo::open): Rework to cause errno to be set to
ENXIO when opening a fifo write/nonblocking.
* environ.cc (ucreqenv): Rename to ucenv.  Move code from old ucenv here and
conditionalize it on create_upcaseenv.
(ucenv): Delete.
(environ_init): Fix compiler warning by moving create_upcaseenv test to ucenv.
Don't bother checking for child_proc_info when calling ucenv since it is
assumed to be NULL at the point where the function is called.
* path.cc (symlink_worker): Turn off MS-DOS path warnings when dealing with
devices since the device handler passes in a translated MS-DOS path.
* sec_auth.cc (lsaprivkeyauth): Avoid variable initialization which causes a
compiler error.
* fhandler_netdrive.cc: Update copyright.

15 years ago* Revert erroneous checkin.
cgf [Wed, 26 Nov 2008 16:42:26 +0000 (16:42 +0000)]
* Revert erroneous checkin.

15 years agoupdate copyright
cgf [Wed, 26 Nov 2008 16:42:00 +0000 (16:42 +0000)]
update copyright

15 years ago* Makefile.in: Revert erroneous checkin.
cgf [Wed, 26 Nov 2008 16:40:29 +0000 (16:40 +0000)]
* Makefile.in: Revert erroneous checkin.
* Makefile.common: Tweak to work better with new utils/mingw front-end.

15 years ago2008-11-26 Tristan Gingold <gingold@adacore.com>
gingold [Wed, 26 Nov 2008 16:32:59 +0000 (16:32 +0000)]
2008-11-26  Tristan Gingold  <gingold@adacore.com>

* MAINTAINERS: Add myself for write after approval privileges.

15 years ago * value.h (allocate_value_lazy): New function declaration.
guitton [Wed, 26 Nov 2008 16:27:26 +0000 (16:27 +0000)]
* value.h (allocate_value_lazy): New function declaration.
(value_free): Remove macro, make it a function.
* value.c (value): Move actual content outside of the memory space
of the struct; add a pointer to this actual content.
(allocate_value_lazy, allocate_value_contents): New function.
(allocate_value): Reimplement using these two new functions.
(value_contents_raw, value_contents_all_raw): If no memory
has been allocated yet for the actual content, allocate it.
(value_contents_all): Resync with struct value's changes.
(value_free): New function.
(value_copy, value_primitive_field): Use new function
allocate_value_lazy to allocate lazy values.
(value_change_enclosing_type): Resync with struct value's changes.
As the value is not reallocated, remove the special handling for
the value chain (now obsolete).
* valops.c (value_at_lazy): Use new function allocate_value_lazy.
(value_fetch_lazy): Allocate value content. Use allocate_value_lazy
to allocate lazy values.
(value_slice): Use allocate_value_lazy to allocate lazy values.

15 years ago * strings.c (main): New variable `s'. Have string_min parsing
jkratoch [Wed, 26 Nov 2008 14:24:35 +0000 (14:24 +0000)]
* strings.c (main): New variable `s'.  Have string_min parsing
call fatal for invalid input strings.

15 years ago2008-11-24 Joel Sherrill <joel.sherrill@oarcorp.com>
joel [Wed, 26 Nov 2008 14:24:12 +0000 (14:24 +0000)]
2008-11-24  Joel Sherrill <joel.sherrill@oarcorp.com>

    * arminit.c, iwmmxt.c: Include <string.h> to
    eliminate warning.

15 years agoFix typo.
schwab [Wed, 26 Nov 2008 10:49:06 +0000 (10:49 +0000)]
Fix typo.

15 years ago(NEXTBYTE, NEXTWORD, NEXTLONG, NEXTULONG, NEXTSINGLE)
schwab [Wed, 26 Nov 2008 10:43:18 +0000 (10:43 +0000)]
(NEXTBYTE, NEXTWORD, NEXTLONG, NEXTULONG, NEXTSINGLE)
(NEXTDOUBLE, NEXTEXTEND, NEXTPACKED): Fix error handling.
(save_printer, save_print_address): Remove.
(fetch_data): Don't use them.
(match_insn_m68k): Always restore printing functions.
(print_insn_m68k): Don't save/restore printing functions.

15 years ago * passwd.c (longopts): Add --reg-store-pwd option.
corinna [Wed, 26 Nov 2008 10:19:09 +0000 (10:19 +0000)]
* passwd.c (longopts): Add --reg-store-pwd option.
(opts): Add -R option.
(usage): Add text for -R/--reg-store-pwd option.
(main): Fix size of local user and password string arrays.
Handle -R option.
* utils.sgml: Add text for passwd -R/--reg-store-pwd option.

15 years ago * Makefile.in (OBJS): Add setpwd.o.
corinna [Wed, 26 Nov 2008 10:18:52 +0000 (10:18 +0000)]
* Makefile.in (OBJS): Add setpwd.o.
* README: Explain new service to store passwords in the LSA registry
area.
* bsd_helper.cc (get_token_info): Make externally available.
* bsd_helper.h (get_token_info): Declare.
* client.cc (client_request::handle_request): Add case for
CYGSERVER_REQUEST_SETPWD request.
* setpwd.cc: New file implementing the CYGSERVER_REQUEST_SETPWD
request.

15 years ago * Makefile.in (DLL_OFILES): Add setlsapwd.o.
corinna [Wed, 26 Nov 2008 10:18:09 +0000 (10:18 +0000)]
* Makefile.in (DLL_OFILES): Add setlsapwd.o.
* cygserver.h (CYGWIN_SERVER_VERSION_API): Bump.
(request_code_t): Define CYGSERVER_REQUEST_SETPWD request type.
* cygserver_msg.h (client_request_msg::retval): Use default value of -1
for retval if msglen is 0.
* cygserver_sem.h (client_request_sem::retval): Ditto.
* cygserver_shm.h (client_request_shm::retval): Ditto.
* cygserver_setpwd.h: New file.
* external.cc (cygwin_internal): Implement new CW_SET_PRIV_KEY type.
* sec_auth.cc (open_local_policy): Make externally available.
Get ACCESS_MASK as argument.
(create_token): Accommodate change to open_local_policy.
(lsaauth): Ditto.
(lsaprivkeyauth): New function fetching token by retrieving
password stored in Cygwin or Interix LSA private data area and
calling LogonUser with it.
* security.h (lsaprivkeyauth): Declare.
(open_local_policy): Declare.
* setlsapwd.cc: New file implementing setting LSA private data password
using LsaStorePrivateData or by calling cygserver if available.
* syscalls.cc (seteuid32): Add workaround to get the original token
when switching back to the original privileged user, even if
setgroups group list is still active.  Add long comment to explain why.
Call lsaprivkeyauth first, only if that fails call lsaauth or
create_token.
* include/cygwin/version.h: Bump API minor number.
* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_SET_PRIV_KEY.

15 years ago2008-11-25 ia64-tdep.c change: Reflect current `disable' in the ChangeLog entry.
jkratoch [Wed, 26 Nov 2008 05:36:38 +0000 (05:36 +0000)]
2008-11-25 ia64-tdep.c change: Reflect current `disable' in the ChangeLog entry.

15 years ago Fix automatic restoration of breakpoints memory for ia64.
jkratoch [Wed, 26 Nov 2008 05:27:45 +0000 (05:27 +0000)]
Fix automatic restoration of breakpoints memory for ia64.
* ia64-tdep.c: New #if check on BREAKPOINT_MAX vs. BUNDLE_LEN.
(ia64_memory_insert_breakpoint): New comment part for SHADOW_CONTENTS
content.  Remove variable instr.  New variable cleanup.  Force
automatic breakpoints restoration.  PLACED_SIZE and SHADOW_LEN are now
set larger, to BUNDLE_LEN - 2.  Variable `bundle' type update.  Return
error if even just final target_write_memory has failed.
(ia64_memory_remove_breakpoint): Rename variables bundle to bundle_mem
and instr to instr_saved.  New variables bundle_saved and
instr_breakpoint.  Comment new reasons why we need to disable automatic
restoration of breakpoints.  Assert PLACED_SIZE and SHADOW_LEN.  New
check of the original memory content.  Return error if even just final
target_write_memory has failed.
(ia64_breakpoint_from_pc): Implement the emulation of permanent
breakpoints compatible with current bp_loc_is_permanent.
(template_encoding_table): Make it `const'.
* breakpoint.c (bp_loc_is_permanent): Support unsupported software
breakpoints.  New variables `cleanup' and `retval'.
* monitor.c (monitor_insert_breakpoint): Remove unused variable `bp'.

15 years ago * gdbint.texinfo (Target Conditionals): Extend the
jkratoch [Wed, 26 Nov 2008 05:26:40 +0000 (05:26 +0000)]
* gdbint.texinfo (Target Conditionals): Extend the
gdbarch_breakpoint_from_pc description.

15 years ago * gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
jkratoch [Wed, 26 Nov 2008 05:25:56 +0000 (05:25 +0000)]
* gdb.base/breakpoint-shadow.exp, gdb.base/breakpoint-shadow.c: New.
* gdb.base/start.exp: New comment about an alternative - `runto_main'.

15 years agoinclude/
amodra [Wed, 26 Nov 2008 01:04:10 +0000 (01:04 +0000)]
include/
PR 7047
* bfdlink.h (struct bfd_elf_version_expr): Delete "symbol".
Add "literal".
bfd/
PR 7047
* configure.in: Bump version.
* configure: Regenerate.
* elflink.c (_bfd_elf_link_assign_sym_version): Continue matching
against version nodes when a global match is a wildcard.  Similarly
continue matching on local wildcard matches, rather than only
continuing for "*".  Have any global wildcard match override a
local wildcard match.  Correct logic hiding unversioned symbol.
(bfd_elf_size_dynamic_sections): Update for changes to struct
bfd_elf_version_expr.
ld/
PR 7047
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_new_vers_pattern): Update
for changes to struct bfd_elf_version_expr.
* ldlang.c (lang_vers_match, version_expr_head_hash): Likewise.
(version_expr_head_eq, lang_finalize_version_expr_head): Likewise.
(lang_register_vers_node): Likewise.
(lang_new_vers_pattern): Likewise.  Ensure "literal" is set when
no glob chars found in "pattern".
(realsymbol): Correct backslash quote logic.
* ld.texinfo (VERSION): Warn about global wildcards.

15 years agodaily update
amodra [Wed, 26 Nov 2008 00:00:04 +0000 (00:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Wed, 26 Nov 2008 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago* config/tc-m32c.c (md_convert_frag): Fix ADJNZ reloc math.
dj [Tue, 25 Nov 2008 23:02:01 +0000 (23:02 +0000)]
* config/tc-m32c.c (md_convert_frag): Fix ADJNZ reloc math.