]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
13 years ago[sim/rx]
DJ Delorie [Wed, 28 Jul 2010 21:58:22 +0000 (21:58 +0000)]
[sim/rx]
* README.txt: New.
* config.h (CYCLE_ACCURATE, CYCLE_STATS): New.
* configure.in (--enable-cycle-accurate, --enable-cycle-stats):
New.  Default to enabled.
* configure: Regenerate.

* cpu.h (regs_type): Add cycle tracking info.
(reset_pipeline_stats): Declare.
(halt_pipeline_stats): Declare.
(pipeline_stats): Declare.
* main.c (done): Call pipeline_stats().
* mem.h (rx_mem_ptr): Moved to here ...
* mem.c (mem_ptr): ... from here.  Rename throughout.
(mem_put_byte): Move LEDs to Port A.  Add Port B to control cycle
statistics.  Move UART to SCI4.
(mem_put_hi): Add TPU 1-2.  TPU 1 and 2 count CPU cycles.
* reg.c (init_regs): Set Rt reg to -1 (no reg).
* rx.c: Add cycle counting and statistics throughout.
(rx_get_byte): Optimize for speed.
(decode_opcode): Likewise.
(reset_pipeline_stats): New.
(halt_pipeline_stats): New.
(pipeline_stats): New.
* trace.c (sim_disasm_one): Print cycle count.

[include/opcode]
* rx.h (RX_Opcode_ID): Add nop2 and nop3 for statistics.

13 years ago * setup-net.sgml, faq-setup.xml: Rename setup.exe's "Partial"
Andy Koppe [Mon, 26 Jul 2010 22:56:24 +0000 (22:56 +0000)]
* setup-net.sgml, faq-setup.xml: Rename setup.exe's "Partial"
view to "Pending"

14 years agoAccept that mingwrt headers are not guaranteed to precede GCC's in the system include...
Keith Marshall [Sun, 25 Jul 2010 20:20:46 +0000 (20:20 +0000)]
Accept that mingwrt headers are not guaranteed to precede GCC's in the system include search path; (issue reported by Mark Brand).

14 years ago2010-07-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 24 Jul 2010 03:01:20 +0000 (03:01 +0000)]
2010-07-22  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/kernel32.def(FatalExit): Correct definiton.

14 years agoFix latest changelog entry to not refer to libgloss directory.
Jeff Johnston [Fri, 23 Jul 2010 18:12:53 +0000 (18:12 +0000)]
Fix latest changelog entry to not refer to libgloss directory.

14 years ago2010-07-23 Naveen.H.S <naveenh1@kpitcummins.com>
Jeff Johnston [Fri, 23 Jul 2010 18:11:27 +0000 (18:11 +0000)]
2010-07-23  Naveen.H.S  <naveenh1@kpitcummins.com>
            Gina Verlekar <gina.verlekar@kpitcummins.com>

        * configure.host: Compact v850* support and add
        check for newlib_may_supply_syscalls.
        * libc/sys/sysnecv850/Makefile.am: Add support for
        '--disable-newlib-supplied-syscalls' option.
        * libc/sys/sysnecv850/Makefile.in: Regenerated.

14 years ago2010-07-23 Naveen.H.S <naveenh1@kpitcummins.com>
Jeff Johnston [Fri, 23 Jul 2010 17:52:37 +0000 (17:52 +0000)]
2010-07-23  Naveen.H.S  <naveenh1@kpitcummins.com>
            Gina Verlekar <gina.verlekar@kpitcummins.com>

        Moving files from libc/sys/sysnecv850 to libgloss/v850

        * libgloss/libnosys/configure: Regenerated.
        * libgloss/libnosys/configure.in: Compact v850 support to v850*-*-*.
        * libgloss/libnosys/configure: Regenerated.
        * libgloss/configure.in: Add libgloss support for v850.
        * libgloss/configure: Regenerated.
        * libgloss/v850/access.c: New file.
        * libgloss/v850/aclocal.m4: New.
        * libgloss/v850/chmod.c: New.
        * libgloss/v850/chown.c: New.
        * libgloss/v850/close.c: New.
        * libgloss/v850/configure: New.
        * libgloss/v850/configure.in: New.
        * libgloss/v850/crt0.S: New.
        * libgloss/v850/crt1.c: New.
        * libgloss/v850/execv.c: New.
        * libgloss/v850/execve.c: New.
        * libgloss/v850/_exit.c: New.
        * libgloss/v850/fork.c: New.
        * libgloss/v850/fstat.c: New.
        * libgloss/v850/getpid.c: New.
        * libgloss/v850/gettime.c: New.
        * libgloss/v850/isatty.c: New.
        * libgloss/v850/kill.c: New.
        * libgloss/v850/link.c: New.
        * libgloss/v850/lseek.c: New.
        * libgloss/v850/Makefile.in: New.
        * libgloss/v850/open.c: New.
        * libgloss/v850/pipe.c: New.
        * libgloss/v850/read.c: New.
        * libgloss/v850/sbrk.c: New.
        * libgloss/v850/sim.ld: New.
        * libgloss/v850/stat.c: New.
        * libgloss/v850/time.c: New.
        * libgloss/v850/times.c: New.
        * libgloss/v850/trap.S: New.
        * libgloss/v850/unlink.c: New.
        * libgloss/v850/utime.c: New.
        * libgloss/v850/wait.c: New.
        * libgloss/v850/write.c: New.

14 years agoAdd support for v850E2 and v850E2V3
Nick Clifton [Fri, 23 Jul 2010 14:52:53 +0000 (14:52 +0000)]
Add support for v850E2 and v850E2V3

14 years ago * fhandler.cc (fhandler_base::raw_write): Remove STATUS_DISK_FULL
Corinna Vinschen [Fri, 23 Jul 2010 10:08:34 +0000 (10:08 +0000)]
* fhandler.cc (fhandler_base::raw_write): Remove STATUS_DISK_FULL
special handling.

14 years ago2010-07-22 Ozkan Sezer <sezero@users.sourceforge.net>
Chris Sutcliffe [Fri, 23 Jul 2010 02:16:28 +0000 (02:16 +0000)]
2010-07-22  Ozkan Sezer  <sezero@users.sourceforge.net>

        * include/io.h (_findfirst, _findnext, _findclose, _findfirst32,
        _findnext32, _findfirsti64, _findnexti64, _findfirst32i64, _findfirst64i32,
        _findnext32i64, _findnext64i32, _findnext64, _findfirst, _findnext,
        _findfirsti64, _findnexti64, _findfirst, _findnext, _findfirsti64,
        _findnexti64): Correct definition.

14 years ago2010-07-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Thu, 22 Jul 2010 10:47:30 +0000 (10:47 +0000)]
2010-07-22  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/basetyps.h (REFGUID, REFIID, REFCLSID, REFFMTID): Revert change
        from 2010-07-17 since it breaks several applications.

14 years ago2010-07-21 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Thu, 22 Jul 2010 03:10:28 +0000 (03:10 +0000)]
2010-07-21  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/kernel32.def: Regenerate using gendef.

14 years ago * dump_setup.cc (tfx_chars): New WCHAR array, copied from Cygwin.
Corinna Vinschen [Wed, 21 Jul 2010 10:30:53 +0000 (10:30 +0000)]
* dump_setup.cc (tfx_chars): New WCHAR array, copied from Cygwin.
(transform_chars): New function, copied from Cygwin.
(simple_nt_stat): New function to check file existance using native
NT function.  Explain why.
(directory_exists): Call simple_nt_stat.
(file_exists): Ditto.

