]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
12 years ago* cygheap.h (cygheap_fdget::~cygheap_fdget): Simplify now that refcnt reports
Christopher Faylor [Sun, 22 Jan 2012 06:45:08 +0000 (06:45 +0000)]
* cygheap.h (cygheap_fdget::~cygheap_fdget): Simplify now that refcnt reports
reference count changes itself.
* fhandler.cc (fhandler_base::reset): Set _refcnt to 0.
* fhandler.h (fhandler_base::refcnt): Report refcnt when debugging.
* select.cc (cygwin_select): Set return_on_signal to indicate when select
should be interrupted.
(select_stuff::wait): Keep looping unless return_on_signal is set.
* select.h (select_stuff::return_on_signal): New variable.
(select_stuff::select_stuff): Zero return_on_signal.

12 years ago * fhandler.h (fhandler_registry::opendir): Declare.
Corinna Vinschen [Fri, 20 Jan 2012 12:53:26 +0000 (12:53 +0000)]
* fhandler.h (fhandler_registry::opendir): Declare.
* fhandler_registry.cc (fhandler_registry::opendir): New function.

12 years ago * arm/linux-crt0.c: Use ldr instead of adr to get address of
Corinna Vinschen [Tue, 17 Jan 2012 10:03:40 +0000 (10:03 +0000)]
* arm/linux-crt0.c: Use ldr instead of adr to get address of
_start_thumb.

12 years agoCorrect misused 'rm -r' command in uninstall rules.
Keith Marshall [Mon, 16 Jan 2012 20:37:25 +0000 (20:37 +0000)]
Correct misused 'rm -r' command in uninstall rules.

12 years agoGeneralise makefile references to subdirectories of lib.
Keith Marshall [Mon, 16 Jan 2012 20:26:49 +0000 (20:26 +0000)]
Generalise makefile references to subdirectories of lib.

12 years ago * configure: Regenerate and re-add to repository.
Corinna Vinschen [Mon, 16 Jan 2012 08:44:37 +0000 (08:44 +0000)]
* configure: Regenerate and re-add to repository.
* .cvsignore: Fix accordingly.

12 years agoAdd 'check' as GCS conforming alias for make's 'test' goal.
Keith Marshall [Sun, 15 Jan 2012 21:30:48 +0000 (21:30 +0000)]
Add 'check' as GCS conforming alias for make's 'test' goal.

12 years agoMore makefile code refactoring; remove redundant INCLUDES references.
Keith Marshall [Sun, 15 Jan 2012 20:56:25 +0000 (20:56 +0000)]
More makefile code refactoring; remove redundant INCLUDES references.

12 years agoAdd smart identification of auxiliary header file paths.
Keith Marshall [Sun, 15 Jan 2012 19:11:09 +0000 (19:11 +0000)]
Add smart identification of auxiliary header file paths.

12 years agoMore makefile code refactoring; fix top_srcdir references.
Keith Marshall [Sun, 15 Jan 2012 15:31:11 +0000 (15:31 +0000)]
More makefile code refactoring; fix top_srcdir references.

12 years agoUpdate and correct makefile rebuilding rules.
Keith Marshall [Sun, 15 Jan 2012 15:10:09 +0000 (15:10 +0000)]
Update and correct makefile rebuilding rules.

12 years agoMore formatting adjustments.
Keith Marshall [Sun, 15 Jan 2012 14:28:17 +0000 (14:28 +0000)]
More formatting adjustments.

12 years agoMiscellaneous formatting adjustments.
Keith Marshall [Sun, 15 Jan 2012 14:20:36 +0000 (14:20 +0000)]
Miscellaneous formatting adjustments.

12 years agoImprove self-documentation of 'for' loop commands.
Keith Marshall [Sun, 15 Jan 2012 12:39:00 +0000 (12:39 +0000)]
Improve self-documentation of 'for' loop commands.

12 years agoGeneralise 'all' rule to arbitrary prerequisite sub-directories.
Keith Marshall [Sun, 15 Jan 2012 12:27:13 +0000 (12:27 +0000)]
Generalise 'all' rule to arbitrary prerequisite sub-directories.

12 years agoDerive package release index from configure time specification.
Keith Marshall [Sun, 15 Jan 2012 12:20:09 +0000 (12:20 +0000)]
Derive package release index from configure time specification.

12 years agoDiscontinue CVS tracking of generated 'configure' script.
Keith Marshall [Sat, 14 Jan 2012 21:19:12 +0000 (21:19 +0000)]
Discontinue CVS tracking of generated 'configure' script.

12 years agoDocument support of printf %m conversion flag.
Yaakov Selkowitz [Fri, 13 Jan 2012 10:01:12 +0000 (10:01 +0000)]
Document support of printf %m conversion flag.

12 years ago * new-features.sgml (ov-new1.7.10): Document support for the %m
Yaakov Selkowitz [Fri, 13 Jan 2012 09:59:53 +0000 (09:59 +0000)]
* new-features.sgml (ov-new1.7.10): Document support for the %m
conversion flag in printf functions.

12 years ago * include/cygwin/config.h (_GLIBC_EXTENSION): Define.
Yaakov Selkowitz [Fri, 13 Jan 2012 09:15:22 +0000 (09:15 +0000)]
* include/cygwin/config.h (_GLIBC_EXTENSION): Define.

12 years ago * libc/stdio/sprintf.c: Document 'm' conversion specifier.
Yaakov Selkowitz [Fri, 13 Jan 2012 09:13:57 +0000 (09:13 +0000)]
* libc/stdio/sprintf.c: Document 'm' conversion specifier.
* libc/stdio/swprintf.c: Ditto.
* libc/stdio/vfprintf.c (_VFPRINTF_R) [_GLIBC_EXTENSION]: Handle 'm'
conversion specifier.
* libc/stdio/vfwprintf.c (_VFWPRINTF_R) [_GLIBC_EXTENSION]: Ditto.

12 years agoDocument tgmath.h.
Yaakov Selkowitz [Thu, 12 Jan 2012 23:43:21 +0000 (23:43 +0000)]
Document tgmath.h.

12 years ago * new-features.sgml (ov-new1.7.10): Document tgmath.h.
Yaakov Selkowitz [Thu, 12 Jan 2012 23:42:11 +0000 (23:42 +0000)]
* new-features.sgml (ov-new1.7.10): Document tgmath.h.

12 years agoadd indirect_symbol to mach-o port.
Iain D Sandoe [Thu, 12 Jan 2012 14:03:12 +0000 (14:03 +0000)]
add indirect_symbol to mach-o port.

bfd:

* mach-o.c (bfd_mach_o_count_indirect_symbols): New.
(bfd_mach_o_build_dysymtab_command): Populate indirect symbol table.
* mach-o.h (bfd_mach_o_asymbol): Move declaration to start of the
file. (bfd_mach_o_section): Add indirect_syms field.

gas:

