OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
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.

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

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

15 years ago * libc/stdlib/wcstombs.c: Fix datatypes in documentation.
corinna [Sat, 4 Apr 2009 16:00:29 +0000 (16:00 +0000)]
* libc/stdlib/wcstombs.c: Fix datatypes in documentation.

15 years ago * include/asm/byteorder.h (__ntohl): Prototype before define to avoid
corinna [Sat, 4 Apr 2009 15:49:04 +0000 (15:49 +0000)]
* include/asm/byteorder.h (__ntohl): Prototype before define to avoid
a warning with -Wmissing-prototypes.  Use _ELIDABLE_INLINE macro from
_ansi.h.
(__ntohs): Ditto.

15 years ago * libc/include/stdio.h (_ELIDABLE_INLINE): Move definition from here...
corinna [Sat, 4 Apr 2009 15:44:18 +0000 (15:44 +0000)]
* libc/include/stdio.h (_ELIDABLE_INLINE): Move definition from here...
* libc/include/_ansi.h (_ELIDABLE_INLINE): ..to here.

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

15 years agodaily update
amodra [Sat, 4 Apr 2009 00:00:05 +0000 (00:00 +0000)]
daily update

15 years ago2009-04-03 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
jjohnstn [Fri, 3 Apr 2009 22:46:14 +0000 (22:46 +0000)]
2009-04-03  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>

        * libc/include/stdio.h [__SCLE] (__sgetc_r): Prototype before define
        to avoid a warning with -Wmissing-prototypes.

15 years ago2009-04-03 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Fri, 3 Apr 2009 22:42:31 +0000 (22:42 +0000)]
2009-04-03  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/mmap_ea.c (mmap_ea): Check length argument.

15 years ago2009-04-03 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Fri, 3 Apr 2009 22:37:40 +0000 (22:37 +0000)]
2009-04-03  Ken Werner  <ken.werner@de.ibm.com>

        * spu/Makefile.in: Add new files.
        * spu/times.c: New File.
        * spu/getitimer.c: Likewise.
        * spu/setitimer.c: Likewise.

15 years ago2009-04-03 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Fri, 3 Apr 2009 22:34:12 +0000 (22:34 +0000)]
2009-04-03  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/sys/linux_syscalls.h: include <sys/types.h>
        (linux_getpid, linux_gettid): Declare.

15 years ago2009-04-03 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Fri, 3 Apr 2009 22:32:25 +0000 (22:32 +0000)]
2009-04-03  Ken Werner  <ken.werner@de.ibm.com>

        * spu/Makefile.in: Add linux_getpid.o and linux_gettid.o.
        * spu/linux_getpid.c: New file.
        * spu/linux_getpid.c: New file.

15 years ago2009-04-03 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Fri, 3 Apr 2009 22:29:24 +0000 (22:29 +0000)]
2009-04-03  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/spu-gmon.c: Tweaks to support simultaneous SPU
        profiling.

15 years ago2009-04-03 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Fri, 3 Apr 2009 22:27:30 +0000 (22:27 +0000)]
2009-04-03  Ken Werner  <ken.werner@de.ibm.com>

        * spu/crt0.S (_start): Place spu_id in the first agument register.

15 years ago * inferiors.c (get_thread_process): Make global.
uweigand [Fri, 3 Apr 2009 20:15:51 +0000 (20:15 +0000)]
* inferiors.c (get_thread_process): Make global.
* server.h (get_thread_process): Add prototype.
* thread-db.c (find_one_thread): Use get_thread_process
instead of current_process.
(thread_db_get_tls_address): Do not crash if called when
thread layer is not yet initialized.

15 years ago2009-04-03 Ken Werner <ken.werner@de.ibm.com>
jjohnstn [Fri, 3 Apr 2009 17:42:26 +0000 (17:42 +0000)]
2009-04-03  Ken Werner  <ken.werner@de.ibm.com>

        * libc/include/math.h: Remove duplicate copysign prototype.
        Fix __math_68881 define typo.  Guard functions of the rint family.

15 years ago2009-04-03 Craig Howland <howland@LGSInnovations.com>
jjohnstn [Fri, 3 Apr 2009 17:39:19 +0000 (17:39 +0000)]
2009-04-03  Craig Howland <howland@LGSInnovations.com>

        * libm/common/s_llrint.c: New file, implementing llrint().
        * libm/common/sf_llrint.c: New file, implementing llrintf().
        * libm/common/Makefile.am:  Add s_llrint.c (src); sf_llrint.c (fsrc).
        * libm/common/Makefile.in:  Regenerate.

