OSDN Git Service

pf3gnuchains/sourceware.git
15 years ago * gdb.base/exe-lock.exp: New testcase.
brobecke [Tue, 14 Apr 2009 16:49:56 +0000 (16:49 +0000)]
    * gdb.base/exe-lock.exp: New testcase.

15 years ago * target.c (target_mourn_inferior): Call bfd_cache_close_all
brobecke [Tue, 14 Apr 2009 16:48:07 +0000 (16:48 +0000)]
    * target.c (target_mourn_inferior): Call bfd_cache_close_all
        after having executed the target mourn_inferior routine.

15 years ago* speclib: Really revert to using tempdir.
cgf [Tue, 14 Apr 2009 15:10:27 +0000 (15:10 +0000)]
* speclib: Really revert to using tempdir.

15 years ago* speclib: Revert to using tempdir.
cgf [Tue, 14 Apr 2009 14:28:33 +0000 (14:28 +0000)]
* speclib: Revert to using tempdir.

15 years agoconfig/djgpp/djconfig.sh (DEPDIR): Define to "_deps", if undefined.
eliz [Tue, 14 Apr 2009 14:25:12 +0000 (14:25 +0000)]
config/djgpp/djconfig.sh (DEPDIR): Define to "_deps", if undefined.

15 years ago * localtime.cc (tzload): Implement setting __tzrule's offset member
corinna [Tue, 14 Apr 2009 12:08:07 +0000 (12:08 +0000)]
* localtime.cc (tzload): Implement setting __tzrule's offset member
using newlib's __gettzinfo () interface also when tzload returns
successfully.

15 years agobfd/ChangeLog
davek [Tue, 14 Apr 2009 09:47:42 +0000 (09:47 +0000)]
bfd/ChangeLog

* coffgen.c (make_a_section_from_file):  Set the backend long
section names enable if long section names found on input.
* coffcode.h:  Extend long section names documentation to match.

binutils/ChangeLog

* objcopy.c (enum long_section_name_handling):  New enum type.
(enum command_line_switch):  Add OPTION_LONG_SECTION_NAMES.
(copy_options[]):  Add entry for --long-section-names option.
(copy_usage):  Document it.
(set_long_section_mode):  New subroutine.
(copy_file):  Call it.
(copy_main):  Accept OPTION_LONG_SECTION_NAMES and parse arg.
* doc/binutils.texi:  Update objcopy documentation with details
of new option.

15 years ago PR ld/10047
amodra [Tue, 14 Apr 2009 03:17:21 +0000 (03:17 +0000)]
PR ld/10047
* ldfile.c (find_scripts_dir): Use make_relative_prefix to find
ldscripts in build tree.  Don't repeat search for ../lib/ldscripts.

15 years ago2009-04-13 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 14 Apr 2009 02:47:22 +0000 (02:47 +0000)]
2009-04-13  H.J. Lu  <hongjiu.lu@intel.com>

* ldfile.c (ldfile_find_command_file): Revert the last change.

15 years agodaily update
amodra [Tue, 14 Apr 2009 01:00:05 +0000 (01:00 +0000)]
daily update

15 years ago2009-04-13 David Daney <ddaney@caviumnetworks.com>
daney [Tue, 14 Apr 2009 00:59:46 +0000 (00:59 +0000)]
2009-04-13  David Daney  <ddaney@caviumnetworks.com>

* infrun.c (maybe_software_singlestep): New function.
(resume): Call maybe_software_singlestep.
(handle_inferior_event): Same.