14 years ago2010-07-20 Ozkan Sezer <sezero@users.sourceforge.net>
Chris Sutcliffe [Tue, 20 Jul 2010 18:17:52 +0000 (18:17 +0000)]
2010-07-20  Ozkan Sezer  <sezero@users.sourceforge.net>

        * include/commctrl.h (LVIF_GROUPID): Fix definition.

2010-07-20  Michael James  <james.me@gmail.com>

        * include/commctrl.h (LVIF_COLUMNS): Fix definition.

14 years agoinclude/elf/
Alan Modra [Tue, 20 Jul 2010 14:08:30 +0000 (14:08 +0000)]
include/elf/
* internal.h (ELF_TBSS_SPECIAL): New macro, extracted from..
(ELF_SECTION_SIZE): ..here.
(ELF_SECTION_IN_SEGMENT_1): Add "strict" arg.
(ELF_SECTION_IN_SEGMENT_STRICT): New macro.
bfd/
* elf.c (assign_file_positions_for_load_sections): Check that
zero size sections are allocated in segments too.
(assign_file_positions_for_non_load_sections): Warn if zero
size alloc sections are found here.
(copy_elf_program_header): Don't drop zero size sections from
segment map.
(copy_private_bfd_data): Check for changes in zero size sections.
binutils/
* readelf.c (process_program_headers): Don't ignore all zero size
sections.
ld/testsuite/
* ld-powerpc/tlsexe.r: Update.
* ld-powerpc/tlsexetoc.r: Update.
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.r: Update.

14 years ago * libm/common/fdlibm.h (SAFE_LEFT_SHIFT): New macro definition.
Dave Korn [Tue, 20 Jul 2010 01:33:05 +0000 (01:33 +0000)]
* libm/common/fdlibm.h (SAFE_LEFT_SHIFT): New macro definition.
(SAFE_RIGHT_SHIFT): Likewise.
* libm/common/s_llround.c (llround): Annotate shift operations with
possible shift amount ranges, and use SAFE_RIGHT_SHIFT to avoid
undefined behaviour.
* libm/common/s_lround.c (lround): Likewise.

14 years ago2010-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Tue, 20 Jul 2010 00:18:31 +0000 (00:18 +0000)]
2010-07-17  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winnt.h (HEAP_MAKE_TAG_FLAGS, VALID_INHERIT_FLAGS): Correct
        definition.
        * include/rpcndr.h (NdrUnMarshConfStringHdr, NdrUnMarshCCtxtHdl,
        NdrMarshSCtxtHdl): Ditto.
        * include/basetyps.h (REFGUID, REFIID, REFCLSID, REFFMTID): Remove macro
        definition in favour of typedef definition.

        Thank you to Yuta Tomino for reporting the issues.

14 years agoDocument mkostemp and mkostemps.
Eric Blake [Mon, 19 Jul 2010 18:25:41 +0000 (18:25 +0000)]
Document mkostemp and mkostemps.

* textbinary.sgml (textbin-devel): Document temp file behavior.
(textbin-issue): Use sed rather than cat as an example of a
default-mode application.
* new-features.sgml (ov-new1.7.6): Document mkostemp[s].

14 years agoAdd mkostemp and mkostemps.
Eric Blake [Mon, 19 Jul 2010 18:22:40 +0000 (18:22 +0000)]
Add mkostemp and mkostemps.

* mktemp.cc (_gettemp): Add flags argument.  All callers updated.
(mkostemp, mkostemps): New functions.
* cygwin.din (mkostemp, mkostemps): Export.
* posix.sgml: Document them.
* include/cygwin/version.h: Bump version.

14 years agoAdd mkostemp and mkostemps.
Eric Blake [Mon, 19 Jul 2010 18:21:11 +0000 (18:21 +0000)]
Add mkostemp and mkostemps.

* libc/stdio/mktemp.c (_gettemp): Add parameter, all callers
changed.
(mkostemp, _mkostemp_r, mkostemps, _mkostemps_r): New interfaces,
for ELIX level 4.
* libc/include/stdlib.h (mktemp): Avoid namespace issues.
(mkostemp, mkostemps): Declare.

14 years ago * m68k/cf-crt1.c (hardware_init_hook): Accommodate new family
Corinna Vinschen [Mon, 19 Jul 2010 16:57:18 +0000 (16:57 +0000)]
* m68k/cf-crt1.c (hardware_init_hook): Accommodate new family
__mcf_family_51 since gcc 4.5.1.

14 years ago* autoload.cc (noload): Use "pushl" rather than "push".
Christopher Faylor [Sun, 18 Jul 2010 20:14:51 +0000 (20:14 +0000)]
* autoload.cc (noload): Use "pushl" rather than "push".

14 years ago* exceptions.cc (_cygtls::interrupt_now): Avoid nonsensical tests which delay
Christopher Faylor [Sun, 18 Jul 2010 20:13:26 +0000 (20:13 +0000)]
* exceptions.cc (_cygtls::interrupt_now): Avoid nonsensical tests which delay
an interrupt.
(setup_handler): Remove unneeded DEBUGGING handling.  Ensure that stack is
locked when we are about to do push/pop to it.  Fix debugging output.

14 years ago* gendef: Throughout, remove lock from xchgl since it is implied.
Christopher Faylor [Sun, 18 Jul 2010 20:10:22 +0000 (20:10 +0000)]
* gendef: Throughout, remove lock from xchgl since it is implied.
(__ZN7_cygtls3popEv): Avoid potential (but probably nonexistent) race when
clearing element after pop.

14 years ago2010-07-17 Jack Howarth <howarth@bromo.med.uc.edu>
Paolo Bonzini [Sun, 18 Jul 2010 08:12:40 +0000 (08:12 +0000)]
2010-07-17  Jack Howarth  <howarth@bromo.med.uc.edu>

PR target/44862
* Makefile.tpl (POSTSTAGE1_CXX_EXPORT):
Provide -B option to allow for link spec %s substitutions for
libstdc++.a on darwin.
* Makefile.in: Regenerate.

14 years ago * wincap.cc (wincap_7): Set needs_count_in_si_lpres2 to false.
Corinna Vinschen [Thu, 15 Jul 2010 08:00:52 +0000 (08:00 +0000)]
* wincap.cc (wincap_7): Set needs_count_in_si_lpres2 to false.

14 years ago * libc/include/signal.h (sighandler_t): Only define if _POSIX_SOURCE
Corinna Vinschen [Tue, 13 Jul 2010 11:18:55 +0000 (11:18 +0000)]
* libc/include/signal.h (sighandler_t): Only define if _POSIX_SOURCE
is undefined.

14 years ago2010-07-08 Markus Koenig <basilo@users.sourceforge.net>
Chris Sutcliffe [Thu, 8 Jul 2010 23:14:54 +0000 (23:14 +0000)]
2010-07-08  Markus Koenig  <basilo@users.sourceforge.net>

        * include/gdiplus.h: New file.
        * include/gdiplus/gdiplus.h: New file.
        * include/gdiplus/gdiplusbase.h: New file.
        * include/gdiplus/gdiplusbrush.h: New file.
        * include/gdiplus/gdipluscolor.h: New file.
        * include/gdiplus/gdipluscolormatrix.h: New file.
        * include/gdiplus/gdipluseffects.h: New file.
        * include/gdiplus/gdiplusenums.h: New file.
        * include/gdiplus/gdiplusflat.h: New file.
        * include/gdiplus/gdiplusgpstubs.h: New file.
        * include/gdiplus/gdiplusgraphics.h: New file.
        * include/gdiplus/gdiplusheaders.h: New file.
        * include/gdiplus/gdiplusimageattributes.h: New file.
        * include/gdiplus/gdiplusimagecodec.h: New file.
        * include/gdiplus/gdiplusimaging.h: New file.
        * include/gdiplus/gdiplusimpl.h: New file.
        * include/gdiplus/gdiplusinit.h: New file.
        * include/gdiplus/gdipluslinecaps.h: New file.
        * include/gdiplus/gdiplusmatrix.h: New file.
        * include/gdiplus/gdiplusmem.h: New file.
        * include/gdiplus/gdiplusmetafile.h: New file.
        * include/gdiplus/gdiplusmetaheader.h: New file.
        * include/gdiplus/gdipluspath.h: New file.
        * include/gdiplus/gdipluspen.h: New file.
        * include/gdiplus/gdipluspixelformats.h: New file.
        * include/gdiplus/gdiplusstringformat.h: New file.
        * include/gdiplus/gdiplustypes.h: New file.
        * lib/gdiplus.c: New file containing GDI+ variable definitions
        and GUIDs.
        * lib/gdiplus.def: New file.
        * lib/Makefile.in: Add gdiplus.o to EXTRA_OBJS,
        add gdiplus.c to SOURCES.
        * lib/test.c: Include gdiplus.h.