15 years ago * ppc-linux-nat.c (ppc_linux_target_wordsize): New function.
uweigand [Fri, 3 Apr 2009 16:07:03 +0000 (16:07 +0000)]
* ppc-linux-nat.c (ppc_linux_target_wordsize): New function.
(ppc_linux_auxv_parse): New function.
(ppc_linux_read_description): Use ppc_linux_target_wordsize.
(_initialize_ppc_linux_nat): Install ppc_linux_auxv_parse.

15 years ago2009-04-02 Sterling Augustine <sterling@jaw.hq.tensilica.com>
sterling [Fri, 3 Apr 2009 16:06:39 +0000 (16:06 +0000)]
2009-04-02  Sterling Augustine  <sterling@jaw.hq.tensilica.com>

* elf32-xtensa.c (relax_property_section): Always set r_offset
to zero.

15 years ago * remote-utils.c (prepare_resume_reply): Null-terminate packet.
uweigand [Fri, 3 Apr 2009 14:38:38 +0000 (14:38 +0000)]
* remote-utils.c (prepare_resume_reply): Null-terminate packet.
* spu-low.c (current_tid): Rename to ...
(current_ptid): ... this.
(fetch_ppc_register, fetch_ppc_memory, store_ppc_memory,
spu_proc_xfer_spu, spu_resume, spu_request_interrupt): Use
ptid_get_lwp (current_ptid) instead of current_tid.
(spu_kill, spu_detach, spu_join, spu_wait): Use pid argument
instead of current_tid.  Use find_process_pid to verify pid
argument is valid.  Pass proper argument to remove_process.
(spu_thread_alive): Compare current_ptid instead of current_tid.
(spu_resume): Likewise.

15 years ago * spu-linux-nat.c (spu_bfd_open): Set filename of in-memory
uweigand [Fri, 3 Apr 2009 14:37:56 +0000 (14:37 +0000)]
* spu-linux-nat.c (spu_bfd_open): Set filename of in-memory
BFD to contents of SPU name note.
(spu_symbol_file_add_from_memory): Call symbol_file_add_from_bfd
with "from_tty" argument 1 instead of 0.

15 years ago * gdb.base/attach.exp: Re-enable for spu*-*-* targets.
uweigand [Fri, 3 Apr 2009 14:37:03 +0000 (14:37 +0000)]
* gdb.base/attach.exp: Re-enable for spu*-*-* targets.
* gdb.server/ext-attach.exp: Likewise.

15 years ago * Various syntactical and semantical fixes throughout.
corinna [Fri, 3 Apr 2009 11:51:31 +0000 (11:51 +0000)]
* Various syntactical and semantical fixes throughout.

15 years ago * utils.sgml: Various syntactical and semantical fixes.
corinna [Fri, 3 Apr 2009 11:50:25 +0000 (11:50 +0000)]
* utils.sgml: Various syntactical and semantical fixes.
* cygcheck.cc (usage): Fix --find-package explanation.

15 years ago * linux-low.c (usr_store_inferior_registers): Declare local `pid'
palves [Fri, 3 Apr 2009 11:40:02 +0000 (11:40 +0000)]
* linux-low.c (usr_store_inferior_registers): Declare local `pid'
variable.

15 years ago Eliminate some sleep usage.
vprus [Fri, 3 Apr 2009 11:23:18 +0000 (11:23 +0000)]
   Eliminate some sleep usage.

        * gdb.mi/basics.c (do_nothing): New.
        (main): Use do_nothing instead of printf, so that
        not to introduce race condition between output of
        inferiour and output of gdb. Do not use sleep as it
        is not generally available on embedded targets.

15 years ago * ld-scripts/rgn-at.s: Use explicit .section pseudos.
nathan [Fri, 3 Apr 2009 10:15:20 +0000 (10:15 +0000)]
* ld-scripts/rgn-at.s: Use explicit .section pseudos.