* config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
lazy when the symbol is private_extern.
(obj_mach_o_indirect_sym): New type.
(obj_mach_o_indirect_symbol): New.
(mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
(obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
(obj_macho_frob_label): Likewise.  Adjust external and comm
symbol tests.
(obj_mach_o_set_indirect_symbols): New.
(obj_mach_o_frob_file_after_relocs): New.
*config/obj-macho.h (obj_frob_file_after_relocs): Define.
(obj_mach_o_frob_file_after_relocs): Declare.

include/mach-o:

* loader.h (BFD_MACH_O_INDIRECT_SYM_LOCAL): New.
(BFD_MACH_O_INDIRECT_SYM_ABS): New

gas/testsuite:

* gas/mach-o/dysymtab-2.d: New.
* gas/mach-o/err-syms-4.s: New.
* gas/mach-o/err-syms-5.s: New.
* gas/mach-o/err-syms-6.s: New.
* gas/mach-o/symbols-6-64.d: New.
* gas/mach-o/symbols-6-64.s: New.
* gas/mach-o/symbols-6.d: New.
* gas/mach-o/symbols-6.s: New.

12 years ago * libc/include/tgmath.h: New header.
Yaakov Selkowitz [Thu, 12 Jan 2012 11:19:31 +0000 (11:19 +0000)]
* libc/include/tgmath.h: New header.

12 years ago* spawn.cc (child_info_spawn::worker): Delete debugging.
Christopher Faylor [Wed, 11 Jan 2012 22:38:52 +0000 (22:38 +0000)]
* spawn.cc (child_info_spawn::worker): Delete debugging.

12 years agoUpdate copyright on all files checked in so far this year.
Christopher Faylor [Wed, 11 Jan 2012 19:07:11 +0000 (19:07 +0000)]
Update copyright on all files checked in so far this year.
* fhandler.h: Use #pragma once rather than ifdef guards.
(fhandler_console::tc_getpgid): Return our pgid if we have never opened a
console.
* fork.cc: Rearrange includes to accommodate fhandler.h use of pinfo.h.
* sigproc.cc: Ditto.
* spawn.cc: Ditto.
(child_info_spawn::worker): Query myself->pgid rather than calling expensive
function.
* thread.h: Use #pragma once rather than ifdef guards.
* pinfo.h: Use #pragma once rather than ifdef guards.
(pinfo::remember): Don't define if sigproc.h has not been included.
(pinfo::reattach): Ditto.
* sigproc.h: Use #pragma once rather than ifdef guards.  Use different test to
see if pinfo.h has been included.

12 years ago * libc/include/sys/unistd.h [__CYGWIN__] (get_current_dir_name):
Yaakov Selkowitz [Mon, 9 Jan 2012 22:49:20 +0000 (22:49 +0000)]
* libc/include/sys/unistd.h [__CYGWIN__] (get_current_dir_name):
Declare.

12 years ago * libc/include/complex.h: Fix "/*" within comment warning.
Yaakov Selkowitz [Mon, 9 Jan 2012 22:46:34 +0000 (22:46 +0000)]
* libc/include/complex.h: Fix "/*" within comment warning.

12 years ago * libc/include/process.h: Remove Cygwin-only header.
Corinna Vinschen [Mon, 9 Jan 2012 17:06:20 +0000 (17:06 +0000)]
* libc/include/process.h: Remove Cygwin-only header.

12 years ago * include/cygwin/process.h: Move here from newlib.
Corinna Vinschen [Mon, 9 Jan 2012 17:03:39 +0000 (17:03 +0000)]
* include/cygwin/process.h: Move here from newlib.
* exec.cc: Change include of process.h to reflect the fact that it's
now in the include/cygwin subfolder.
* spawn.cc: Ditto.
* syscalls.cc: Ditto.

12 years ago * miscfuncs.cc (thread_wrapper): Make sure stack is 16 byte aligned
Corinna Vinschen [Mon, 9 Jan 2012 14:19:56 +0000 (14:19 +0000)]
* miscfuncs.cc (thread_wrapper): Make sure stack is 16 byte aligned
to make gcc-3 compiled pthread applications happy.

12 years ago * Makefile.common (MINGW_LDFLAGS): Correctly use -L rather than -B here.
Corinna Vinschen [Mon, 9 Jan 2012 09:50:44 +0000 (09:50 +0000)]
* Makefile.common (MINGW_LDFLAGS): Correctly use -L rather than -B here.

12 years ago* dtable.cc (dtable::stdio_init): Always initialize console when we have one.
Christopher Faylor [Sun, 8 Jan 2012 06:24:17 +0000 (06:24 +0000)]
* dtable.cc (dtable::stdio_init): Always initialize console when we have one.
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Use a better method to
print tty name for debugging.
(fhandler_termios::bg_check): Ditto.
* pinfo.cc (_pinfo::set_ctty): Remove leftover debugging stuff.  Simplify
behavior when setting tty's sid and pgid to avoid overwriting previously set
values.
* spawn.cc (ch_spawn): Cosmetic change.

12 years agoAdd my recent API additions.
Yaakov Selkowitz [Sun, 8 Jan 2012 01:32:17 +0000 (01:32 +0000)]
Add my recent API additions.

12 years agomerge from gcc
Jason Merrill [Sat, 7 Jan 2012 02:53:16 +0000 (02:53 +0000)]
merge from gcc

12 years agoEnsure Makefile.comm source is included in distribution tarballs.
Keith Marshall [Fri, 6 Jan 2012 22:01:15 +0000 (22:01 +0000)]
Ensure Makefile.comm source is included in distribution tarballs.

12 years ago2012-01-06 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Fri, 6 Jan 2012 18:51:33 +0000 (18:51 +0000)]
2012-01-06  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/windef.h (WINVER): Back off to 0x0500.

12 years ago * new-features.sgml (ov-new1.7.10): Document pthread_sigqueue.
Yaakov Selkowitz [Fri, 6 Jan 2012 07:13:11 +0000 (07:13 +0000)]
* new-features.sgml (ov-new1.7.10): Document pthread_sigqueue.

12 years ago * cygwin.din (pthread_sigqueue): Export.
Yaakov Selkowitz [Fri, 6 Jan 2012 07:12:18 +0000 (07:12 +0000)]
* cygwin.din (pthread_sigqueue): Export.
* posix.sgml (std-gnu): Add pthread_sigqueue.
* thread.cc (pthread_sigqueue): New function.
* include/thread.h (pthread_sigqueue): New function.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

12 years ago2012-01-05 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Thu, 5 Jan 2012 19:39:01 +0000 (19:39 +0000)]
2012-01-05  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/windef.h (WINVER): Bump to 0x0501.

12 years agobfd/
Tristan Gingold [Wed, 4 Jan 2012 10:37:36 +0000 (10:37 +0000)]
bfd/
2012-01-04  Tristan Gingold  <gingold@adacore.com>

* mach-o.h (bfd_mach_o_fvmlib_command): New structure.
(bfd_mach_o_load_command): Add fvmlib field.

* mach-o.c (bfd_mach_o_read_fvmlib): New function.
(bfd_mach_o_read_command): Handle fvmlib.