14 years ago * syscalls.cc (unlink_nt): Disable try_to_bin for netapp drives.
Corinna Vinschen [Wed, 7 Jul 2010 07:53:22 +0000 (07:53 +0000)]
* syscalls.cc (unlink_nt): Disable try_to_bin for netapp drives.
Explain why.

14 years ago * libc/posix/rewinddir.c (rewinddir): Remove incorrect cast to off_t.
Corinna Vinschen [Tue, 6 Jul 2010 15:23:27 +0000 (15:23 +0000)]
* libc/posix/rewinddir.c (rewinddir): Remove incorrect cast to off_t.
* libc/sys/rtems/sys/dirent.h (_seekdir): Add prototype.
* libc/sys/linux/sys/dirent.h (_seekdir): Fix prototype to use long
rather than off_t.

14 years agoinclude/ChangeLog:
Ulrich Weigand [Tue, 6 Jul 2010 12:56:24 +0000 (12:56 +0000)]
include/ChangeLog:

2010-07-06  Ken Werner  <ken.werner@de.ibm.com>

* floatformat.h (floatformat_ieee_half_big): Add declaration.
(floatformat_ieee_half_little): Likewise.

libiberty/ChangeLog:

2010-07-06  Ken Werner  <ken.werner@de.ibm.com>

* floatformat.c (floatformat_ieee_half_big): New variable.
(floatformat_ieee_half_little): Likewise.

gdb/ChangeLog:

2010-07-06  Ken Werner  <ken.werner@de.ibm.com>

* gdbtypes.h (floatformats_ieee_half): Add declaration.
* gdbtypes.c (floatformats_ieee_half): New variable.
* doublest.c (floatformat_from_length): Set format to
gdbarch_half_format if length matches.
* gdbarch.sh (half_bit): New architecture method.
(half_format): Likewise.
* gdbarch.h: Regenerate.
* gdbarch.c: Likewise.

14 years ago gas/
Maciej W. Rozycki [Tue, 6 Jul 2010 00:02:44 +0000 (00:02 +0000)]
gas/
* config/tc-mips.c (nops_for_insn_or_target): Replace
MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
MIPS16_INSN_COND_BRANCH.

include/opcode/
* mips.h (MIPS16_INSN_UNCOND_BRANCH): New macro.
(MIPS16_INSN_BRANCH): Rename to...
(MIPS16_INSN_COND_BRANCH): ... this.

opcodes/
* mips-dis.c (print_mips16_insn_arg): Remove branch instruction
type and delay slot determination.
(print_insn_mips16): Extend branch instruction type and delay
slot determination to cover all instructions.
* mips16-opc.c (BR): Remove macro.
(UBR, CBR): New macros.
(mips16_opcodes): Update branch annotation for "b", "beqz",
"bnez", "bteqz" and "btnez".  Add branch annotation for "jalrc"
and "jrc".

14 years ago Align seekdir and telldir API to POSIX definition.
Corinna Vinschen [Mon, 5 Jul 2010 16:59:56 +0000 (16:59 +0000)]
Align seekdir and telldir API to POSIX definition.
* Makefile.in (NEW_FUNCTIONS): Remove seekdir and telldir mappings.
* dir.cc (telldir): Move functionality from telldir64 here.  Use
long, rather than _off_t.
(telldir64): Just call telldir.  Only keep for backward compatibility.
(seekdir): Move functionality from seekdir64 here.  Use long, rather
than _off_t.
(seekdir64): Just call seekdir.  Only keep for backward compatibility.
* fhandler.h: Throughout, change prototypes of seekdir and telldir
methods to use long, rather than _off64_t.
* fhandler_disk_file.cc: Change aforementioned methods accordingly.
* fhandler_netdrive.cc: Ditto.
* fhandler_registry.cc: Ditto.
* fhandler_virtual.cc: Ditto.
* include/sys/dirent.h (struct __DIR): Change __d_position from
_off_t to long to reflect API change.
(telldir): Change prototype to use long, rather than off_t.
(seekdir): Ditto.

14 years ago* ldd.cc: Clean up formatting throughout.
Christopher Faylor [Mon, 5 Jul 2010 16:24:24 +0000 (16:24 +0000)]
* ldd.cc: Clean up formatting throughout.
(head): Move earlier.
(saw_file): Ditto.
(print_dlls): Reset head here.  Record seen dll names so they will not
potentially be printed later.
(process_file): Remove clearing of head here.

14 years ago * dump_setup.cc (dump_file): Read requested content from setup.rc
Corinna Vinschen [Mon, 5 Jul 2010 12:28:48 +0000 (12:28 +0000)]
* dump_setup.cc (dump_file): Read requested content from setup.rc
file created by newer setup.exe.

14 years ago* path.cc (path_conv::check): Move fs-specific settings to a point where we
Christopher Faylor [Sun, 4 Jul 2010 17:12:27 +0000 (17:12 +0000)]
* path.cc (path_conv::check): Move fs-specific settings to a point where we
know that we have filled out the filesystem information.
* path.h (path_conv::path_conv): Use consistent initialization for
constructors.
* include/sys/cygwin.h: Define CW_STRERROR.
* include/cygwin/version.h: Bump CYGWIN_VERSION_API_MINOR to 228.
* include/external.h: Implement CW_STRERROR.

14 years agoinclude/opcode/
Alan Modra [Sat, 3 Jul 2010 06:51:53 +0000 (06:51 +0000)]
include/opcode/
* ppc.h (PPC_OPCODE_32, PPC_OPCODE_BOOKE64, PPC_OPCODE_CLASSIC): Delete.
Renumber other PPC_OPCODE defines.
gas/
* config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
(ppc_setup_opcodes): Likewise.  Simplify opcode selection.
opcodes/
* ppc-dis.c (ppc_opts, powerpc_init_dialect): Remove old opcode flags.
* ppc-opc.c (PPC32, POWER32, COM32, CLASSIC): Delete.
(PPC64, MFDEC2): Update.
(NON32, NO371): Define.
(powerpc_opcode): Update to not use old opcode flags, and avoid
-m601 duplicates.

14 years ago * ppc.h (PPC_OPCODE_COMMON): Expand comment.
Alan Modra [Sat, 3 Jul 2010 03:32:50 +0000 (03:32 +0000)]
* ppc.h (PPC_OPCODE_COMMON): Expand comment.

14 years ago * net.cc (cygwin_getsockopt): Make sure SO_PEERCRED is only handled
Corinna Vinschen [Fri, 2 Jul 2010 14:36:43 +0000 (14:36 +0000)]
* net.cc (cygwin_getsockopt): Make sure SO_PEERCRED is only handled
in level SOL_SOCKET.  Workaround a return value regression in Vista
and later.  Add comment to explain.