15 years ago * ld-pe/image_size.d (#target): Also run test on Cygwin and x86_64
davek [Fri, 3 Apr 2009 09:25:31 +0000 (09:25 +0000)]
* ld-pe/image_size.d (#target):  Also run test on Cygwin and x86_64
MinGW targets.

15 years ago * ldlang.c (lang_leave_output_section_statement): Set lma_region
nathan [Fri, 3 Apr 2009 07:45:27 +0000 (07:45 +0000)]
* ldlang.c (lang_leave_output_section_statement): Set lma_region
if it is not overridden and section is for the same vma region as
the previous section.

* ld-scripts/rgn-at.exp: New.
* ld-scripts/rgn-at.s: New.
* ld-scripts/rgn-at1.d: New.
* ld-scripts/rgn-at1.t: New.
* ld-scripts/rgn-at2.d: New.
* ld-scripts/rgn-at2.t: New.
* ld-scripts/rgn-at3.d: New.
* ld-scripts/rgn-at3.t: New.

15 years ago * ld-pe/export_dynamic_warning.s: Make dummy code portable.
davek [Fri, 3 Apr 2009 07:00:25 +0000 (07:00 +0000)]
* ld-pe/export_dynamic_warning.s:  Make dummy code portable.

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

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

15 years ago * gdb.server/ext-attach.exp: Expect an optional process id after
palves [Thu, 2 Apr 2009 22:40:09 +0000 (22:40 +0000)]
* gdb.server/ext-attach.exp: Expect an optional process id after
"Detached from remote process".

15 years agogdb/
jkratoch [Thu, 2 Apr 2009 21:01:40 +0000 (21:01 +0000)]
gdb/
* dwarf2read.c
(new_symbol <DW_TAG_variable> <!DW_AT_location> <DW_AT_external>):
Create the symbol in local scope.
* symtab.h (cu->list_in_scope <LOC_UNRESOLVED>): New comment part.

gdb/testsuite/
* gdb.dwarf2/dw2-unresolved-main.c, gdb.dwarf2/dw2-unresolved.S,
gdb.dwarf2/dw2-unresolved.exp: New.

15 years ago * environ.cc (build_env): Fix length calculation of resulting
corinna [Thu, 2 Apr 2009 17:44:01 +0000 (17:44 +0000)]
* environ.cc (build_env): Fix length calculation of resulting
wide char environment string.

15 years ago * stabsread.c (read_member_functions): GCC may emit an extra space
kseitz [Thu, 2 Apr 2009 17:34:24 +0000 (17:34 +0000)]
* stabsread.c (read_member_functions): GCC may emit an extra space
at the end of the names "__base_ctor" and "__base_dtor"; so ignore
whitespace when looking for these functions.

15 years ago * ld-pe/export_dynamic_warning.d (#warning): Fix regex pattern.
davek [Thu, 2 Apr 2009 16:44:23 +0000 (16:44 +0000)]
* ld-pe/export_dynamic_warning.d (#warning):  Fix regex pattern.

15 years ago * gdb.mi/mi-nonstop-exit.exp: Don't check isnative. Use
palves [Thu, 2 Apr 2009 16:11:47 +0000 (16:11 +0000)]
* gdb.mi/mi-nonstop-exit.exp: Don't check isnative.  Use
mi_run_to_main.

15 years ago * gdb.texinfo (Backtrace): Add a parameter in frame 1 of the first
brobecke [Thu, 2 Apr 2009 15:56:08 +0000 (15:56 +0000)]
    * gdb.texinfo (Backtrace): Add a parameter in frame 1 of the first
        example, and add a small explanation about it.
        (Print Settings): Change the documentation of the "set print
        frame-arguments" to reflect the fact that the default is now "scalars".

15 years ago * gdb.texinfo (Print Settings): Add kindex for command "set
brobecke [Thu, 2 Apr 2009 15:54:49 +0000 (15:54 +0000)]
    * gdb.texinfo (Print Settings): Add kindex for command "set
        print frame-arguments".

15 years ago * gdb.mi/mi-nonstop.exp: Don't check isnative. Use
palves [Thu, 2 Apr 2009 15:43:09 +0000 (15:43 +0000)]
* gdb.mi/mi-nonstop.exp: Don't check isnative.  Use
mi_run_to_main.  Skip thread exit test on remote targets.
* gdb.mi/mi-nsintrall.exp: Don't check isnative.  Use
mi_run_to_main.
* gdb.mi/mi-nsmoribund.exp: Don't check isnative.  Use
mi_run_to_main.
* lib/mi-support.exp (mi_gdb_target_cmd): Remove trailing anchor
when expecting ^connected.  Detect when the target doesn't support
non-stop mode.
(mi_run_cmd): Detect if non-stop mode was requested by isn't
supported.  Return -1 on error, 0 on success.
(mi_runto_helper): Don't expect a stop if mi_run_cmd failed.
(mi_runto): Return mi_runto_helper's result explicitly.

15 years agold/ChangeLog
davek [Thu, 2 Apr 2009 14:42:40 +0000 (14:42 +0000)]
ld/ChangeLog

PR ld/6744
* ld.texinfo (--export-dynamic):  Mention --export-all-symbols.
* emultempl/pe.em (gld_${EMULATION_NAME}_after_parse):  Issue
warning if --export-dynamic was passed on command-line.
* emultempl/pep.em (gld_${EMULATION_NAME}_after_parse):  Likewise.

ld/testsuite/ChangeLog

PR ld/6744
* ld-pe/export_dynamic_warning.d:  New test control file.
* ld-pe/export_dynamic_warning.s:  New test source file.
* ld-pe/pe.exp:  Also run export_dynamic_warning dump test.

15 years ago2009-04-02 Christophe Lyon <christophe.lyon@st.com>
clyon [Thu, 2 Apr 2009 14:12:44 +0000 (14:12 +0000)]
2009-04-02  Christophe Lyon  <christophe.lyon@st.com>

bfd/
* elf32-arm.c (elf32_arm_stub_long_branch_v4t_thumb_thumb,
elf32_arm_stub_long_branch_v4t_thumb_thumb_pic): Two new long
branch stubs.
(elf32_arm_stub_type): New enum values for the two new stubs.
(arm_type_of_stub): Make use of the two new stubs.
(arm_size_one_stub): Handle the two new stubs.

testsuite/
* ld-arm/farcall-thumb-thumb-pic-veneer.d: Update expected
results.
* ld-arm/farcall-thumb-thumb.d: Likewise.

15 years ago * inutils-all/objcopy.exp (strip_executable): Delete remote dest
davek [Thu, 2 Apr 2009 13:47:44 +0000 (13:47 +0000)]
* inutils-all/objcopy.exp (strip_executable):  Delete remote dest
file before downloading.
(strip_executable_with_saving_a_symbol):  Likewise.
(keep_debug_symbols_and_test_copy):  Likewise.

15 years agoopcodes/
bergner [Thu, 2 Apr 2009 13:30:53 +0000 (13:30 +0000)]
opcodes/
* ppc-dis.c (powerpc_init_dialect): Do not choose a default dialect
due to -many/-Many.
(print_insn_powerpc): Make sure we only deprecate instructions using
the original dialect and not a modified dialect due to -Many handling.
Move the handling of the condition register and default operands to
the end of the if/else if/else chain.
* ppc-opc.c (powerpc_opcodes): Reorder the opcode table so that
instructions from newer processors are listed before older ones.
<"icblce", "sync", "eieio", "tlbld">: Deprecate for processors
that have instructions with conflicting opcodes.

15 years ago * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
nickc [Thu, 2 Apr 2009 09:43:56 +0000 (09:43 +0000)]
    * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-M0.
        * doc/c-arm.texi: Added codes for processors ARM Cortex-M0 and
        Cortex-M1.

15 years agoPR 9987
nickc [Thu, 2 Apr 2009 09:34:21 +0000 (09:34 +0000)]
PR 9987
        * lib/ld-lib.exp (check_gc_sections_available): Do not run garbage
        collection tests for cygwin targets.

15 years ago * include/netdb.h: #include <inttypes.h>, <netinet/in.h>,
corinna [Thu, 2 Apr 2009 08:48:01 +0000 (08:48 +0000)]
* include/netdb.h: #include <inttypes.h>, <netinet/in.h>,
and <sys/socket.h> per SUSv3.

15 years ago * libc/ctype/ctype_c.c: Move inclusion of ctype_iso.h and
corinna [Thu, 2 Apr 2009 07:53:11 +0000 (07:53 +0000)]
* libc/ctype/ctype_c.c: Move inclusion of ctype_iso.h and
ctype_cp.h out of ALLOW_NEGATIVE_CTYPE_INDEX case.
(__ctype_ptr__): Constify in !_MB_CAPABLE case.  Otherwise,
de-constify in !ALLOW_NEGATIVE_CTYPE_INDEX case, too.  Add comment.
(__set_ctype): Set __ctype_ptr__ pointer according to definition
of ALLOW_NEGATIVE_CTYPE_INDEX.
* libc/include/ctype.h (__ctype_ptr__): Constify in !_MB_CAPABLE case.