binutils/
2012-01-04  Tristan Gingold  <gingold@adacore.com>

* od-macho.c (dump_load_command): Handle fvmlib.

include/mach-o/
2012-01-04  Tristan Gingold  <gingold@adacore.com>

* external.h (mach_o_fvmlib_command_external): New structure.

12 years agobfd/
Tristan Gingold [Wed, 4 Jan 2012 10:25:14 +0000 (10:25 +0000)]
bfd/
2012-01-04  Tristan Gingold  <gingold@adacore.com>

* mach-o.c (bfd_mach_o_convert_architecture): Reindent.
Decode msubtype for ARM.

include/mach-o/
2012-01-04  Tristan Gingold  <gingold@adacore.com>

* loader.h: Update copyright year.
(bfd_mach_o_cpu_subtype): Add ARM subtypes.

12 years agobfd/
Tristan Gingold [Wed, 4 Jan 2012 09:58:55 +0000 (09:58 +0000)]
bfd/
2012-01-04  Tristan Gingold  <gingold@adacore.com>

* mach-o.h: Reindent header.
(bfd_mach_o_encryption_info_command): New structure.
(bfd_mach_o_load_command): Add encryption_info field.

* mach-o.c (bfd_mach_o_read_encryption_info): New function.
(bfd_mach_o_read_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.
(bfd_mach_o_read_command): Adjust error message.

binutils/
2012-01-04  Tristan Gingold  <gingold@adacore.com>

* od-macho.c: Update copyright year.
(dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.

include/mach-o/
2012-01-04  Tristan Gingold  <gingold@adacore.com>

* external.h: Update copyright year.
(mach_o_symtab_command_external): Add comments.
(mach_o_encryption_info_command_external): New structure.

12 years agoCopyright year update in most files of the GDB Project.
Joel Brobecker [Wed, 4 Jan 2012 08:27:59 +0000 (08:27 +0000)]
Copyright year update in most files of the GDB Project.

gdb/ChangeLog:

        Copyright year update in most files of the GDB Project.

12 years ago2012-01-03 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Wed, 4 Jan 2012 02:32:08 +0000 (02:32 +0000)]
2012-01-03  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        Return value, identified by 'make test'.

        * include/gdiplus/gdiplustypes.h (Gdiplus::GdiplusAbort::Abort()): Return
        NO_ERROR in virtual definition.

12 years ago2012-01-03 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Wed, 4 Jan 2012 01:32:07 +0000 (01:32 +0000)]
2012-01-03  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        Remove duplicate definitions, identified by 'make test'.

        * include/wincrypt.h (CRYPT_NEWKEYSET, CRYPT_DELETEKEYSET,
        CRYPT_MACHINE_KEYSET, CRYPT_SILENT, CRYPT_EXPORTABLE, CRYPT_USER_PROTECTED,
        CRYPT_CREATE_SALT, CRYPT_UPDATE_KEY, CRYPT_NO_SALT, CRYPT_PREGEN,
        CRYPT_RECIPIENT, CRYPT_INITIATOR, CRYPT_ONLINE, CRYPT_SF, CRYPT_CREATE_IV,
        CRYPT_KEK, CRYPT_DATA_KEY, CRYPT_VOLATILE, CRYPT_SGCKEY): Remove duplicate
        definitions.
        * include/winerror.h (CRYPT_E_REVOKED): Removed - already defined in
        wincrypt (which is where it should be defined according to MSDN).

12 years ago2012-01-03 Viachaslau Kulakouski <Viachaslau.Kulakouski@oracle.com>
Jeff Johnston [Tue, 3 Jan 2012 19:13:57 +0000 (19:13 +0000)]
2012-01-03  Viachaslau Kulakouski  <Viachaslau.Kulakouski@oracle.com>

        * libc/stdlib/__atexit.c: Refer to __atexit_lock instead of lock.

12 years agoCorrect misuse of #ifdef, identified by 'make test'.
Keith Marshall [Tue, 3 Jan 2012 19:09:39 +0000 (19:09 +0000)]
Correct misuse of #ifdef, identified by 'make test'.

12 years ago* path.cc (get_current_dir_name): Avoid memory leak. Don't return PWD contents
Christopher Faylor [Mon, 2 Jan 2012 17:45:51 +0000 (17:45 +0000)]
* path.cc (get_current_dir_name): Avoid memory leak.  Don't return PWD contents
if directory doesn't actually exist.

12 years ago * new-features.sgml (ov-new1.7.10): Document get_current_dir_name.
Yaakov Selkowitz [Sun, 1 Jan 2012 18:55:40 +0000 (18:55 +0000)]
* new-features.sgml (ov-new1.7.10): Document get_current_dir_name.

12 years ago * cygwin.din (get_current_dir_name): Export.
Yaakov Selkowitz [Sun, 1 Jan 2012 18:54:25 +0000 (18:54 +0000)]
* cygwin.din (get_current_dir_name): Export.
* path.cc (get_current_dir_name): New function.
* posix.sgml (std-gnu): Add get_current_dir_name.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

12 years agoBump ChangeLog
Christopher Faylor [Sun, 1 Jan 2012 16:57:25 +0000 (16:57 +0000)]
Bump ChangeLog

12 years agoAdd a couple other items which have been changed since initial call for testing
Christopher Faylor [Sat, 31 Dec 2011 19:23:05 +0000 (19:23 +0000)]
Add a couple other items which have been changed since initial call for testing

12 years agoInitial checkin of text Corinna sent to cygwin-announce.
Christopher Faylor [Sat, 31 Dec 2011 19:18:23 +0000 (19:18 +0000)]
Initial checkin of text Corinna sent to cygwin-announce.

12 years ago * new-features.sgml (ov-new1.7.10): Document getpt.
Yaakov Selkowitz [Fri, 30 Dec 2011 20:24:18 +0000 (20:24 +0000)]
* new-features.sgml (ov-new1.7.10): Document getpt.

12 years ago * cygwin.din (getpt): Export.
Yaakov Selkowitz [Fri, 30 Dec 2011 20:22:28 +0000 (20:22 +0000)]
* cygwin.din (getpt): Export.
* posix.sgml (std-gnu): Add getpt.
* tty.cc (getpt): New function.
* include/cygwin/stdlib.h [!__STRICT_ANSI__] (getpt): Declare.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

12 years ago * thread.cc: Mark pthread_rwlock_timedrdlock and
Yaakov Selkowitz [Fri, 30 Dec 2011 06:47:13 +0000 (06:47 +0000)]
* thread.cc: Mark pthread_rwlock_timedrdlock and
pthread_rwlock_timedwrlock as not yet implemented in the list of
cancellation points.

12 years ago* fhandler_dsp.cc (fhandler_dev_dsp::fhandler_dev_dsp): Set up device.
Christopher Faylor [Sun, 25 Dec 2011 04:05:31 +0000 (04:05 +0000)]
* fhandler_dsp.cc (fhandler_dev_dsp::fhandler_dev_dsp): Set up device.
* syscalls.cc (open): Very minor formatting tweak.