14 years agosync config/ChangeLog with gcc
Paolo Bonzini [Fri, 2 Jul 2010 12:15:53 +0000 (12:15 +0000)]
sync config/ChangeLog with gcc

14 years ago * gc++filt.m4: New file.
Rainer Orth [Fri, 2 Jul 2010 11:58:19 +0000 (11:58 +0000)]
* gc++filt.m4: New file.

14 years agoFix email address
Corinna Vinschen [Thu, 1 Jul 2010 19:04:28 +0000 (19:04 +0000)]
Fix email address

14 years ago * libc/include/signal.h (sighandler_t): Add typedef.
Corinna Vinschen [Thu, 1 Jul 2010 08:50:17 +0000 (08:50 +0000)]
* libc/include/signal.h (sighandler_t): Add typedef.

14 years ago2010-06-29 Antony King <antony.king@sr.com>
Corinna Vinschen [Thu, 1 Jul 2010 08:45:52 +0000 (08:45 +0000)]
2010-06-29  Antony King  <antony.king@sr.com>

* libc/ctype/ctype_.c (__ctype_ptr): Reinstate definition (guarded by
_NEED_OLD_CTYPE_PTR_DEFINITION) for backwards compatibility with newlib
1.16.0 and earlier.

2010-06-28  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>

* libc/include/sys/stat.h: Add ACCESSPERMS, ALLPERMS, and DEFFILEMODE.

14 years ago2010-06-28 Rick Rankin <rrankin1424-mingw@yahoo.com>
Chris Sutcliffe [Tue, 29 Jun 2010 23:17:40 +0000 (23:17 +0000)]
2010-06-28 Rick Rankin <rrankin1424-mingw@yahoo.com>

        * include/psapi.h (PROCESS_MEMORY_COUNTERS_EX, PERFORMANCE_INFORMATION,
        GetPerformanceInfo): Define.
        * lib/psapi.def (GetPerformanceInfo): Define.
        * include/wincrypt.h (CryptEnumProvidersA, CryptEnumProvidersW,
        CryptEnumProviders): Define.

14 years ago * utils.sgml (locale): Change stray local cygdrive prefix to Cygwin's
Corinna Vinschen [Tue, 29 Jun 2010 15:12:52 +0000 (15:12 +0000)]
* utils.sgml (locale): Change stray local cygdrive prefix to Cygwin's
default.

14 years ago * spawn.cc (spawn_guts): Reinstantiate a FIXME comment.
Corinna Vinschen [Tue, 29 Jun 2010 10:37:23 +0000 (10:37 +0000)]
* spawn.cc (spawn_guts): Reinstantiate a FIXME comment.

14 years ago * exceptions.cc (dump_exception): Use %W instead of %s for printing
Corinna Vinschen [Tue, 29 Jun 2010 10:28:40 +0000 (10:28 +0000)]
* exceptions.cc (dump_exception): Use %W instead of %s for printing
progname.
* fork.cc (frok::parent): Fix typos in debug output.
* spawn.cc (spawn_guts): Copy wide Win32 filename into _pinfo::progname,
rather than native NT name.

14 years ago * xstormy16/eva_app.ld (.gcc_except_table): Include sections with
Nick Clifton [Tue, 29 Jun 2010 09:39:30 +0000 (09:39 +0000)]
    * xstormy16/eva_app.ld (.gcc_except_table): Include sections with
        the .gcc_except_table. prefix.
        * xstormy16/eva_stub.ld: Likewise.
        * xstormy16/sim_high.ld: Likewise.
        * xstormy16/sim_low.ld: Likewise.

14 years agoremove maxq-coff port
Alan Modra [Tue, 29 Jun 2010 04:17:27 +0000 (04:17 +0000)]
remove maxq-coff port

14 years ago* fork.cc (frok::parent): Improve error message.
Christopher Faylor [Mon, 28 Jun 2010 18:32:12 +0000 (18:32 +0000)]
* fork.cc (frok::parent): Improve error message.

14 years ago* Makefile.in: Use "xmlto pdf" instead of docbook2pdf.
Yaakov Selkowitz [Sun, 27 Jun 2010 21:32:19 +0000 (21:32 +0000)]
* Makefile.in: Use "xmlto pdf" instead of docbook2pdf.
Force the dblatex backend, as the default passivetex does not work.
* README: Replace docbook-utils dependency with dblatex.
Update required docbook-xml version.
* faq-programming.xml: Ditto.

14 years ago* setup-net.sgml: Add a paragraph describing now to avoid unintentional
Christopher Faylor [Sat, 26 Jun 2010 16:08:46 +0000 (16:08 +0000)]
* setup-net.sgml: Add a paragraph describing now to avoid unintentional
upgrades.

14 years agoinclude/elf/
Alan Modra [Fri, 25 Jun 2010 05:20:56 +0000 (05:20 +0000)]
include/elf/
* ppc64.h (R_PPC64_LO_DS_OPT): Define.
bfd/
* elf64-ppc.c (toc_skip_enum): Define.
(ppc64_elf_edit_toc): Use two low bits of skip array as markers.
Optimize largetoc sequences.
(adjust_toc_syms): Update for skip array change.
(ppc64_elf_relocate_section): Handle R_PPC64_LO_DS_OPT.
ld/
* emultempl/ppc64elf.em (prelim_size_sections): New function.
(ppc_before_allocation): Use it.  Size sections before toc edit too.

14 years agoAdd "acc" register. Revise register order and names.
Kevin Buettner [Thu, 24 Jun 2010 20:38:05 +0000 (20:38 +0000)]
Add "acc" register.  Revise register order and names.

14 years ago * flock.cc (allow_others_to_sync): Use small stack buffer rather
Corinna Vinschen [Tue, 22 Jun 2010 14:53:05 +0000 (14:53 +0000)]
* flock.cc (allow_others_to_sync): Use small stack buffer rather
than big temp buffer.  Fix typo in comment.
(lf_setlock): Revert to using tmp_pathbuf.
(lf_getlock): Ditto.

14 years ago * sec_acl.cc (setacl): Use the long time unused ACL_DEFAULT_SIZE
Corinna Vinschen [Tue, 22 Jun 2010 09:54:36 +0000 (09:54 +0000)]
* sec_acl.cc (setacl): Use the long time unused ACL_DEFAULT_SIZE
instead of a constant value.
* security.cc (alloc_sd): Ditto.

14 years ago2010-06-21 Rafael Espindola <espindola@google.com>
Rafael Ávila de Espíndola [Mon, 21 Jun 2010 21:21:25 +0000 (21:21 +0000)]
2010-06-21  Rafael Espindola  <espindola@google.com>