15 years ago*** empty log message ***
gdbadmin [Tue, 14 Apr 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * include/stdint.h (intptr_t): Remove long from type.
davek [Mon, 13 Apr 2009 22:55:00 +0000 (22:55 +0000)]
* include/stdint.h (intptr_t):  Remove long from type.
(uintptr_t):  Likewise.
(INTPTR_MIN):  Remove 'L' suffix.
(INTPTR_MAX, UINTPTR_MAX):  Likewise.

15 years ago * Makefile.in (dumper.exe): Add -lz to ALL_LDFLAGS.
davek [Mon, 13 Apr 2009 22:51:02 +0000 (22:51 +0000)]
* Makefile.in (dumper.exe):  Add -lz to ALL_LDFLAGS.

15 years agogdb
tromey [Mon, 13 Apr 2009 20:54:58 +0000 (20:54 +0000)]
gdb
* python/python-frame.c (frapy_richcompare): Return
Py_NotImplemented, not an error.  Handle Py_NE as well.
gdb/testsuite
* gdb.python/python-frame.exp (gdb_py_test_silent_cmd): Test !=
operator on Frame.

15 years agomerge from gcc
dj [Mon, 13 Apr 2009 19:42:49 +0000 (19:42 +0000)]
merge from gcc

15 years agoFix typo in the last change.
eliz [Mon, 13 Apr 2009 18:55:15 +0000 (18:55 +0000)]
Fix typo in the last change.

15 years ago * charset.c (EILSEQ): Define if not defined by system headers.
eliz [Mon, 13 Apr 2009 18:49:27 +0000 (18:49 +0000)]
* charset.c (EILSEQ): Define if not defined by system headers.

15 years agoMerged from gcc head revision 146001.
ktietz [Mon, 13 Apr 2009 10:48:27 +0000 (10:48 +0000)]
Merged from gcc head revision 146001.
2009-04-13  Ozkan Sezer  <sezeroz@gmail.com>

        PR target/39397
        * pex-common.h (struct pex_obj): Store pid values as pid_t,
        not as long (members *children and (*wait))
        * pex-common.c (pex_run_in_environment): Likewise.
        * pex-win32.c (pex_win32_wait): Return pid_t and properly check
        returned pid value.
        * pex-djgpp.c (pex_djgpp_wait): Return pid_t.
        * pex-msdos.c (pex_msdos_wait): Likewise.

15 years agodaily update
amodra [Mon, 13 Apr 2009 01:00:05 +0000 (01:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Mon, 13 Apr 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago* speclib: Initial stab at cleaning up temp files. More work needed.
cgf [Sun, 12 Apr 2009 05:11:07 +0000 (05:11 +0000)]
* speclib: Initial stab at cleaning up temp files.  More work needed.
* mkimport: Ditto.

15 years ago* Makefile.in (clean): Clean globals.h.
cgf [Sun, 12 Apr 2009 04:14:31 +0000 (04:14 +0000)]
* Makefile.in (clean): Clean globals.h.
(LIBCOS): Depend on globals.h.

15 years agodaily update
amodra [Sun, 12 Apr 2009 01:00:05 +0000 (01:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sun, 12 Apr 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
eliz [Sat, 11 Apr 2009 19:21:10 +0000 (19:21 +0000)]
*** empty log message ***

15 years ago*** empty log message ***
eliz [Sat, 11 Apr 2009 18:06:02 +0000 (18:06 +0000)]
*** empty log message ***

15 years ago * config/djgpp/config.sed: Tweak ac_config_files in intl/configure
eliz [Sat, 11 Apr 2009 18:03:51 +0000 (18:03 +0000)]
* config/djgpp/config.sed: Tweak ac_config_files in intl/configure
to be consistent with renaming config.intl.h into config_intl.h.

15 years ago * go32-nat.c (go32_attach, go32_detach:) Fix prototypes to be
eliz [Sat, 11 Apr 2009 17:57:34 +0000 (17:57 +0000)]
* go32-nat.c (go32_attach, go32_detach:) Fix prototypes to be
consistent with the change from 2009-03-17.

15 years agoMove testsuite ChangeLog entries to testsuite/ChangeLog*.
hjl [Sat, 11 Apr 2009 14:42:08 +0000 (14:42 +0000)]
Move testsuite ChangeLog entries to testsuite/ChangeLog*.

15 years ago2009-04-11 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 11 Apr 2009 14:06:55 +0000 (14:06 +0000)]
2009-04-11  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/10047
* ldfile.c (ldfile_find_command_file): First try raw name.

15 years ago2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>
ironhead [Sat, 11 Apr 2009 12:41:09 +0000 (12:41 +0000)]
2009-04-11 Danny Smith <dannsymith@users.sourceforge.net>

        * include/stdint.h (int_fast8_t): Specify as signed char.
        (INT8_C, UINT8_C, INT16_C, UINT16_C): Simplify: just allow promotion to int.
        (INT32_C, UINT32_C): Remove 'L' type specifier on constant.

15 years ago * include/stdint.h (INTPTR_MIN, INTPTR_MAX): Add 'L' suffix.
corinna [Sat, 11 Apr 2009 08:07:30 +0000 (08:07 +0000)]
* include/stdint.h (INTPTR_MIN, INTPTR_MAX):  Add 'L' suffix.
(WINT_MAX):  Add 'U' suffix.

15 years agodaily update
amodra [Sat, 11 Apr 2009 01:00:04 +0000 (01:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Sat, 11 Apr 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years agogdb/
jkratoch [Fri, 10 Apr 2009 16:00:49 +0000 (16:00 +0000)]
gdb/
* varobj.c (varobj_invalidate): Fix formatting text width.

15 years agogdb/
jkratoch [Fri, 10 Apr 2009 15:57:52 +0000 (15:57 +0000)]
gdb/
* varobj.c (varobj_invalidate): Fix indentation.

15 years ago* speclib: Use a more robust method to derive full file path.
cgf [Fri, 10 Apr 2009 04:29:24 +0000 (04:29 +0000)]
* speclib: Use a more robust method to derive full file path.

15 years ago * gdbtypes.c: Remove excessive parentheses at the return keywords.
jkratoch [Fri, 10 Apr 2009 03:36:29 +0000 (03:36 +0000)]
* gdbtypes.c: Remove excessive parentheses at the return keywords.

15 years agodaily update
amodra [Fri, 10 Apr 2009 01:00:05 +0000 (01:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Fri, 10 Apr 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago* speclib: Semi-revert to previous version but don't try to generate
cgf [Thu, 9 Apr 2009 21:02:52 +0000 (21:02 +0000)]
* speclib: Semi-revert to previous version but don't try to generate
well-formed import library.  Instead, just extract appropriate symbols and let
later libcygwin.a on link line fill in the rest of the import stuff.
* gendef: Hopefully no-op modification to allow easier post-processing on
symbol values.

15 years ago * gdb.texinfo (Set Breaks): Rewrite a paragraph to avoid a warning
brobecke [Thu, 9 Apr 2009 20:11:57 +0000 (20:11 +0000)]
    * gdb.texinfo (Set Breaks): Rewrite a paragraph to avoid a warning
        about a missing dot or coma after @xref.

15 years ago * syscalls.cc (try_to_bin): Use tmp_pathbuf buffer to allocate infobuf
corinna [Thu, 9 Apr 2009 17:54:59 +0000 (17:54 +0000)]
* syscalls.cc (try_to_bin): Use tmp_pathbuf buffer to allocate infobuf
rather than using the stack.

15 years ago * syscalls.cc (try_to_bin): Fix alignment of infobuf.
corinna [Thu, 9 Apr 2009 17:00:29 +0000 (17:00 +0000)]
* syscalls.cc (try_to_bin): Fix alignment of infobuf.

15 years ago PR 9824
nickc [Thu, 9 Apr 2009 16:06:47 +0000 (16:06 +0000)]
    PR 9824
        * ld.texinfo (Output Section Constraint): New node.  Documents the
        ONLY_IF_RO and ONLY_IF_RW constraints.
        (Symbolic Constants): New node.  Documents the CONSTANT operator.

15 years ago2009-04-09 Catherine Moore <clm@codesourcery.com>
clm [Thu, 9 Apr 2009 15:55:59 +0000 (15:55 +0000)]
2009-04-09  Catherine Moore  <clm@codesourcery.com>

        * config/tc-mips.c (mips_fix_24k): Declare.
        (check_for_24k_errata): New.
        (mips_cleanup): Call check_for_24k_errata.
        (start_noreorder): Likewise.
        (md_mips_end): Likewise.
        (s_change_sec): Likewise.
        (s_change_section): Likewise.
        (append_insn): Call check_for_24k_errata.  Prevent
        ERET/DERET instructions from being moved into delay
        slots.
        (OPTION_FIX_24K): New.
        (OPTION_NO_FIX_24k) New.
        (md_longopts): Add "mfix-24k" and "mno-fix-24k".
        (md_parse_option): Handle fix-24k options.
        (md_show_usage): Display fix-24k options.
        * doc/c-mips.texi: Document.
        * testsuite/gas/mips/mips.exp: Run new tests.
        * testsuite/gas/mips/eret.s: New test.
        * testsuite/gas/mips/eret.d: New test output.
        * testsuite/gas/mips/eret.l: New test output.

15 years ago2009-04-09 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
hjl [Thu, 9 Apr 2009 15:54:10 +0000 (15:54 +0000)]
2009-04-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.ac: Bump minimum GMP/MPFR versions to 4.2 and 2.3.1.
* configure: Regenerate.

15 years ago2009-04-09 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 9 Apr 2009 15:40:57 +0000 (15:40 +0000)]
2009-04-09  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/10039
* configure.ac: Require texinfo 4.7.
* configure: Regenerated.

15 years ago2009-04-09 Steve Ellcey <sje@cup.hp.com>
hjl [Thu, 9 Apr 2009 15:39:50 +0000 (15:39 +0000)]
2009-04-09  Steve Ellcey  <sje@cup.hp.com>

* Makefil.def (languages): New entries.
* Makefile.tpl (check-gcc-*): New generic target.
* Makefile.in: Regenerate.

15 years ago * config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
nemet [Thu, 9 Apr 2009 15:28:50 +0000 (15:28 +0000)]
* config/tc-mips.c (mips_dwarf2_addr_size): Use HAVE_64BIT_OBJECTS
instead of HAVE_64BIT_SYMBOLS.

15 years ago * emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
amodra [Thu, 9 Apr 2009 13:55:34 +0000 (13:55 +0000)]
* emultempl/spuelf.em (embedded_spu_file): Use pex_one in place
of fork/execvp.

15 years ago * corefile.c (core_create_function_syms): Initialise a symbol's
nickc [Thu, 9 Apr 2009 13:07:28 +0000 (13:07 +0000)]
    * corefile.c (core_create_function_syms): Initialise a symbol's
        is_func field based on the setting of the BSF_FUNCTION flag.

15 years ago * libc/ctype/ctype_.c (_CTYPE_DATA_0_127): Remove _B flag from TAB.
corinna [Thu, 9 Apr 2009 10:37:57 +0000 (10:37 +0000)]
* libc/ctype/ctype_.c (_CTYPE_DATA_0_127): Remove _B flag from TAB.
* libc/ctype/ctype_cp.h: Mark non-cased letters in tables for codepages
720, 862, 874, 1255, and 1256 to _U|_L.  Fix a couple of incorrect
class mappings.
* libc/ctype/ctype_iso.h: Mark non-cased letters in ISO-8859 tables
6, 8, and 11 to _U|_L.  Fix a couple of incorrect class mappings.
* libc/ctype/isblank.c (isblank): Special case TAB.
* libc/ctype/islower.c (islower): Check explicitely for _L flag only
in (_U|_L).
* libc/ctype/isupper.c (isupper): Ditto, but check for _U flag.
* libc/include/ctype.h (islower): Same in macro.
(isupper): Ditto.
(isblank): Special case TAB.  Redefine macro for GCC only.

15 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchown): Catch an
corinna [Thu, 9 Apr 2009 09:19:03 +0000 (09:19 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchown): Catch an
error when changing the user account on a standalone Samba server.
Explain why.
* sec_acl.cc (setacl): Accommodate additional parameter to set_file_sd.
* sec_helper.cc (SECURITY_SAMBA_UNIX_AUTHORITY): Define.
(well_known_samba_unix_user_fake_sid): Define.
* security.cc (set_file_sd): Take additional parameter if ownership
should be changed.  Restrict requested permissions accordingly.
(set_file_attribute): Accommodate additional parameter to set_file_sd.
* security.h (well_known_samba_unix_user_fake_sid): Declare.
(set_file_sd): Align declaration to above change.

15 years ago * libc/stdlib/local.h (__mbtowc): Declare extern.
corinna [Thu, 9 Apr 2009 08:24:36 +0000 (08:24 +0000)]
* libc/stdlib/local.h (__mbtowc): Declare extern.
(__wctomb): Ditto.

15 years ago * libc/stdlib/mbctype.h (_iseucjp1): Like _iseucjp, but also
corinna [Thu, 9 Apr 2009 08:20:10 +0000 (08:20 +0000)]
* libc/stdlib/mbctype.h (_iseucjp1): Like _iseucjp, but also
recognizes 0x8e and 0x8f lead bytes.
(_iseucjp2): Rename from _iseucjp.
* libc/stdlib/mbtowc_r.c (__eucjp_mbtowc): Convert JIS-X-0212
triplebyte sequences as well.
* libc/stdlib/wctomb_r.c (__eucjp_wctomb): Convert to JIS-X-0212
triplebyte sequences as well.

15 years agodaily update
amodra [Thu, 9 Apr 2009 01:00:04 +0000 (01:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Thu, 9 Apr 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago2009-04-08 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 8 Apr 2009 21:48:46 +0000 (21:48 +0000)]
2009-04-08  H.J. Lu  <hongjiu.lu@intel.com>

* ld-i386/abs.d: Add  --32 for assembler and -melf_i386 for
linker.

15 years ago[cgen]
dj [Wed, 8 Apr 2009 20:39:34 +0000 (20:39 +0000)]
[cgen]
* cpu/mep-c5.cpu: New.
* cpu/mep-core.cpu: Add C5 support.
* cpu/mep.opc: Likewise.
[opcodes]
* mep-asm.c: Regenerate.
* mep-desc.c: Regenerate.
* mep-desc.h: Regenerate.
* mep-dis.c: Regenerate.
* mep-ibld.c: Regenerate.
* mep-opc.c: Regenerate.
* mep-opc.h: Regenerate.
[sid]
* component/cache/cache.cxx (cache_component::cache_component):
Add write_hint_pin().  Attach it to write-hint.
(cache_component::write_hint): New.
* component/cache/cache.h (write_hint_pin): New.
(write_hint): New.

* component/cgen-cpu/mep/Makefile.am: Regenerate.
* component/cgen-cpu/mep/Makefile.in: Regenerate.
* component/cgen-cpu/mep/mep-core1-decode.cxx: Regenerate.
* component/cgen-cpu/mep/mep-core1-decode.h: Regenerate.
* component/cgen-cpu/mep/mep-core1-defs.h: Regenerate.
* component/cgen-cpu/mep/mep-core1-model.cxx: Regenerate.
* component/cgen-cpu/mep/mep-core1-model.h: Regenerate.
* component/cgen-cpu/mep/mep-core1-sem.cxx: Regenerate.
* component/cgen-cpu/mep/mep-decode.cxx: Regenerate.
* component/cgen-cpu/mep/mep-decode.h: Regenerate.
* component/cgen-cpu/mep/mep-defs.h: Regenerate.
* component/cgen-cpu/mep/mep-desc.h: Regenerate.
* component/cgen-cpu/mep/mep-model.cxx: Regenerate.
* component/cgen-cpu/mep/mep-model.h: Regenerate.
* component/cgen-cpu/mep/mep-sem.cxx: Regenerate.
* component/cgen-cpu/mep/mep.cxx (mep_cpu): Connect
write-hint pin.
(do_cache): Add C5 support.
(do_cache_prefetch): Likewise.
(do_casb3, do_cash3, do_casw3): New.
* component/cgen-cpu/mep/mep.h: Add C5 support and write-hint pin.
(do_casb3, do_cash3, do_casw3): New.

* component/families/mep/Makefile.in: Regenerate.
* component/families/mep/dsu.in: Add C5 support.
* main/dynamic/mainDynamic.cxx: Add C5 support.
* main/dynamic/mepCfg.cxx: Connect write-hint pin.
* main/dynamic/mepCfg.h: Add C5 support.

15 years ago2009-04-08 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Wed, 8 Apr 2009 20:00:01 +0000 (20:00 +0000)]
2009-04-08  Ken Werner  <ken.werner@de.ibm.com>

        * configure.in: Add square brackets for the array aliasing conftest.
        * configure: Regenerate.

15 years agomerge from gcc
dj [Wed, 8 Apr 2009 16:42:56 +0000 (16:42 +0000)]
merge from gcc

15 years agobfd/
hjl [Wed, 8 Apr 2009 16:04:48 +0000 (16:04 +0000)]
bfd/

2009-04-08  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (elf_link_add_object_symbols): Warn alternate ELF
machine code.

include/

2009-04-08  H.J. Lu  <hongjiu.lu@intel.com>

* bfdlink.h (bfd_link_info): Add warn_alternate_em.

ld/

2009-04-08  H.J. Lu  <hongjiu.lu@intel.com>

* lexsup.c (option_values): Add OPTION_WARN_ALTERNATE_EM.
(ld_options): Likewise.
(parse_args): Likewise.

* ld.texinfo: Document --warn-alternate-em.

* NEWS: Mention --warn-alternate-em.

15 years ago Implement -exec-jump.
vprus [Wed, 8 Apr 2009 06:58:36 +0000 (06:58 +0000)]
Implement -exec-jump.

* mi/mi-cmds.h (mi_cmd_exec_jump): Declare.
* mi/mi-main.c (mi_cmd_exec_jump): New.
* mi/mi-cmds.c (mi_cmds): Register exec-jump.

15 years ago[include/elf]
dj [Wed, 8 Apr 2009 02:24:18 +0000 (02:24 +0000)]
[include/elf]
* mep.h (EF_MEP_CPU_C5): New.
[bfd]
* archures.c: Add bfd_mach_mep_c5.
* bfd-in2.h: Likewise.
* cpu-mep.c: Add bfd_c5_arch.
* elf32-mep.c: Support it.
[gas]
* config/tc-mep.c: Add UCI/DSP instruction support.  Add C5 support.
(md_show_usage): Change default endian to little.
* config/tc-mep.h (TARGET_BYTES_BIG_ENDIAN): Change default to little.
[ld]
* emulparams/elf32mep.sh: Change default endian to little.

15 years ago* default.cfg: Update to C5.
dj [Wed, 8 Apr 2009 01:57:29 +0000 (01:57 +0000)]
* default.cfg: Update to C5.
* current.cfg: Regenerate.
* lex.cfg.c: Regenerate.
* lex.cmodel.c: Regenerate.
* lex.gmap.c: Regenerate.
* mepcfgtool.c: Add C5 support.
(do_config_cc_support): Allow -mconfig to be optional.
(align_xmem_base): New.
(next_xmem_base): New.
(scan_dmem): Use them to place memory regions.
(find_ld_imem_dmem): Likewise.
* mepcfgtool.h: Add C5 support.
* parse.cfg.c: Regenerate.
* parse.cfg.h: Regenerate.
* parse.cmodel.c: Regenerate.
* parse.cmodel.h: Regenerate.
* parse.gmap.c: Regenerate.
* parse.gmap.h: Regenerate.
* verify-cfg.c: Add C5 support.

15 years agodaily update
amodra [Wed, 8 Apr 2009 01:00:09 +0000 (01:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Wed, 8 Apr 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago * symfile.c (symbol_file_clear): Fix indentation.
devans [Tue, 7 Apr 2009 20:43:49 +0000 (20:43 +0000)]
* symfile.c (symbol_file_clear): Fix indentation.

15 years ago2009-04-07 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 7 Apr 2009 20:04:07 +0000 (20:04 +0000)]
2009-04-07  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (_bfd_elf_section_already_linked): Add `\n' for
info->callbacks->einfo.
* linker.c (_bfd_generic_section_already_linked): Likewise.

15 years agoopcodes/
bergner [Tue, 7 Apr 2009 18:28:02 +0000 (18:28 +0000)]
opcodes/
* ppc-opc.c (powerpc_opcodes) <"tlbilxlpid", "tlbilxpid", "tlbilxva",
"tlbilx">: Use secondary opcode "18" as per the ISA 2.06 documentation.
Reorder entries so the extended mnemonics are listed before tlbilx.

gas/testsuite/
* gas/ppc/e500mc.d: Update to match extended mnemonics.

15 years ago[bfd]
dj [Tue, 7 Apr 2009 18:21:20 +0000 (18:21 +0000)]
[bfd]
* elf32-h8300.c (elf32_h8_relax_section): Relax MOVA opcodes.
[gas]
* tc-h8300.c (do_a_fix_imm): Pass the insn, force relocs for MOVA
immediates.
(build_bytes): Pass insn to do_a_fix_imm.
[include/opcode]
* h8300.h: Add relaxation attributes to MOVA opcodes.

15 years ago * include/stdint.h (int_least32_t): Define as int.
corinna [Tue, 7 Apr 2009 17:23:20 +0000 (17:23 +0000)]
* include/stdint.h (int_least32_t): Define as int.
(uint_least32_t): Ditto, unsigned.
(int_fast16_t): Define as int.
(int_fast32_t): Ditto.
(uint_fast16_t): Ditto, unsigned.
(uint_fast32_t): Ditto.
(UINT32_MAX): Remove `L' long marker.
(UINT_LEAST32_MAX): Ditto.
(UINT_FAST16_MAX): Ditto.
(UINT_FAST32_MAX): Ditto.
(INT32_C): Ditto.
(UINT32_C): Ditto.

15 years ago * include/stdint.h (int_least32_t): Define as int.
corinna [Tue, 7 Apr 2009 17:23:11 +0000 (17:23 +0000)]
* include/stdint.h (int_least32_t): Define as int.
(uint_least32_t): Ditto, unsigned.
(int_fast16_t): Define as int.
(int_fast32_t): Ditto.
(uint_fast16_t): Ditto, unsigned.
(uint_fast32_t): Ditto.
(UINT32_MAX): Remove `L' long marker.
(UINT_LEAST32_MAX): Ditto.
(UINT_FAST16_MAX): Ditto.
(UINT_FAST32_MAX): Ditto.
(INT32_C): Ditto.
(UINT32_C): Ditto.

15 years ago * path.cc (readlink): Accommodate new UTF-16 symlinks.
corinna [Tue, 7 Apr 2009 16:24:50 +0000 (16:24 +0000)]
* path.cc (readlink): Accommodate new UTF-16 symlinks.

15 years ago * strfuncs.cc: Change WCHAR to wchar_t in multibyte<->widechar
corinna [Tue, 7 Apr 2009 16:22:55 +0000 (16:22 +0000)]
* strfuncs.cc: Change WCHAR to wchar_t in multibyte<->widechar
conversion functions throughout.
* wchar.h: Ditto in declarations.  Guard them __INSIDE_CYGWIN__.

15 years ago * setup2.sgml (setup-locale-console): New section to explain
corinna [Tue, 7 Apr 2009 13:04:43 +0000 (13:04 +0000)]
* setup2.sgml (setup-locale-console): New section to explain
console character set setting.
* faq: Throughout, change references to User's Guide to references
to 1.7 User's Guide temporarily.
* faq-setup.html (faq.using.unicode): Rephrase slightly.
(faq.using.weirdchars): New FAQ entry for console charset problems.

15 years ago * fhandler.h (class dev_console): Add members con_mbtowc, con_wctomb,
corinna [Tue, 7 Apr 2009 12:13:37 +0000 (12:13 +0000)]
* fhandler.h (class dev_console): Add members con_mbtowc, con_wctomb,
and con_charset.
(dev_console::str_to_con): Take mbtowc function pointer and charset
as additional parameters.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Initialize
aforementioned new members.  Explain why.
(dev_console::con_to_str): Remove useless comment.  Call new
sys_cp_wcstombs function rather than sys_wcstombs.
(dev_console::str_to_con): Take mbtowc function pointer and charset
as additional parameters.  Call sys_cp_mbstowcs accordingly.
(fhandler_console::write_normal): Only initialize f_mbtowc and charset
once.  Accommodate changed str_to_con.
* strfuncs.cc (sys_cp_wcstombs): Renamed from sys_wcstombs.  Take
wctomb function pointer and charset as parameters.  Use throughout.
(sys_cp_mbstowcs): Take wctomb function pointer and charset as
parameters instead of codepage.  Remove matching local variables and
their initialization.
* wchar.h (ENCODING_LEN): Define as in newlib.
(__mbtowc): Use mbtowc_p typedef for declaration.
(wctomb_f): New type.
(wctomb_p): New type.
(__wctomb): Declare.
(__utf8_wctomb): Use wctomb_f typedef for declaration.
(sys_cp_wcstombs): Move declaration from winsup.h here.
(sys_wcstombs): Ditto.
(sys_wcstombs_alloc): Ditto.
(sys_cp_mbstowcs): Ditto.
(sys_mbstowcs): Ditto.
(sys_mbstowcs_alloc): Ditto.
* winsup.h: Move declaration of sys_FOO functions to wchar.h.  Include
wchar.h instead.

15 years ago * ld.texinfo (Output Section Address): Note that specifying an
nickc [Tue, 7 Apr 2009 08:07:07 +0000 (08:07 +0000)]
    * ld.texinfo (Output Section Address): Note that specifying an
        address for an output section will only change the location
        counter if the output section is used.

15 years agodaily update
amodra [Tue, 7 Apr 2009 01:00:05 +0000 (01:00 +0000)]
daily update

15 years ago*** empty log message ***
gdbadmin [Tue, 7 Apr 2009 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago ARI fix: Use "gdb_stat.h" header instead of <sys/stat.h>.
muller [Mon, 6 Apr 2009 23:33:32 +0000 (23:33 +0000)]
ARI fix: Use "gdb_stat.h" header instead of <sys/stat.h>.
* generic/gdbtk-cmds.c: Apply change.
* generic/gdbtk.c: Ditto.

15 years ago ARI fixes: xvasprintf and strdup rules.
muller [Mon, 6 Apr 2009 23:11:09 +0000 (23:11 +0000)]
ARI fixes: xvasprintf and strdup rules.
* generic/gdbtk-cmds.c (gdbtk_set_result): Replace xvasprintf by
xstrvprintf.
* generic/gdbtk-hooks.c (gdbtk_warning): Ditto.
(gdbtk_readline_begin, gdbtk_query): Ditto.
* generic/gdbtk.c (TclDebug): Ditto.
* generic/gdbtk-varobj.c (variable_create): Replace strdup by xstrdup.

15 years ago2009-04-06 Mike Burgess <wizardsguild@earthlink.net>
jjohnstn [Mon, 6 Apr 2009 22:42:07 +0000 (22:42 +0000)]
2009-04-06  Mike Burgess  <wizardsguild@earthlink.net>

        * libc/string/strncasecmp.c: Optimized rewrite.

15 years ago2009-04-06 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Mon, 6 Apr 2009 22:04:33 +0000 (22:04 +0000)]
2009-04-06  Ken Werner  <ken.werner@de.ibm.com>

        * libc/include/sys/features.h: Undefine _POSIX_TIMERS for spu.
        * libc/include/machine/time.h (nanosleep): Declare.

15 years ago * libc/rexec.cc (ruserpass): Use fstat64 instead of fstat.
corinna [Mon, 6 Apr 2009 20:44:54 +0000 (20:44 +0000)]
* libc/rexec.cc (ruserpass): Use fstat64 instead of fstat.

15 years ago2009-04-06 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 6 Apr 2009 16:48:35 +0000 (16:48 +0000)]
2009-04-06  H.J. Lu  <hongjiu.lu@intel.com>

* coff-x86_64.c (bfd_pe_print_pdata): Defined to
_bfd_pex64_print_pdata only if PE is defined.

* libpei.h (_bfd_pep_print_x64_pdata): Renamed to ...
(_bfd_pex64_print_pdata): This.

* peXXigen.c (_bfd_pep_print_x64_pdata): Renamed to ...
(_bfd_pex64_print_pdata): This.  Defined only if COFF_WITH_pex64
is defined.

15 years ago * strfuncs.cc: Add comment to explain why we can't support JIS
corinna [Mon, 6 Apr 2009 10:50:09 +0000 (10:50 +0000)]
* strfuncs.cc: Add comment to explain why we can't support JIS
for now.
(__db_wctomb): Alwaus use WC_NO_BEST_FIT_CHARS.
(__jis_wctomb): Just call __ascii_wctomb from here.
(__eucjp_wctomb): Convert to standalone implementation to fix up the
difference between eucJP and CP 20932 affecting JIS-X-0212 characters.
Explain.
(__kr_wctomb): Use codepage 949.
(__db_mbtowc): Reorder code slightly.  Always use MB_ERR_INVALID_CHARS
in call to MultiByteToWideChar.  Fix a problem with singlebyte
sequences.  Fix a bug in '\0' handling.  Reset state->__count on
successful return from non-zero state.
(__jis_mbtowc): Just call __ascii_mbtowc from here.
(__eucjp_mbtowc): Convert to standalone implementation to fix up the
difference between eucJP and CP 20932 affecting JIS-X-0212 characters.
(__kr_mbtowc): Use codepage 949.
(__set_charset_from_codepage): Handle codepage 20932 as eucJP.

15 years ago * libc/locale/locale.c (loadlocale): Set mbc_max to 3 for EUCJP.
corinna [Mon, 6 Apr 2009 10:36:48 +0000 (10:36 +0000)]
* libc/locale/locale.c (loadlocale): Set mbc_max to 3 for EUCJP.

15 years ago * new-features.sgml (ov-new1.7-posix): Remove JIS from supported
corinna [Mon, 6 Apr 2009 10:30:01 +0000 (10:30 +0000)]
* new-features.sgml (ov-new1.7-posix): Remove JIS from supported
charsets.
* setup2.sgml (setup-locale-charsetlist): Ditto.

15 years ago * setup2.sgml (setup-locale-problems): Change title to be more clear
corinna [Mon, 6 Apr 2009 10:25:28 +0000 (10:25 +0000)]
* setup2.sgml (setup-locale-problems): Change title to be more clear
when referencing this section.

15 years ago * ldfile.c (ldfile_find_command_file): Initialize result.
kazu [Mon, 6 Apr 2009 01:21:09 +0000 (01:21 +0000)]
* ldfile.c (ldfile_find_command_file): Initialize result.

15 years agodaily update
amodra [Mon, 6 Apr 2009 01:00:05 +0000 (01:00 +0000)]
daily update

15 years ago * ld.texinfo (-L): Mention that -L options do not affect how ld
kazu [Mon, 6 Apr 2009 00:47:09 +0000 (00:47 +0000)]
* ld.texinfo (-L): Mention that -L options do not affect how ld
searches for a linker script unless -T option is specified.
* ldfile.c (ldfile_find_command_file): Append the path obtained
from the program name to the search path instead of
prepending. Add a new parameter "default_only". Restrict the
search to the default script location if the new parameter is
true.
(ldfile_open_command_file_1): New.
(ldfile_open_command_file): Call ldfile_open_command_file_1.
(ldfile_open_default_command_file): New.

15 years ago*** empty log message ***
gdbadmin [Mon, 6 Apr 2009 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

15 years ago* sparc64nbsd-nat.c (sparc64nbsd_supply_pcb): Fix comment.
kettenis [Sun, 5 Apr 2009 22:37:19 +0000 (22:37 +0000)]
* sparc64nbsd-nat.c (sparc64nbsd_supply_pcb): Fix comment.

15 years ago2009-04-05 Kai Tietz <kai.tietz@onevision.com>
ktietz [Sun, 5 Apr 2009 18:12:20 +0000 (18:12 +0000)]
2009-04-05  Kai Tietz  <kai.tietz@onevision.com>

        * coff-x86_64.c (bfd_pe_print_pdata): Define as
        _bfd_pep_print_x64_pdata.
        * libpei.h (_bfd_pep_print_x64_pdata): Add prototype.
        * peXXigen.c (_bfd_pep_print_x64_pdata): New.

15 years ago* Makefile.in: Use all compile options when calculating magic values.
cgf [Sun, 5 Apr 2009 16:49:14 +0000 (16:49 +0000)]
* Makefile.in: Use all compile options when calculating magic values.
* shared_info.h (CURR_SHARED_MAGIC): Revert erroneous value.
* child_info.h (CURR_CHILD_INFO_MAGIC): Update.
* fhandler.h (acquire_output_mutex): Remove unneeded ';'.
(release_output_mutex): Ditto.

15 years ago* net.cc: Undefine NOERROR and DELETE to avoid compiler warnings.
cgf [Sun, 5 Apr 2009 04:23:49 +0000 (04:23 +0000)]
* net.cc: Undefine NOERROR and DELETE to avoid compiler warnings.
* shared_info.h (CURR_SHARED_MAGIC): Update.
* spawn.cc (spawn_guts): Avoid copying one line command line argument if it
hasn't been filled out.