12 years ago * path.cc (struct symlink_info): Add bool argument to declaration of
Corinna Vinschen [Sat, 24 Dec 2011 13:11:34 +0000 (13:11 +0000)]
* path.cc (struct symlink_info): Add bool argument to declaration of
check_reparse_point.
(symlink_info::check_reparse_point): Add bool argument to indicate
remote drive.  Handle STATUS_PENDING.  Don't evaluate junctions on
remote drives.  Fix comments.
(symlink_info::check): Drop check for is_remote_drive and associated
comment here.  Add fs.is_remote_drive as second parameter to
check_reparse_point call.

12 years ago * pinfo.cc (pinfo_basic::pinfo_basic): Fix formatting. Set uid and gid
Corinna Vinschen [Fri, 23 Dec 2011 17:12:10 +0000 (17:12 +0000)]
* pinfo.cc (pinfo_basic::pinfo_basic): Fix formatting.  Set uid and gid
to default values to accommodate early initialization of shared user
info.  Add comment.

12 years ago[bfd]
DJ Delorie [Fri, 23 Dec 2011 01:49:37 +0000 (01:49 +0000)]
[bfd]
* elf32-rl78.c (rl78_elf_howto_table): Add R_RL78_RH_RELAX.
(rl78_reloc_map): Add BFD_RELOC_RL78_RELAX.
(rl78_elf_relocate_section): Add R_RL78_RH_RELAX, R_RL78_RH_SFR,
and R_RL78_RH_SADDR.
(rl78_elf_finish_dynamic_sections): Only validate PLT section if
we didn't relax anything, as relaxing might remove a PLT reference
after we've set up the table.
(elf32_rl78_relax_delete_bytes): New.
(reloc_bubblesort): New.
(rl78_offset_for_reloc): New.
(relax_addr16): New.
(rl78_elf_relax_section): Add support for relaxing long
instructions into short ones.

[gas]
* config/rl78-defs.h (rl78_linkrelax_addr16): Add.
(rl78_linkrelax_dsp, rl78_linkrelax_imm): Remove.
* config/rl78-parse.y: Tag all addr16 and branch patterns with
relaxation markers.
* config/tc-rl78.c (rl78_linkrelax_addr16): New.
(rl78_linkrelax_branch): New.
(OPTION_RELAX): New.
(md_longopts): Add relax option.
(md_parse_option): Add OPTION_RELAX.
(rl78_frag_init): Support relaxation.
(rl78_handle_align): New.
(md_assemble): Support relaxation.
(md_apply_fix): Likewise.
(md_convert_frag): Likewise.
* config/tc-rl78.h (MAX_MEM_FOR_RS_ALIGN_CODE): New.
(HANDLE_ALIGN): New.
(rl78_handle_align): Declare.

* config/rl78-parse.y (rl78_bit_insn): New.  Set it for all bit
insn patterns.
(find_bit_index): New.  Strip .BIT suffix off relevent
expressions for bit insns.
(rl78_lex): Exclude bit suffixes from expression parsing.