* fileread.cc (Input_file::find_fie): New
(Input_file::open): Use Input_file::find_fie.
* fileread.h (Input_file::find_fie): New
* plugin.cc (set_extra_library_path): New.
(Plugin::load): Add set_extra_library_path to the transfer vector.
(Plugin_manager::set_extra_library_path): New.
(Plugin_manager::add_input_file): Use the extra search path if set.
(set_extra_library_path(): New.
* plugin.h (Plugin_manager): Add set_extra_library_path and
extra_search_path_.
2010-06-21  Rafael Espindola  <espindola@google.com>

* plugin-api.h (ld_plugin_set_extra_library_path): New.
(ld_plugin_tag): Add LDPT_SET_EXTRA_LIBRARY_PATH.
(ld_plugin_tv): Add tv_set_extra_library_path.

14 years ago* tmpbuf.h: New file.
Christopher Faylor [Mon, 21 Jun 2010 19:55:12 +0000 (19:55 +0000)]
* tmpbuf.h: New file.
* flock.cc: Include tmpbuf.h for new tmpbuf functionality.
(allow_others_to_sync): Use tmpbuf rather than tmp_pathbuf.  Explain why.
(lf_setlock): For consistency, use tmpbuf rather than tmp_pathbuf.
(lf_getlock): Ditto.

14 years ago* bootstrap-lto.mk: New.
Alexandre Oliva [Mon, 21 Jun 2010 19:39:32 +0000 (19:39 +0000)]
* bootstrap-lto.mk: New.

14 years ago* dcrt0.cc (__api_fatal): Temporarily generate a stackdump.
Christopher Faylor [Mon, 21 Jun 2010 17:09:33 +0000 (17:09 +0000)]
* dcrt0.cc (__api_fatal): Temporarily generate a stackdump.

14 years ago * dwarf2.h (enum dwarf_type): Add DW_ATE_UTF.
Jakub Jelinek [Mon, 21 Jun 2010 16:39:14 +0000 (16:39 +0000)]
* dwarf2.h (enum dwarf_type): Add DW_ATE_UTF.

14 years ago* tls_pbuf.cc (tmp_pathbuf::w_get): Report what's failing when too many buffers
Christopher Faylor [Mon, 21 Jun 2010 05:30:42 +0000 (05:30 +0000)]
* tls_pbuf.cc (tmp_pathbuf::w_get): Report what's failing when too many buffers
are in use.

14 years ago2010-06-18 Rafael Espindola <espindola@google.com>
Rafael Ávila de Espíndola [Fri, 18 Jun 2010 16:53:23 +0000 (16:53 +0000)]
2010-06-18  Rafael Espindola  <espindola@google.com>

* plugin.h (ld_plugin_add_input_file, ld_plugin_add_input_library):
Make argument const.

2010-06-18  Rafael Espindola  <espindola@google.com>

* plugin.cc (add_input_file,add_input_library)
(Plugin_manager::add_input_file): Make filename arguments const.
* plugin.h (Plugin_manager::add_input_file): Make filename arguments
const.

14 years ago2010-06-18 Pavel Pisa <ppisa4lists@pikron.com>
Jeff Johnston [Fri, 18 Jun 2010 16:26:25 +0000 (16:26 +0000)]
2010-06-18  Pavel Pisa <ppisa4lists@pikron.com>

        * libc/include/machine/ieeefp.h[__arm__][!__VFP_FP__]: Set to
        __IEEE_BIG_ENDIAN and set __IEEE_BYTES_LITTLE_ENDIAN appropriately
        based on __ARMEL flag.
        * libc/include/machine/endian.h: To set byte order to LITTLE_ENDIAN,
        check for __IEEE_LITTLE_ENDIAN or __IEEE_BYTES_LITTLE_ENDIAN.

14 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Fetch stat
Corinna Vinschen [Thu, 17 Jun 2010 10:25:15 +0000 (10:25 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Fetch stat
handle only after checking for NFS.

14 years agobfd:
Joseph Myers [Wed, 16 Jun 2010 00:36:03 +0000 (00:36 +0000)]
bfd:
* elf-bfd.h (LEAST_KNOWN_OBJ_ATTRIBUTE): Decrease to 2.
* elf32-tic6x.c (elf32_tic6x_obj_attrs_arg_type,
elf32_tic6x_merge_arch_attributes, elf32_tic6x_merge_attributes,
elf32_tic6x_merge_private_bfd_data): New.
(bfd_elf32_bfd_merge_private_bfd_data,
elf_backend_obj_attrs_arg_type, elf_backend_obj_attrs_section,
elf_backend_obj_attrs_section_type, elf_backend_obj_attrs_vendor):
Define.
* elf32-tic6x.h (elf32_tic6x_merge_arch_attributes): Declare.

binutils:
* readelf.c (display_tic6x_attribute, process_tic6x_specific):
New.
(process_arch_specific): Call process_tic6x_specific for
EM_TI_C6000.

gas:
* config/tc-tic6x.c: Include elf/tic6x.h.
(tic6x_arch_attribute, tic6x_seen_insns): New.
(tic6x_arch_table, tic6x_arches): Add attribute values.
(tic6x_use_arch): Handle attribute settings.
(tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
tic6x_attribute_table, tic6x_attributes,
tic6x_convert_symbolic_attribute): New.
(md_pseudo_table): Add c6xabi_attribute.
(md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
(tic6x_set_attribute_int, tic6x_set_attributes): New.
(tic6x_end): Call tic6x_set_attributes.
* config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
(tic6x_convert_symbolic_attribute): Declare.

gas/testsuite:
* gas/elf/elf.exp: Set target_machine for tic6x-*-*.
* gas/elf/section2.e-tic6x, gas/tic6x/attr-arch-directive-1.d,
gas/tic6x/attr-arch-directive-1.s,
gas/tic6x/attr-arch-directive-2.d,
gas/tic6x/attr-arch-directive-2.s,
gas/tic6x/attr-arch-directive-3.d,
gas/tic6x/attr-arch-directive-3.s,
gas/tic6x/attr-arch-directive-4.d,
gas/tic6x/attr-arch-directive-4.s,
gas/tic6x/attr-arch-directive-5.d,
gas/tic6x/attr-arch-directive-5.s,
gas/tic6x/attr-arch-opts-c62x.d, gas/tic6x/attr-arch-opts-c64x+.d,
gas/tic6x/attr-arch-opts-c64x.d, gas/tic6x/attr-arch-opts-c674x.d,
gas/tic6x/attr-arch-opts-c67x+.d, gas/tic6x/attr-arch-opts-c67x.d,
gas/tic6x/attr-arch-opts-none-1.d,
gas/tic6x/attr-arch-opts-none-2.d,
gas/tic6x/attr-arch-opts-override-1.d,
gas/tic6x/attr-arch-opts-override-2.d, gas/tic6x/empty.s: New.

include/elf:
* tic6x-attrs.h: New.
* tic6x.h: Include elf/tic6x-attrs.h for attribute table.
(C6XABI_Tag_CPU_arch_none, C6XABI_Tag_CPU_arch_C62X,
C6XABI_Tag_CPU_arch_C67X, C6XABI_Tag_CPU_arch_C67XP,
C6XABI_Tag_CPU_arch_C64X, C6XABI_Tag_CPU_arch_C64XP,
C6XABI_Tag_CPU_arch_C674X): Define.

ld:
* emulparams/elf32_tic6x_le.sh (ATTRS_SECTIONS): Define.

ld/testsuite:
* ld-elf/orphan3.d: Allow section names starting '_'.
* ld-tic6x/attr-arch-c62x-c62x.d, ld-tic6x/attr-arch-c62x-c64x+.d,
ld-tic6x/attr-arch-c62x-c64x.d, ld-tic6x/attr-arch-c62x-c674x.d,
ld-tic6x/attr-arch-c62x-c67x+.d, ld-tic6x/attr-arch-c62x-c67x.d,
ld-tic6x/attr-arch-c62x.s, ld-tic6x/attr-arch-c64x+-c62x.d,
ld-tic6x/attr-arch-c64x+-c64x+.d, ld-tic6x/attr-arch-c64x+-c64x.d,
ld-tic6x/attr-arch-c64x+-c674x.d,
ld-tic6x/attr-arch-c64x+-c67x+.d, ld-tic6x/attr-arch-c64x+-c67x.d,
ld-tic6x/attr-arch-c64x+.s, ld-tic6x/attr-arch-c64x-c62x.d,
ld-tic6x/attr-arch-c64x-c64x+.d, ld-tic6x/attr-arch-c64x-c64x.d,
ld-tic6x/attr-arch-c64x-c674x.d, ld-tic6x/attr-arch-c64x-c67x+.d,
ld-tic6x/attr-arch-c64x-c67x.d, ld-tic6x/attr-arch-c64x.s,
ld-tic6x/attr-arch-c674x-c62x.d, ld-tic6x/attr-arch-c674x-c64x+.d,
ld-tic6x/attr-arch-c674x-c64x.d, ld-tic6x/attr-arch-c674x-c674x.d,
ld-tic6x/attr-arch-c674x-c67x+.d, ld-tic6x/attr-arch-c674x-c67x.d,
ld-tic6x/attr-arch-c674x.s, ld-tic6x/attr-arch-c67x+-c62x.d,
ld-tic6x/attr-arch-c67x+-c64x+.d, ld-tic6x/attr-arch-c67x+-c64x.d,
ld-tic6x/attr-arch-c67x+-c674x.d,
ld-tic6x/attr-arch-c67x+-c67x+.d, ld-tic6x/attr-arch-c67x+-c67x.d,
ld-tic6x/attr-arch-c67x+.s, ld-tic6x/attr-arch-c67x-c62x.d,
ld-tic6x/attr-arch-c67x-c64x+.d, ld-tic6x/attr-arch-c67x-c64x.d,
ld-tic6x/attr-arch-c67x-c674x.d, ld-tic6x/attr-arch-c67x-c67x+.d,
ld-tic6x/attr-arch-c67x-c67x.d, ld-tic6x/attr-arch-c67x.s: New.

14 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): Use handle
Corinna Vinschen [Tue, 15 Jun 2010 15:10:42 +0000 (15:10 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_nfs_ea): Use handle
returned by get_stat_handle.
(fhandler_base::fstat_helper): Reinstatiate code to re-open the file
when checking for executability if called via fstat.  Explain why.

14 years ago * dtable.cc (dtable::dup_worker): Reset path_conv handle in duplicated
Corinna Vinschen [Tue, 15 Jun 2010 12:05:15 +0000 (12:05 +0000)]
* dtable.cc (dtable::dup_worker): Reset path_conv handle in duplicated
fhandler.
* fhandler.cc (fhandler_base::fstatvfs): Keep handle in created
path_conv.
* fhandler.h (fhandler_base::get_stat_access): New method.
(fhandler_base::get_stat_handle): New method.
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Use handle
returned by get_stat_handle.  Only request inode from system if it
isn't already set in the fhandler, and only for filesystems supporting
them.
(fhandler_base::fstat_fs): Use handle returned by get_stat_handle.
Change the way open_fs is called.  Explain why.
(fhandler_base::fstat_helper): Use handle returned by get_stat_handle.
Never use 0 inode number.  Simplify executable recognition by re-using
get_stat_handle if file could be opened with sufficient rights.
(fhandler_disk_file::fstatvfs): Use handle returned by get_stat_handle.
(fhandler_disk_file::facl): Use handle returned by get_stat_handle in
GETACL and GETACLCNT cases.
(fhandler_disk_file::link): Use handle returned by get_stat_handle
instead of opening file here again.  Add comment.
(readdir_get_ino): Keep handle in created path_conv and drop
opening file.
* ntdll.h (wait_pending): New helper function.
* path.cc (symlink_info::check): Drop unused 'opt' parameter from
declaration.  Add path_conv_handle argument.
(path_conv::check): Make sure conv_handle is closed.  Keep
PC_KEEP_HANDLE flag in pflags_or.  Accommodate call to sym.check to
new args.
(path_conv::~path_conv): Close conv_handle.
(symlink_info::check_shortcut): Don't re-open file here, just use
incoming handle.  Drop goto's and label out.
(symlink_info::check_sysfile): Don't re-open file here, just use
incoming handle.  Keep track of file position to accommodate the fact
that file has been opened asynchronously in calling function.
(symlink_info::check_nfs_symlink): Don't re-open file here, just use
incoming handle.
(symlink_info::check): Drop unused 'opt' parameter.  Add
path_conv_handle argument.  Always try to open file with GENERIC_READ
rights first to allow reading file content w/o having to re-open the
file.  Drop back to READ_CONTROL | FILE_READ_ATTRIBUTES otherwise.
Call symlink test functions (except for check_reparse_point) only if
file could be opened with GENERIC_READ.  Keep file handle open if
PC_KEEP_HANDLE is set in pflags.
* path.h (enum pathconv_arg): Add PC_KEEP_HANDLE flag.
(class path_conv_handle): New class.
(class path_conv): Add conv_handle member.
(path_conv::operator =): Duplicate conv_handle.
(path_conv::handle): New method.
(path_conv::access): New method.
(path_conv::reset_conv_handle): New method.
(path_conv::close_conv_handle): New method.

14 years ago * fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Fix indentation.
Corinna Vinschen [Tue, 15 Jun 2010 09:58:56 +0000 (09:58 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fstatvfs): Fix indentation.

14 years ago * fhandler_disk_file.cc (path_conv::get_ino_by_handle): Convert from
Corinna Vinschen [Tue, 15 Jun 2010 08:51:55 +0000 (08:51 +0000)]
* fhandler_disk_file.cc (path_conv::get_ino_by_handle): Convert from
static function to path_conv method.  Accommodate throughout.
(path_conv::ndisk_links): Unused, comment out.
* path.h (path_conv::get_ino_by_handle): Declare.
(path_conv::ndisk_links): Comment out declaration.

14 years ago * path.cc (path_conv::check): Return with ENOTDIR if component is a
Corinna Vinschen [Mon, 14 Jun 2010 21:16:41 +0000 (21:16 +0000)]
* path.cc (path_conv::check): Return with ENOTDIR if component is a
device.

14 years agogas/
Alan Modra [Mon, 14 Jun 2010 14:48:04 +0000 (14:48 +0000)]
gas/
* config/tc-ppc.c (md_assemble): Emit APUinfo section for
PPC_OPCODE_E500.
gas/testsuite/
* gas/ppc/e500.s: Add eieio, mbar and lwsync
* gas/ppc/e500.d: Likewise.
include/opcode/
* ppc.h (PPC_OPCODE_E500): Define.
opcodes/
* ppc-dis.c (ppc_opts):  Remove PPC_OPCODE_E500MC from e500 and
e500x2. Add PPC_OPCODE_E500 to e500 and e500x2
* ppc-opc.c (powerpc_opcodes): Deprecate all opcodes on EFS which
touch floating point regs and are enabled by COM, PPC or PPCCOM.
Treat sync as msync on e500.  Treat eieio as mbar 1 on e500.
Treat lwsync as msync on e500.

14 years ago * dlfcn.cc (get_full_path_of_dll): Revert patch from 2010-04-29.
Corinna Vinschen [Mon, 14 Jun 2010 11:10:30 +0000 (11:10 +0000)]
* dlfcn.cc (get_full_path_of_dll): Revert patch from 2010-04-29.

14 years ago* times.cc (gtod): Move to sharable region.
Christopher Faylor [Sat, 12 Jun 2010 16:34:26 +0000 (16:34 +0000)]
* times.cc (gtod): Move to sharable region.

14 years agoinclude/elf
Tristan Gingold [Fri, 11 Jun 2010 15:57:46 +0000 (15:57 +0000)]
include/elf
2010-06-11  Tristan Gingold  <gingold@adacore.com>

* ia64.h (EF_IA_64_VMS_COMCOD, EF_IA_64_VMS_COMCOD_SUCCESS)
(EF_IA_64_VMS_COMCOD_WARNING, EF_IA_64_VMS_COMCOD_ERROR)
(EF_IA_64_VMS_COMCOD_ABORT, EF_IA_64_VMS_LINKAGES): Define.
(VMS_LF_CALL_DEBUG, VMS_LF_NOP0BUFS, VMS_LF_P0IMAGE)
(VMS_LF_MKTHREADS, VMS_LF_UPCALLS, VMS_LF_IMGSTA)
(VMS_LF_INITIALIZE, VMS_LF_MAIN, VMS_LF_EXE_INIT)
(VMS_LF_TBK_IN_IMG, VMS_LF_DBG_IN_IMG, VMS_LF_TBK_IN_DSF)
(VMS_LF_DBG_IN_DSF, VMS_LF_SIGNATURES, VMS_LF_REL_SEG_OFF): Define.
(VMS_STO_VISIBILITY, VMS_ST_VISIBILITY, VMS_STO_FUNC_TYPE)
(VMS_ST_FUNC_TYPE, VMS_SFT_CODE_ADDR, VMS_SFT_SYMV_IDX)
(VMS_SFT_FD, VMS_SFT_RESERVE, VMS_STO_LINKAGE, VMS_ST_LINKAGE)
(VMS_STL_IGNORE, VMS_STL_RESERVE, VMS_STL_STD, VMS_STL_LNK): Define.
(Elf64_External_VMS_IMAGE_FIXUP): New declaration.
(Elf64_External_VMS_IMAGE_RELA): Ditto.
(R_IA64_VMS_DIR8, R_IA64_VMS_DIR16LSB, R_IA64_VMS_CALL_SIGNATURE)
(R_IA64_VMS_EXECLET_FUNC, R_IA64_VMS_EXECLET_DATA, R_IA64_VMS_FIX8)
(R_IA64_VMS_FIX16, R_IA64_VMS_FIX32, R_IA64_VMS_FIX64)
(R_IA64_VMS_FIXFD, R_IA64_VMS_ACC_LOAD, R_IA64_VMS_ACC_ADD)
(R_IA64_VMS_ACC_SUB, R_IA64_VMS_ACC_MUL, R_IA64_VMS_ACC_DIV)
(R_IA64_VMS_ACC_AND, R_IA64_VMS_ACC_IOR, R_IA64_VMS_ACC_EOR)
(R_IA64_VMS_ACC_ASH, R_IA64_VMS_ACC_STO8, R_IA64_VMS_ACC_STO16LSH)
(R_IA64_VMS_ACC_STO32LSH, R_IA64_VMS_ACC_STO64LSH): New.

binutils/
2010-06-11  Tristan Gingold  <gingold@adacore.com>
    Doug Rupp <rupp@gnat.com>

* readelf.c (is_ia64_vms): New function.
(dump_relocations): Use it.
(get_machine_flags): Display IA-64 OpenVMS flags.
(process_program_headers): No error on OpenVMS if no .dynamic section.
(struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
declarations.
(dump_ia64_vms_dynamic_fixups): New function.
(dump_ia64_vms_dynamic_relocs): Ditto.
(process_ia64_vms_dynamic_relocs): Ditto.
(process_relocs): Handle IA-64 OpenVMS relocs.
(VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
(print_vms_time): New function.
(dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
DT_IA_64_VMS_LNKFLAGS.
(get_ia64_symbol_other): New function.
(get_symbol_other): Handle EM_IA_64.

14 years agomerge from gcc
DJ Delorie [Thu, 10 Jun 2010 18:30:17 +0000 (18:30 +0000)]
merge from gcc

14 years ago* Makefile.def (configure-gcc): Depend on all-libelf.
Alexandre Oliva [Thu, 10 Jun 2010 17:04:13 +0000 (17:04 +0000)]
* Makefile.def (configure-gcc): Depend on all-libelf.
* Makefile.in: Rebuild.

14 years ago2010-06-10 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 10 Jun 2010 16:09:45 +0000 (16:09 +0000)]
2010-06-10  Paolo Bonzini  <bonzini@gnu.org>

* override.m4: Remove obsolete (<2.64) definitions.

14 years agosync changelog with gcc, plus commit the following patch:
Paolo Bonzini [Thu, 10 Jun 2010 16:01:32 +0000 (16:01 +0000)]
sync changelog with gcc, plus commit the following patch:

2010-06-09  Iain Sandoe  <iains@gcc.gnu.org>

PR bootstrap/43170
* tls.m4 (GCC_CHECK_TLS): Add volatile qualifier to the test
references.  Move the main () test reference ahead of
pthread_create().  Add a comment to explain the requirements
of the test.

14 years agoinclude/som:
Tristan Gingold [Thu, 10 Jun 2010 08:31:20 +0000 (08:31 +0000)]
include/som:
2010-06-10  Tristan Gingold  <gingold@adacore.com>

* aout.h: New file.
* clock.h: Likewise.
* lst.h: Likewise.
* reloc.h: Likewise.
* internal.h: Likewise.

14 years ago2010-06-10 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 10 Jun 2010 08:19:52 +0000 (08:19 +0000)]
2010-06-10  Tristan Gingold  <gingold@adacore.com>

* dwarf2.h (enum dwarf_tag): Add DW_TAG_HP_Bliss_field and
DW_TAG_HP_Bliss_field_set.
(enum dwarf_attribute): Add DW_AT_HP_prologue, DW_AT_HP_epilogue,
DW_AT_HP_unit_name, DW_AT_HP_unit_size, DW_AT_HP_widened_byte_size,
DW_AT_HP_definition_points, DW_AT_HP_default_location and
DW_AT_HP_is_result_param.
(enum dwarf_type): Add DW_ATE_HP_VAX_float, DW_ATE_HP_VAX_float_d,
DW_ATE_HP_packed_decimal, DW_ATE_HP_zoned_decimal, DW_ATE_HP_edited,
DW_ATE_HP_signed_fixed, DW_ATE_HP_unsigned_fixed,
DW_ATE_HP_VAX_complex_float and DW_ATE_HP_VAX_complex_float_d.
(enum dwarf_line_number_x_ops): Add
DW_LNE_HP_source_file_correlation.
(enum dwarf_source_language): Add DW_LANG_HP_Bliss,
DW_LANG_HP_Basic91, DW_LANG_HP_Pascal91, DW_LANG_HP_IMacro,
DW_LANG_HP_Assembler.

14 years ago * libc/include/sys/reent.h (_reent): Adjust _REENT_SMALL to be
Kazu Hirata [Wed, 9 Jun 2010 15:15:35 +0000 (15:15 +0000)]
* libc/include/sys/reent.h (_reent): Adjust _REENT_SMALL to be
binary compatible with normal layout.
(_REENT_INIT): Adjust to match struct layout.

14 years ago * path.cc (symlink_info::check_shortcut): Use ro_u_empty rather than
Corinna Vinschen [Wed, 9 Jun 2010 12:32:14 +0000 (12:32 +0000)]
* path.cc (symlink_info::check_shortcut): Use ro_u_empty rather than
local UNICODE_STRING object.
(symlink_info::check_sysfile): Ditto.  Return immediately if NtOpenFile
failed to avoid closing random handle.  Improve debug output in case
NtReadFile failed.

14 years ago2010-06-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 8 Jun 2010 21:47:57 +0000 (21:47 +0000)]
2010-06-08  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/wordexp.h: Add __cplusplus wrapper.

14 years ago2010-06-08 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 8 Jun 2010 18:44:14 +0000 (18:44 +0000)]
2010-06-08  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.in: Add test for enable-newlib-register-fini
        to set the _WANT_REGISTER_FINI flag.
        * configure: Regenerated.
        * Makefile.in: Ditto.
        * newlib.hin: Add _WANT_REGISTER_FINI flag.
        * libc/stdlib/__call_atexit.c: Add test for
        _WANT_REGISTER_FINI to enable the register_fini function.

14 years ago * path.cc (symlink_info::check): Set h to NULL after closing handle
Corinna Vinschen [Tue, 8 Jun 2010 15:25:09 +0000 (15:25 +0000)]
* path.cc (symlink_info::check): Set h to NULL after closing handle
in udf check.  Remove overagressive bracketing.  Don't set h to NULL
without closing the handle.  Fix using wrong handle in checking
file system when using parent directory handle.

14 years ago * standards.texi: Import current version from gnustandards
Nick Clifton [Tue, 8 Jun 2010 12:15:36 +0000 (12:15 +0000)]
    * standards.texi: Import current version from gnustandards
        project.
        * gnu-oids.texi: New file.

14 years agoetc/ChangeLog
Nick Clifton [Tue, 8 Jun 2010 10:30:54 +0000 (10:30 +0000)]
etc/ChangeLog

        * standards.texi: Relicense under GFDL v1.3.
        * fdl.texi: Replace with v1.3 text.

gas/ChangeLog

        * doc/as.texinfo: Replace abbreviated 20th century year numbers
        with full versions.

gprof/ChangeLog

        * gprof.texi: Replace abbreviated 20th century year numbers with
        full versions.

ld/ChangeLog

        * fdl.texi: Replace with v1.3 text.
        * ld.texinfo: Replace abbreviated 20th century year numbers with
        full versions.
        * ldint.texinfo: Likewise.
        Relicense under GFDL v1.3.  Replace text of v1.1 FDL with an
        include of the fdl.texi file.

14 years ago * include/sys/stdio.h: Remove _GNU_SOURCE guard around getline
Corinna Vinschen [Mon, 7 Jun 2010 09:16:11 +0000 (09:16 +0000)]
* include/sys/stdio.h: Remove _GNU_SOURCE guard around getline
and getdelim prototypes since they are SUSv4 now.

14 years ago2010-06-04 Mark Mitchell <mark@codesourcery.com>
Jeff Johnston [Fri, 4 Jun 2010 15:30:40 +0000 (15:30 +0000)]
2010-06-04  Mark Mitchell  <mark@codesourcery.com>

        * libc/stdlib/__call_atexit.c (__libc_fini): Declare.
        (register_fini): New function.
        * libc/misc/init.c (_fini): Remove.
        (__libc_fini_array): Likewise.
        * libc/misc/fini.c: New file.
        * libc/misc/Makefile.am (LIB_SOURCES): Add fini.c.
        * libc/misc/Makefile.in: Regenerate.

14 years agoImport AC_CHECK_DECL for C++ fixes from git Autoconf.
Ralf Wildenhues [Thu, 3 Jun 2010 06:33:10 +0000 (06:33 +0000)]
Import AC_CHECK_DECL for C++ fixes from git Autoconf.

config/:
Sync from GCC:
PR bootstrap/42798
* override.m4 (_AC_CHECK_DECL_BODY, _AC_CHECK_DECLS): Import
definitions from git Autoconf.

14 years ago * ntdll.h (STATUS_BAD_NETWORK_PATH): Define.
Corinna Vinschen [Wed, 2 Jun 2010 14:52:34 +0000 (14:52 +0000)]
* ntdll.h (STATUS_BAD_NETWORK_PATH): Define.
(STATUS_BAD_NETWORK_NAME): Define.
* path.cc (symlink_info::check): Convert STATUS_BAD_NETWORK_PATH and
STATUS_BAD_NETWORK_NAME into an immediate ENOENT.

14 years ago2010-06-01 Rafael Espindola <espindola@google.com>
Rafael Ávila de Espíndola [Tue, 1 Jun 2010 19:32:27 +0000 (19:32 +0000)]
2010-06-01  Rafael Espindola  <espindola@google.com>

* plugin-api.h (ld_plugin_tag): Add LDPT_OUTPUT_NAME.

2010-06-01  Rafael Espindola  <espindola@google.com>

* plugin.cc (Plugin::load): Pass the output name to the plugin.

14 years ago/:
Ralf Wildenhues [Tue, 1 Jun 2010 17:53:40 +0000 (17:53 +0000)]
/:
* config.sub, config.guess: Update from upstream sources.

14 years agoSync toplevel files from GCC.
Ralf Wildenhues [Tue, 1 Jun 2010 17:28:12 +0000 (17:28 +0000)]
Sync toplevel files from GCC.

/:
        Sync from GCC:

        2010-05-05  Sebastian Pop  <sebastian.pop@amd.com>
        * configure.ac: Allow all the versions greater than 0.10 of PPL.
        * configure: Regenerated.

        2010-04-20  Eric Botcazou  <ebotcazou@adacore.com>
        * configure.ac (BUILD_CONFIG): Redirect output to /dev/null.
        * configure: Regenerate.

        2010-04-17  Ralf Corsépius  <ralf.corsepius@rtems.org>
        * configure.ac (*-*-rtems*): Add target-libiberty to $skipdirs.
        * configure: Regenerate.

        2010-04-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
        * configure.ac: Check for elf_getshdrstrndx or elf_getshstrndx
        separately.
        * configure: Regenerate.

        2010-04-13  Steve Ellcey  <sje@cup.hp.com>
        * configure: Regenerate after change to elf.m4.

        2010-04-02  Sebastian Pop  <sebastian.pop@amd.com>
        * configure.ac: Add brackets around AC_TRY_COMPILE alternative.
        * configure: Regenerated.

        2010-04-02  Sebastian Pop  <sebastian.pop@amd.com>
        * configure.ac: Print "buggy but acceptable" when CLooG
        revision is less than 9.
        * configure: Regenerated.

config/:
        Sync from GCC:

        2010-04-13  Steve Ellcey  <sje@cup.hp.com>
        * elf.m4: Add hppa[12]*-*-hpux* to list of non-elf platforms.

        2010-01-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
        * stdint.m4 (GCC_HEADER_STDINT): Don't typedef uint8_t etc. if
        corresponding macros already exist.

bfd/:
        * configure: Regenerate.

14 years ago * exceptions.cc (open_stackdumpfile): Correctly append .stackdump
Corinna Vinschen [Tue, 1 Jun 2010 14:51:47 +0000 (14:51 +0000)]
* exceptions.cc (open_stackdumpfile): Correctly append .stackdump
suffix.

* nlsfuncs.cc (rebase_locale_buf): Reorder arguments.  Accommodate
throughout.  Add pointer to end of buffer and avoid changing pointers
not pointing into the buffer.

14 years ago * fhandler_netdrive.cc (fhandler_netdrive::exists): Always free WNet
Corinna Vinschen [Tue, 1 Jun 2010 13:14:37 +0000 (13:14 +0000)]
* fhandler_netdrive.cc (fhandler_netdrive::exists): Always free WNet
resource if created.

14 years ago2010-05-31 Kazu Hirata <kazu@codesourcery.com>
Jeff Johnston [Mon, 31 May 2010 19:15:41 +0000 (19:15 +0000)]
2010-05-31  Kazu Hirata  <kazu@codesourcery.com>

        * libc/stdlib/mallocr.c (malloc_extend_top): Backport the
        difference between versions 2.6.4 and 2.6.5.

14 years ago * cygheap.cc (cygheap_user::set_name): Allow to change the user name
Corinna Vinschen [Mon, 31 May 2010 18:52:02 +0000 (18:52 +0000)]
* cygheap.cc (cygheap_user::set_name): Allow to change the user name
if it only differs by case.

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