[include/elf]
* rl78.h (R_RL78_RH_RELAX, R_RL78_RH_SFR, R_RL78_RH_SADDR): New.
(RL78_RELAXA_BRA, RL78_RELAXA_ADDR16: New.

12 years ago * spawn.cc (child_info_spawn::worker): Add CREATE_BREAKAWAY_FROM_JOB
Corinna Vinschen [Thu, 22 Dec 2011 14:33:08 +0000 (14:33 +0000)]
* spawn.cc (child_info_spawn::worker): Add CREATE_BREAKAWAY_FROM_JOB
to c_flags only if current process is member of a job and breakaway
is allowed.

12 years ago * include/winnt.h (JOB_OBJECT_LIMIT_BREAKAWAY_OK): Define.
Corinna Vinschen [Thu, 22 Dec 2011 14:31:46 +0000 (14:31 +0000)]
* include/winnt.h (JOB_OBJECT_LIMIT_BREAKAWAY_OK): Define.
(JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK): Define.
(JOB_OBJECT_BREAKAWAY_OK): Define as JOB_OBJECT_LIMIT_BREAKAWAY_OK
and mark as kept for backward compatibility only.
(JOB_OBJECT_SILENT_BREAKAWAY): Define as
JOB_OBJECT_LIMIT_SILENT_BREAKAWAY_OK and mark as kept for backward
compatibility only.

12 years ago Don't leave Windows 2000 behind.
Corinna Vinschen [Thu, 22 Dec 2011 13:48:05 +0000 (13:48 +0000)]
Don't leave Windows 2000 behind.

* Makefile.in (ps.exe): Revert previous change.
* ps.cc: Include psapi.h again.
(main): In CW_GETPINFO_FULL case.  Evaluate minimal process access mask
required per OS and use that in OpenProcess call.  Use
GetModuleFileNameExW on Windows 2000 or if fetching the drive mapping
failed.  Handle empty process name.

12 years ago * include/winnt.h: Add missing PROCESS_QUERY_LIMITED_INFORMATION.
Corinna Vinschen [Thu, 22 Dec 2011 13:46:11 +0000 (13:46 +0000)]
* include/winnt.h: Add missing PROCESS_QUERY_LIMITED_INFORMATION.

12 years ago * Makefile.in (ps.exe): Drop -lpsapi from ALL_LDFLAGS.
Corinna Vinschen [Thu, 22 Dec 2011 12:40:26 +0000 (12:40 +0000)]
* Makefile.in (ps.exe): Drop -lpsapi from ALL_LDFLAGS.
* ps.cc: Don't include psapi.h.
(dosdevs): Drop.
(unicode_buf): Define.
(main): Simplify path evaluation in CW_GETPINFO_FULL case. Fetch drive
map from Cygwin DLL.  Use it to convert NT device paths to Win32 paths.

12 years ago * external.cc (cygwin_internal): Implement CW_ALLOC_DRIVE_MAP,
Corinna Vinschen [Thu, 22 Dec 2011 12:25:10 +0000 (12:25 +0000)]
* external.cc (cygwin_internal): Implement CW_ALLOC_DRIVE_MAP,
CW_MAP_DRIVE_MAP, CW_FREE_DRIVE_MAP.
* fhandler_process.cc: Include mount.h.
(get_volume_path_names_for_volume_name): Move to mount.cc.
(struct dos_drive_mappings): Ditto.
* mount.cc (get_volume_path_names_for_volume_name): Move here.
(dos_drive_mappings::dos_drive_mappings): Ditto.
(dos_drive_mappings::fixup_if_match): Ditto.
(dos_drive_mappings::~dos_drive_mappings): Ditto.
* mount.h (class dos_drive_mappings): Declare her.
* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_ALLOC_DRIVE_MAP,
CW_MAP_DRIVE_MAP, CW_FREE_DRIVE_MAP.
* include/cygwin/version.h: Bump API minor number.

12 years ago * fhandler_process.cc: Drop unneeded includes.
Corinna Vinschen [Thu, 22 Dec 2011 11:25:44 +0000 (11:25 +0000)]
* fhandler_process.cc: Drop unneeded includes.

12 years ago Throughout use wincap.allocation_granularity instead of getpagesize.
Corinna Vinschen [Thu, 22 Dec 2011 11:02:36 +0000 (11:02 +0000)]
Throughout use wincap.allocation_granularity instead of getpagesize.
Throughout use wincap.page_size instead of getsystempagesize.
Throughout use "status" as variable name to hold NTSTATUS values.
* fhandler_mem.cc: Check for NT_SUCCESS rather than for STATUS_SUCCESS.
Fix debug_printf output.  Rectify long statements.  Fix comment
formatting.
* fhandler_proc.cc: Ditto.
(format_proc_swaps): Drop useless test for ERROR_PROC_NOT_FOUND.
* fhandler_process.cc: Ditto as in fhandler_mem.cc.
(get_process_state): Rearrange allocation loop.  Use malloc/realloc.
(get_mem_values): Fix potential NULL pointer usage.  Drop unused
variable.
* pinfo.cc (winpids::enum_processes): Handle low memory gracefully.
* sec_auth.cc (get_priv_list): Drop local variable ret.
* shared.cc (memory_init): Drop outdated call to getpagesize.
* syscalls.cc (getsystempagesize): Remove.
* sysconf.cc: Check for NT_SUCCESS rather than for STATUS_SUCCESS.
(sysinfo): Constify sizeof_stodi.  Drop useless test for
ERROR_PROC_NOT_FOUND.
* thread.cc (pthread_getattr_np): Cast pointers to uintptr_t rather
than to int for pointer arithmetic.
* winsup.h (getsystempagesize): Drop declaration.

12 years ago* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Use correct value in
Christopher Faylor [Wed, 21 Dec 2011 18:34:57 +0000 (18:34 +0000)]
* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Use correct value in
switch statement.

12 years ago * dcrt0.cc (_dll_crt0): Rephrase comments. Set $ebp to NULL, as in
Corinna Vinschen [Wed, 21 Dec 2011 17:19:48 +0000 (17:19 +0000)]
* dcrt0.cc (_dll_crt0): Rephrase comments.  Set $ebp to NULL, as in
the pthread stack setup.
* wow64.cc (wow64_revert_to_original_stack): Rephrase some comments.
Return _tlsbase-16 rather than _main_tls-4 so as not to waste stack.

12 years agoconfig/:
Andreas Schwab [Tue, 20 Dec 2011 17:01:29 +0000 (17:01 +0000)]
config/:
* warnings.m4 (ACX_PROG_CC_WARNING_OPTS): Avoid leading dash in
expr call.
libdecnumber/:
* configure: Regenerate.
libiberty/:
* configure: Regenerate.

12 years ago * fvwrite.c (__sfvwrite_r): Set __SMBF flag to avoid double free in
Corinna Vinschen [Tue, 20 Dec 2011 09:06:58 +0000 (09:06 +0000)]
* fvwrite.c (__sfvwrite_r): Set __SMBF flag to avoid double free in
fclose.  Enhance comment.

12 years ago2011-12-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 19 Dec 2011 22:03:51 +0000 (22:03 +0000)]
2011-12-19  Jeff Johnston  <jjohnstn@redhat.com>

        * NEWS: Update with 1.20.0 info.
        * README: Ditto.
        * acinclude.m4: Change version number to 1.20.0.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * Makefile.in: Regenerated.
        * doc/aclocal.m4: Ditto.
        * doc/configure: Ditto.
        * libc/*/aclocal.m4: Ditto.
        * libc/*/configure: Ditto.
        * libc/libc.texinfo: Ditto.
        * libm/*/aclocal.m4: Ditto.
        * libm/*/configure: Ditto.
        * libm/libm.texinfo: Ditto.
        * libc/sys/linux/shared.ld: Add VERS_1.20

12 years ago * syscalls.cc (rename): Fix typo in comment. Fix condition to handle
Corinna Vinschen [Mon, 19 Dec 2011 17:01:37 +0000 (17:01 +0000)]
* syscalls.cc (rename): Fix typo in comment.  Fix condition to handle
the case oldpath is no .lnk symlink and newpath points to an existing
.lnk symlink or .exe file and no explicit .lnk suffix has been given
in oldpath.  Add a comment to explain.

12 years agoCheck for warning flags without no- prefix
Andreas Schwab [Mon, 19 Dec 2011 13:20:23 +0000 (13:20 +0000)]
Check for warning flags without no- prefix

config/:
* warnings.m4 (ACX_PROG_CC_WARNING_OPTS)
(ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Run the test without the
no- prefix.
libdecnumber/:
* configure: Regenerate.
libiberty/:
* configure: Regenerate.

12 years ago * dcrt0.cc (dll_crt0_0): Check for wincap.wow64_has_secondary_stack
Corinna Vinschen [Mon, 19 Dec 2011 12:50:35 +0000 (12:50 +0000)]
* dcrt0.cc (dll_crt0_0): Check for wincap.wow64_has_secondary_stack
rather than for wincap.is_wow64.  Accommodate name change from
wow64_has_64bit_parent to wow64_needs_stack_adjustment.  Align comment.
(_dll_crt0): Ditto.
* wincap.h (wincaps::wow64_has_secondary_stack): New element.
* wincap.cc: Implement above element throughout.
(wincapc::init): Set wow64_has_secondary_stack to false on non-64 bit
systems.
* wow64.cc (wow64_needs_stack_adjustment): Rename (hopefully the last
time) from wow64_has_64bit_parent.
(wow64_eval_expected_main_stack): Fix comment to reflect real life.
(wow64_test_for_64bit_parent): Fix comment.
* wow64.h (wow64_needs_stack_adjustment): Accommodate new name.

12 years ago2011-12-19 Chung-Lin Tang <cltang@codesourcery.com>
Chung-Lin Tang [Mon, 19 Dec 2011 07:58:02 +0000 (07:58 +0000)]
2011-12-19  Chung-Lin Tang  <cltang@codesourcery.com>

gas/
* config/tc-mips.c (mips_pseudo_table): Add tprelword/tpreldword
entries.
(mips16_percent_op): Add MIPS16 TLS relocation ops.
(md_apply_fix): Add BFD_RELOC_MIPS16_TLS_* switch cases.
(s_tls_rel_directive): Rename from s_dtprel_internal(). Abstract out
directive string and reloc type as function parameters. Update
comments.
(s_dtprelword,s_dtpreldword): Change to use s_tls_rel_directive().
(s_tprelword,s_tpreldword): New functions.

include/
* elf/mips.h (elf_mips_reloc_type): Add R_MIPS16_TLS_* entries.

bfd/
* reloc.c (BFD_RELOC_MIPS16_TLS_GD,BFD_RELOC_MIPS16_TLS_LDM,
BFD_RELOC_MIPS16_TLS_DTPREL_HI16,BFD_RELOC_MIPS16_TLS_DTPREL_LO16,
BFD_RELOC_MIPS16_TLS_GOTTPREL,BFD_RELOC_MIPS16_TLS_TPREL_HI16,
BFD_RELOC_MIPS16_TLS_TPREL_LO16): New relocations for MIPS16 TLS.
* bfd-in2.h (bfd_reloc_code_real): Regenerate.
* libbfd.h (bfd_reloc_code_real_names): Regenerate.
* elf32-mips.c (elf_mips16_howto_table_rel): Add R_MIPS16_TLS_*
entries.
(mips16_reloc_map): Add BFD_RELOC_MIPS16_TLS_* to R_MIPS16_TLS_*
mappings.
* elfn32-mips.c (elf_mips16_howto_table_rel,
elf_mips16_howto_table_rela): Add R_MIPS16_TLS_* entries.
(mips16_reloc_map): Add BFD_RELOC_MIPS16_TLS_* to R_MIPS16_TLS_*
mappings.
* elf64-mips.c (mips16_elf64_howto_table_rel,
mips16_elf64_howto_table_rela): Add R_MIPS16_TLS_* entries.
(mips16_reloc_map): Add BFD_RELOC_MIPS16_TLS_* to R_MIPS16_TLS_*
mappings.
* elfxx-mips.c (TLS_RELOC_P,mips16_reloc_p,
_bfd_mips_elf_check_relocs): Add cases for R_MIPS16_TLS_* relocations.
(tls_gd_reloc_p): Add R_MIPS16_TLS_GD case.
(tls_ldm_reloc_p): Add R_MIPS16_TLS_LDM case.
(tls_gottprel_reloc_p): Add R_MIPS16_TLS_GOTTPREL case.
(mips_elf_calculate_relocation): Add cases for R_MIPS16_TLS_*,
R_MIPS_TLS_DTPREL32/64, and R_MIPS_TLS_TPREL32/64 relocations.

12 years agoclarify entry
Christopher Faylor [Mon, 19 Dec 2011 00:15:24 +0000 (00:15 +0000)]
clarify entry

12 years agolibgloss: bfin: add clear_cache_range support (for gcc)
Michael Frysinger [Sun, 18 Dec 2011 18:41:20 +0000 (18:41 +0000)]
libgloss: bfin: add clear_cache_range support (for gcc)

12 years ago * configure: Regenerate.
Eric Botcazou [Sun, 18 Dec 2011 10:20:52 +0000 (10:20 +0000)]
* configure: Regenerate.
config/
* acx.m4 (Test for GNAT): Update comment and add quotes in final test.

12 years ago* fhandler.cc (fhandler_base::close): Move setting isclosed() from here to
Christopher Faylor [Sun, 18 Dec 2011 04:07:47 +0000 (04:07 +0000)]
* fhandler.cc (fhandler_base::close): Move setting isclosed() from here to
closed().
(fhandler_base_overlapped::close): Correct comment.
(fhandler_base_overlapped::destroy_overlapped): Signal overlapped event before
closing it to potentially wake up a waiting thread.
(fhandler_base_overlapped::wait_overlapped): Expand setting of err when closed
to encompass non-signal event.  Test for a cancel event before making
nonblocking decisions.
* syscalls.cc (close): Set closed flag here so that any concurrently executing
functions will be notified ASAP.

12 years agoClean up whitespace.
Christopher Faylor [Sat, 17 Dec 2011 23:39:47 +0000 (23:39 +0000)]
Clean up whitespace.

12 years ago * dcrt0.cc (_dll_crt0): Fix formatting.
Corinna Vinschen [Sat, 17 Dec 2011 10:24:09 +0000 (10:24 +0000)]
* dcrt0.cc (_dll_crt0): Fix formatting.

12 years ago * wow64.cc (wow64_revert_to_original_stack): Fix comment.
Corinna Vinschen [Sat, 17 Dec 2011 10:05:25 +0000 (10:05 +0000)]
* wow64.cc (wow64_revert_to_original_stack): Fix comment.
* wow64.h (wow64_respawn_process): Declare noreturn.

12 years ago* exceptions.cc (set_signal_mask): Remove useless debugging output.
Christopher Faylor [Sat, 17 Dec 2011 07:01:21 +0000 (07:01 +0000)]
* exceptions.cc (set_signal_mask): Remove useless debugging output.
* fhandler.cc (fhandler_base::write): Ditto.
(fhandler_base_overlapped::close): Cancel any ongoing I/O before closing.
* syscalls.cc (write): Default to always reporting all writes in strace output
via syscall_printf.
* wait.cc (wait4): Fix debugging output.  Use standard syscall leaver output.

12 years agoFix formatting. Fix typo.
Christopher Faylor [Sat, 17 Dec 2011 00:15:31 +0000 (00:15 +0000)]
Fix formatting.  Fix typo.

12 years agoImplement fhandler reference counting.
Christopher Faylor [Sat, 17 Dec 2011 00:03:31 +0000 (00:03 +0000)]
Implement fhandler reference counting.
* cygheap.h
(cygheap_fdmanip::release): Make virtual.
(cygheap_fdnew::~cygheap_fdnew): New destructor increments reference count when
fd has been allocated.
(cygheap_fdget::fh): New (old?) field.
(cygheap_fdget::cygheap_fdget): Increment reference count when we've found an
active fd.  Set fh appropriately.
(cygheap_fdget::~cygheap_fdget): Decrement reference count when appropriate.
Delete fh if reference count goes to zero.
(cygheap_fdget::release): New function.  Do more bookkeping on release.
* dtable.cc (dtable::release): Change from void to boolean return.  Only delete
the fhandler when its reference count is <= 0 (this should be a fairly unusual
case).  Return true if fhandler has been deleted.
(cygwin_attach_handle_to_fd): Increment reference count when fh is assigned.
(dtable::init_std_file_from_handle): Ditto.
* dtable.h (dtable::release): Change return to boolean.
* fhandler.cc (fhandler_base::fhandler_base): Set new isclosed flag to false.
Set _refcnt to zero.
(fhandler_base::close): Simplify paranoid debugging output.  Set new isclosed()
flag.
(fhandler_base_overlapped::wait_overlapped): Use isclosed() flag to avoid
querying the exception handle.
* fhandler.h (fhandler_base::_refcnt): New field.
(fhandler_base::refcnt): New function.
(fhandler_base::isclosed): Implement.
(fhandler_base::fhandler_base): Set isclosed to false.
* syscalls.cc: Remove space after function before parentheses for several
strace printfs.
(dup): Add standard strace "leaver" code.
(dup2): Ditto.
(dup3): Ditto.
(remove): Ditto.
(getpid): Ditto.
(getppid): Ditto.
(lseek64): Fix strace debugging to correctly use %R.
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Avoid sending signals to
other processes if we're debugging since it can cause a deadlock with the
calling debugger.
* exceptions.cc (_cygtls::call_signal_handler): Add debugging-only strace
output.

12 years ago * dcrt0.cc (child_info_fork::alloc_stack): Correctly check if the
Corinna Vinschen [Fri, 16 Dec 2011 18:09:43 +0000 (18:09 +0000)]
* dcrt0.cc (child_info_fork::alloc_stack): Correctly check if the
parent stack fits into the child stack.  Align comment.
* wow64.cc (wow64_eval_expected_main_stack): New function to fetch
expected addresses of main thread stack from PE/COFF image header
values.
(wow64_test_for_64bit_parent): Fix comment.  Check current stack
against real expected main thread stack addresses.
(wow64_revert_to_original_stack): Fix and add comments. Check memory
against real expected main thread stack addresses.  Use orignal stack
if reserved area is >= 256K.

12 years ago* gendef (sigdelayed): Remember to pop all of the saved registers.
Christopher Faylor [Fri, 16 Dec 2011 16:32:25 +0000 (16:32 +0000)]
* gendef (sigdelayed): Remember to pop all of the saved registers.
(sigreturn): Add "leave" label.

12 years ago* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Fix unresolved
Christopher Faylor [Fri, 16 Dec 2011 16:29:34 +0000 (16:29 +0000)]
* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Fix unresolved
access of wores in successful situations.

12 years ago * Makefile.in (DLL_OFILES): Add wow64.o.
Corinna Vinschen [Fri, 16 Dec 2011 11:58:03 +0000 (11:58 +0000)]
* Makefile.in (DLL_OFILES): Add wow64.o.
* dcrt0.cc (CYGWIN_GUARD): Drop execute permission for stack, it's
not used for stacks by the OS either.
(child_info_fork::alloc_stack_hard_way): Ditto.
(child_info_fork::alloc_stack): Don't alloc_stack_hard_way under WOW64
if forked from a 64 bit parent.  Set child's StackBase to parent's
StackBase.  Add comments to explain why.
(wow64_respawn): Move to wow64.cc.
(wow64_started_from_native64): Move to wow64.cc.
(respawn_wow64_process): Move to wow64.cc.
(dll_crt0_0): Drop wow64_test_stack_marker and move stack test into
wow64_test_for_64bit_parent function.  Don't return early if WOW64
process has been started from native 64 bit process.
(_dll_crt0): Implement moving stack for WOW64 processes started from
native 64 bit process.
* wow64.cc: New file.
(wow64_has_64bit_parent): Rename from wow64_respawn.
(wow64_test_for_64bit_parent): Rename from wow64_started_from_native64.
Change comment.
(wow64_revert_to_original_stack): New function.
(wow64_respawn_process): Rename from respawn_wow64_process for symmetry.
* wow64.h: New file.

12 years agobinutils/
Tristan Gingold [Fri, 16 Dec 2011 10:23:01 +0000 (10:23 +0000)]
binutils/
2011-12-16  Tristan Gingold  <gingold@adacore.com>

* od-macho.c: Include mach-o/codesign.h
(OPT_CODESIGN): Define.
(options): Add an entry for codesign.
(mach_o_help): Likewise.
(dump_header): Fix indentation.
(dump_thread): Do not test result of xmalloc.
(bfd_mach_o_cs_magic, bfd_mach_o_cs_hash_type): New.
(dump_code_signature_superblob): New function.
(swap_code_codedirectory_v1_in): Likewise.
(hexdump): Likewise.
(dump_code_signature_codedirectory): Likewise.
(dump_code_signature_blob, dump_code_signature): Likewise.
(dump_load_command): Dump code signature.
(mach_o_dump): Likewise.

include/mach-o/
2011-12-16  Tristan Gingold  <gingold@adacore.com>

* codesign.h: New file.

12 years ago* exceptions.cc (_cygtls::call_signal_handler): Fix debugging to not go to
Christopher Faylor [Fri, 16 Dec 2011 05:27:15 +0000 (05:27 +0000)]
* exceptions.cc (_cygtls::call_signal_handler): Fix debugging to not go to
console.
* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Add temporary kludge
to work around problem of make closing a handler while it is being read.
* gendef (sigdelayed): Don't call a function if sig has been cleared.
* sigproc.h (cygwait): Simplify slightly.

12 years ago2011-12-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 15 Dec 2011 22:59:14 +0000 (22:59 +0000)]
2011-12-15  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.LIBGLOSS: Add GPL with exception license.

12 years ago2011-12-15 Konrad Eisele <konrad@gaisler.com>
Jeff Johnston [Thu, 15 Dec 2011 22:58:40 +0000 (22:58 +0000)]
2011-12-15  Konrad Eisele <konrad@gaisler.com>

        * configure.in: Add SPARC LEON support.
        * configure: Regenerated.
        * sparc_leon/asm-leon/amba.h, sparc_leon/asm-leon/asmmacro.h,
        sparc_leon/asm-leon/clock.h, sparc_leon/asm-leon/contextswitch.h,
        sparc_leon/asm-leon/elfmacro.h, sparc_leon/asm-leon/head.h,
        sparc_leon/asm-leon/irq.h, sparc_leon/asm-leon/jiffies.h,
        sparc_leon/asm-leon/lambapp.h, sparc_leon/asm-leon/lambapp_devs.h,
        sparc_leon/asm-leon/leon.h, sparc_leon/asm-leon/leon3.h,
        sparc_leon/asm-leon/leonbare_debug.h, sparc_leon/asm-leon/leonbare_kernel.h,
        sparc_leon/asm-leon/leonbare_kernel_queue.h, sparc_leon/asm-leon/leoncompat.h,
        sparc_leon/asm-leon/leondbg.h, sparc_leon/asm-leon/leonstack.h,
        sparc_leon/asm-leon/liblocks.h, sparc_leon/asm-leon/linkage.h,
        sparc_leon/asm-leon/param.h, sparc_leon/asm-leon/queue.h,
        sparc_leon/asm-leon/spinlock.h, sparc_leon/asm-leon/stack.h,
        sparc_leon/asm-leon/time.h, sparc_leon/asm-leon/timer.h,
        sparc_leon/asm-leon/types.h, sparc_leon/asm-leon/winmacros.h:
        New file.
        * sparc_leon/Makefile.in, sparc_leon/_exit.c,
        sparc_leon/amba.c, sparc_leon/amba_dbg.c,
        sparc_leon/amba_driver.c, sparc_leon/amba_scan.c,
        sparc_leon/asm-leon, sparc_leon/bdinit.S,
        sparc_leon/busscan.S, sparc_leon/cacheA.S,
        sparc_leon/catch_interrupt.c, sparc_leon/catch_interrupt_mvt.c,
        sparc_leon/catch_interrupt_pending.c, sparc_leon/catch_interrupt_svt.c,
        sparc_leon/configure.in,
        sparc_leon/console.c, sparc_leon/console_dbg.c,
        sparc_leon/console_init.c, sparc_leon/contextswitch.c,
        sparc_leon/contextswitch_asm.S, sparc_leon/crt0.S,
        sparc_leon/crti.S, sparc_leon/crtn.S,
        sparc_leon/etrap.S, sparc_leon/etrap_fast.S,
        sparc_leon/fpu.S, sparc_leon/gettimeofday.c,
        sparc_leon/initcalls.c, sparc_leon/io.c,
        sparc_leon/irqinstall.S, sparc_leon/irqtrap.S,
        sparc_leon/irqtrap_fast.S, sparc_leon/jiffies.c,
        sparc_leon/kernel.c, sparc_leon/kernel_context.S,
        sparc_leon/kernel_debug.c, sparc_leon/kernel_debug_var.c,
        sparc_leon/kernel_mm.c, sparc_leon/kernel_mutex.c,
        sparc_leon/kernel_queue.c, sparc_leon/kernel_sched.c,
        sparc_leon/kernel_thread.c, sparc_leon/lcpuinit.S,
        sparc_leon/locore.S, sparc_leon/locore_atexit.c,
        sparc_leon/locore_clean.S, sparc_leon/locore_mvt.S,
        sparc_leon/locore_mvt_reset.S, sparc_leon/locore_svt.S,
        sparc_leon/locore_svt_reset.S, sparc_leon/locore_svtdisp.S,
        sparc_leon/locore_var.S, sparc_leon/locore_var_svt.S,
        sparc_leon/mmu_asm.S, sparc_leon/mutex.c,
        sparc_leon/nocache.S, sparc_leon/pnpinit.c,
        sparc_leon/pnpinit_malloc.c, sparc_leon/pnpinit_simple.c,
        sparc_leon/regwin.S, sparc_leon/regwin_patch.c,
        sparc_leon/regwin_slow.S, sparc_leon/regwinflush.S,
        sparc_leon/rtc.c, sparc_leon/rtrap.S,
        sparc_leon/rtrap_fast.S, sparc_leon/stop.S,
        sparc_leon/timer.c, sparc_leon/times.c:
        New file
        * sparc_leon/configure: Regenerate

12 years ago Don't leave Windows 2000 behind.
Corinna Vinschen [Wed, 14 Dec 2011 20:23:27 +0000 (20:23 +0000)]
Don't leave Windows 2000 behind.

* autoload.cc (GetSystemWow64DirectoryW): Define.
(GetVolumePathNamesForVolumeNameW): Define.
* fhandler_process.cc (get_volume_path_names_for_volume_name): New
static function to workaround missing GetVolumePathNamesForVolumeNameW
function in Windows 2000.
(dos_drive_mappings::dos_drive_mappings): Call
get_volume_path_names_for_volume_name instead of
GetVolumePathNamesForVolumeNameW.

12 years agobfd/
Tristan Gingold [Wed, 14 Dec 2011 10:30:09 +0000 (10:30 +0000)]
bfd/
2011-12-14  Iain Sandoe  <iains@gcc.gnu.org>

* mach-o-i386.c (text_section_names_xlat): New table.
(data_section_names_xlat): Likewise.
(import_section_names_xlat): Likewise.
(mach_o_i386_segsec_names_xlat): Likewise.
(bfd_mach_o_tgt_seg_table): Use new tables.
* mach-o-x86-64.c (bfd_mach_o_tgt_seg_table): Set NULL.
* mach-o.c (mach_o_section_name_xlat, mach_o_segment_name_xlat):
Move to mach-o.h as   typedefs.
(text_section_names_xlat): Update for current GCC usage.
(data_section_names_xlat): Likewise.
(dwarf_section_names_xlat): Likewise.
(objc_section_names_xlat): New table.
(segsec_names_xlat): Add objc table.
(bfd_mach_o_normalize_section_name):  Replace with...
(bfd_mach_o_section_data_for_mach_sect): New.
(bfd_mach_o_section_data_for_bfd_name): New.
(bfd_mach_o_section_data_for_bfd_name): Update to use additional data.
(bfd_mach_o_convert_section_name_to_mach_o): Likewise.
(bfd_mach_o_bfd_copy_private_section_data): Implement.
(bfd_mach_o_write_symtab): Write a zero-length string as the first entry
for compatibility with system tools.
(bfd_mach_o_build_commands): Update section alignment info.
(bfd_mach_o_new_section_hook): Use translation table data to define
default section flags, type, attributes and alignment, when available.
(bfd_mach_o_init_section_from_mach_o): Add TODO comment.
(bfd_mach_o_section_type_name): Add 'symbol_stubs'.
(bfd_mach_o_section_attribute_name): Add 'self_modifying_code'.
(bfd_mach_o_get_section_type_from_name): Change "not-found" return
value.
(bfd_mach_o_tgt_seg_table): Set default NULL.
* mach-o.h (bfd_mach_o_segment_command):  Use define for name length.
(bfd_mach_o_backend_data): Move until after contents are defined.
(bfd_mach_o_normalize_section_name): Remove.
(bfd_mach_o_convert_section_name_to_bfd): Declare.
(mach_o_section_name_xlat): Declare.
(mach_o_segment_name_xlat): Declare.
(bfd_mach_o_section_data_for_mach_sect): Declare.
(bfd_mach_o_section_data_for_bfd_name): Declare.

include/
2011-12-14  Iain Sandoe  <iains@gcc.gnu.org>

* mach-o/loader.h (bfd_mach_o_section_type): define
BFD_MACH_O_S_ATTR_NONE to 0.

gas/
2011-12-14  Iain Sandoe  <iains@gcc.gnu.org>

* config/obj-macho.c: Add some more top-level comments.
(collect_16char_name): New.
(obj_mach_o_section): Amend to allow syntax compatible with existing system
tools.  Use section translation data when available.
(obj_mach_o_segT_from_bfd_name): New.
(known_sections): Update.
(obj_mach_o_known_section): Use obj_mach_o_segT_from_bfd_name.
(objc_sections): New.
(obj_mach_o_objc_section): New.
(debug_sections): New.
(obj_mach_o_debug_section): New.
(tgt_sections): New.
(obj_mach_o_opt_tgt_section): New.
(obj_mach_o_base_section): New.
(obj_mach_o_common_parse): Update to create BSS on demand and to handle
lcomm optional alignment param.
(obj_mach_o_comm): Update parameter name.
(obj_mach_o_placeholder): New.
(mach_o_pseudo_table): Update for GCC section directives.
* config/obj-macho.h (_OBJ_MACH_O_H): New.
(USE_ALIGN_PTWO): Define.
(S_SET_ALIGN) Define.

12 years ago2011-12-13 Richard Earnshaw <rearnsha@arm.com>
Jeff Johnston [Tue, 13 Dec 2011 22:45:12 +0000 (22:45 +0000)]
2011-12-13  Richard Earnshaw  <rearnsha@arm.com>
            Thomas Klein  <th.r.klein@web.de>

        * arm/crt0.S: Manually set the target architecture
        when compiling for Thumb1 on EABI targets.
        Avoid v6-only Thumb-1 MOV instruction.

This page took 0.069923 seconds and 5 git commands to generate.