]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
12 years ago * select.cc (select_stuff::wait): Temporarily disable restarting
Corinna Vinschen [Tue, 29 May 2012 13:11:34 +0000 (13:11 +0000)]
* select.cc (select_stuff::wait): Temporarily disable restarting
entirely.

12 years ago * security.h (cygsidlist::+=): Correctly copy well_known_sid info from
Corinna Vinschen [Tue, 29 May 2012 13:01:50 +0000 (13:01 +0000)]
* security.h (cygsidlist::+=): Correctly copy well_known_sid info from
source cygsid.

12 years ago * Makefile.in (LIBS): Re-add advapi32.dll. Explain why.
Corinna Vinschen [Tue, 29 May 2012 12:46:01 +0000 (12:46 +0000)]
* Makefile.in (LIBS): Re-add advapi32.dll.  Explain why.
* make-64bit-version-with-mingw-w64.sh (LIBS): Ditto.
* cyglsa.c: Drop NTDLL function declarations.  Use equivalent advapi32
functions again, throughout.
* cyglsa64.dll: Regenerate.

12 years ago * registry.cc (reg_key::build_reg): Fix typo in debug output.
Corinna Vinschen [Fri, 25 May 2012 14:49:56 +0000 (14:49 +0000)]
* registry.cc (reg_key::build_reg): Fix typo in debug output.

12 years ago * select.cc (select_stuff::wait): When not returning after receiving
Corinna Vinschen [Fri, 25 May 2012 14:33:18 +0000 (14:33 +0000)]
* select.cc (select_stuff::wait): When not returning after receiving
a signal, recalculate timeout.  Apply temporary fix to avoid crashes
after calling the signal handler.  Explain.

12 years ago * fhandler_serial.cc (fhandler_serial::raw_read): Check for
Corinna Vinschen [Fri, 25 May 2012 11:08:10 +0000 (11:08 +0000)]
* fhandler_serial.cc (fhandler_serial::raw_read): Check for
ERROR_OPERATION_ABORTED rather than ERROR_IO_INCOMPLETE after CancelIo.

12 years ago * fhandler_serial.cc (fhandler_serial::raw_read): Just call ReadFile
Corinna Vinschen [Fri, 25 May 2012 09:29:17 +0000 (09:29 +0000)]
* fhandler_serial.cc (fhandler_serial::raw_read): Just call ReadFile
directly in case of non-blocking I/O and handle result gracefully.

12 years agogdb/
Pedro Alves [Thu, 24 May 2012 16:51:39 +0000 (16:51 +0000)]
gdb/
2012-05-24  Pedro Alves  <palves@redhat.com>

PR gdb/7205

        Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.

gdb/gdbserver/
2012-05-24  Pedro Alves  <palves@redhat.com>

PR gdb/7205

        Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.

include/gdb/
2012-05-24  Pedro Alves  <palves@redhat.com>

PR gdb/7205

        * gdb/signals.def: Replace TARGET_SIGNAL_ with GDB_SIGNAL_
throughout.

sim/arm/
2012-05-24  Pedro Alves  <palves@redhat.com>

PR gdb/7205

        Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.

sim/avr/
2012-05-24  Pedro Alves  <palves@redhat.com>

PR gdb/7205

        Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.

sim/common/
2012-05-24  Pedro Alves  <palves@redhat.com>

PR gdb/7205

        Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.

sim/cr16/
2012-05-24  Pedro Alves  <palves@redhat.com>

PR gdb/7205

        Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.

sim/d10v/
2012-05-24  Pedro Alves  <palves@redhat.com>

PR gdb/7205

        Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.

sim/erc32/
2012-05-24  Pedro Alves  <palves@redhat.com>

PR gdb/7205

        Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.

sim/m32c/
2012-05-24  Pedro Alves  <palves@redhat.com>

PR gdb/7205

        Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.

sim/ppc/
2012-05-24  Pedro Alves  <palves@redhat.com>

PR gdb/7205

        Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.

sim/rl78/
2012-05-24  Pedro Alves  <palves@redhat.com>

PR gdb/7205

        Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.

sim/rx/
2012-05-24  Pedro Alves  <palves@redhat.com>

PR gdb/7205

        Replace TARGET_SIGNAL_ with GDB_SIGNAL_ throughout.

12 years agogdb/
Pedro Alves [Thu, 24 May 2012 16:39:13 +0000 (16:39 +0000)]
gdb/
2012-05-24  Pedro Alves  <palves@redhat.com>

PR gdb/7205

Replace target_signal with gdb_signal throughout.

gdb/gdbserver/
2012-05-24  Pedro Alves  <palves@redhat.com>

PR gdb/7205

Replace target_signal with gdb_signal throughout.

include/gdb/
2012-05-24  Pedro Alves  <palves@redhat.com>

PR gdb/7205

Replace target_signal with gdb_signal throughout.

sim/common/
2012-05-24  Pedro Alves  <palves@redhat.com>

PR gdb/7205

Replace target_signal with gdb_signal throughout.

12 years ago * thread.cc (__cygwin_lock_lock): Replace null thread check with test
Corinna Vinschen [Thu, 24 May 2012 14:17:51 +0000 (14:17 +0000)]
* thread.cc (__cygwin_lock_lock): Replace null thread check with test
for cygwin_finished_initializing to handle process startup.
(__cygwin_lock_trylock): Ditto.
(__cygwin_lock_unlock): Ditto.

12 years ago * leb128.h: #include stdint.h, inttypes.h.
Doug Evans [Thu, 24 May 2012 01:18:15 +0000 (01:18 +0000)]
* leb128.h: #include stdint.h, inttypes.h.
(read_uleb128_to_uint64): Renamed from read_uleb128_to_ull.
Change to take a uint64_t * argument instead of unsigned long long.
(read_sleb128_to_uint64): Renamed from read_sleb128_to_ll.
Change to take an int64_t * argument instead of long long.

12 years ago * thread.cc (__cygwin_lock_lock): Take null thread at process startup
Corinna Vinschen [Wed, 23 May 2012 19:49:39 +0000 (19:49 +0000)]
* thread.cc (__cygwin_lock_lock): Take null thread at process startup
into account.
(__cygwin_lock_trylock): Ditto.
(__cygwin_lock_unlock): Ditto.

12 years ago * thread.cc (pthread::cancel): Re-allow asynchronous cancellation from
Corinna Vinschen [Wed, 23 May 2012 17:39:39 +0000 (17:39 +0000)]
* thread.cc (pthread::cancel): Re-allow asynchronous cancellation from
Cygwin code since it looks like the problem is Windows only.

12 years ago * thread.cc: Add a temporary workaround to help Cygwin along while
Corinna Vinschen [Wed, 23 May 2012 16:26:34 +0000 (16:26 +0000)]
* thread.cc: Add a temporary workaround to help Cygwin along while
newlib doesn't install cleanup handlers.  Explain the problem.
(class __cygwin_lock_handler): New class.
(__cygwin_lock_cleanup): New function.
(__cygwin_lock_lock): Push __cygwin_lock_cleanup thread cleanup
handler.
(__cygwin_lock_trylock): Ditto.
(__cygwin_lock_unlock): Pop thread cleanup handler.
(pthread::pop_cleanup_handler): Temporarily allow cleanup function to
destroy cleanup handler so we can pop in another function than we
pushed in.

12 years ago * thread.cc (pthread::cancel): Only allow asynchronous cancellation
Corinna Vinschen [Wed, 23 May 2012 13:30:26 +0000 (13:30 +0000)]
* thread.cc (pthread::cancel): Only allow asynchronous cancellation
if the thread is not executing Cygwin or Windows code.  Explain why.

12 years ago * thread.cc (pthread::precreate): Make sure mutex is recursive.
Corinna Vinschen [Wed, 23 May 2012 13:24:57 +0000 (13:24 +0000)]
* thread.cc (pthread::precreate): Make sure mutex is recursive.
Explain why.

12 years ago * thread.cc (pthread::pop_cleanup_handler): Move setting the cancelstate
Corinna Vinschen [Wed, 23 May 2012 13:18:34 +0000 (13:18 +0000)]
* thread.cc (pthread::pop_cleanup_handler): Move setting the cancelstate
to PTHREAD_CANCEL_DISABLE from here...
(pthread::pop_all_cleanup_handlers): ...to here, otherwise any explicit
call to pthread_cleanup_pop disables cancellation for this thread.

12 years ago * fhandler.h (refcnt): Add i interlocked. Explain why.
Corinna Vinschen [Wed, 23 May 2012 13:13:56 +0000 (13:13 +0000)]
* fhandler.h (refcnt): Add i interlocked.  Explain why.
* winbase.h (ilockadd): New function.
(InterlockedAdd): Define as ilockadd.

12 years agomerge from gcc
DJ Delorie [Tue, 22 May 2012 18:05:30 +0000 (18:05 +0000)]
merge from gcc

12 years ago * devices.in: Fix native name of /dev/kmem.
Corinna Vinschen [Tue, 22 May 2012 17:37:40 +0000 (17:37 +0000)]
* devices.in: Fix native name of /dev/kmem.
* devices.cc: Regenerate.
* dtable.cc (fh_alloc): Don't forget FH_KMEM.
* fhandler_mem.cc (fhandler_dev_mem::open): Set errno to EACCES rather
than ENOENT on systems not granting access to physical memory from
user space.

12 years ago * thread.cc (pthread::cancel): Set thread's cancel_event in
Corinna Vinschen [Tue, 22 May 2012 10:28:05 +0000 (10:28 +0000)]
* thread.cc (pthread::cancel): Set thread's cancel_event in
PTHREAD_CANCEL_ASYNCHRONOUS case, too.  Explain why.

12 years ago * strace.cc (strace::activate): Move printing heap size from here...
Corinna Vinschen [Mon, 21 May 2012 19:45:12 +0000 (19:45 +0000)]
* strace.cc (strace::activate): Move printing heap size from here...
* heap.cc (heap_init_info): ...to here.  Explain why.  Print heap
size in hex and decimal.

12 years ago*** empty log message ***
Corinna Vinschen [Mon, 21 May 2012 16:01:31 +0000 (16:01 +0000)]
*** empty log message ***

12 years ago * net.cc (cygwin_recvfrom): Don't shortcircuit if len == 0. Add comment
Corinna Vinschen [Mon, 21 May 2012 14:56:02 +0000 (14:56 +0000)]
* net.cc (cygwin_recvfrom): Don't shortcircuit if len == 0.  Add comment
to explain why.
(cygwin_recv): Ditto.
(cygwin_recvmsg): Ditto.

12 years ago * fhandler_disk_file.cc (path_conv::isgood_inode): Rearrange, take
Corinna Vinschen [Mon, 21 May 2012 12:00:09 +0000 (12:00 +0000)]
* fhandler_disk_file.cc (path_conv::isgood_inode): Rearrange, take
Samba versions >= 3.5.4 into account, add comments.

12 years ago * libc/machine/cr16/asm.h: Added some missing instructions
Corinna Vinschen [Mon, 21 May 2012 11:55:15 +0000 (11:55 +0000)]
* libc/machine/cr16/asm.h: Added some missing instructions
and removed few unsupported instructions of cr16 target.

12 years ago* DevNotes: Add entry cgf-000009.
Christopher Faylor [Thu, 17 May 2012 02:18:41 +0000 (02:18 +0000)]
* DevNotes: Add entry cgf-000009.
* smallprint.cc (__small_vsprintf): Always treat '%c' and '%C' as characters.
Don't decode them if they are > 127.
(__small_vswprintf): Ditto.

12 years ago PR 13503
Nick Clifton [Wed, 16 May 2012 14:52:16 +0000 (14:52 +0000)]
PR 13503
* reloc.c: Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenrate.
* elf32-avr.c (elf_avr_howto_table): Rename R_AVR_8_HHI8 to
R_AVR_8_HLO8.
(avr_reloc_map): Ditto.

* config/tc-avr.c (avr_cons_fix_new): Rename R_AVR_8_HHI8 to
R_AVR_8_HLO8.
(exp_mod_data) Ditto. And replace "hhi8" with "hlo8".
(md_apply_fix): Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.

* avr.h (RELOC_NUMBERS): Rename R_AVR_8_HHI8 to R_AVR_8_HLO8.

12 years ago* DevNotes: Add entry cgf-000008.
Christopher Faylor [Wed, 16 May 2012 01:56:41 +0000 (01:56 +0000)]
* DevNotes: Add entry cgf-000008.
* fhandler_tty.cc (bytes_available): Simplify by returning the number of bytes
available in the message unless that is zero.

12 years ago * config/tc-m68hc11.c: Add S12X and XGATE co-processor support.
Nick Clifton [Tue, 15 May 2012 12:55:51 +0000 (12:55 +0000)]
* config/tc-m68hc11.c: Add S12X and XGATE co-processor support.
Add option to offset S12 addresses into XGATE memory space.
Tweak target flags to match other tools. (i.e. -m m68hc11).
* doc/as.texinfo: Mention new options.
* doc/c-m68hc11.texi: Document new options.
* NEWS: Mention new support.

* archures.c: Add bfd_arch_m9s12x and bfd_arch_m9s12xg.
* config.bfd: Likewise.
* cpu-m9s12x.c: New.
* cpu-m9s12xg.c: New.
* elf32-m68hc12.c: Add S12X and XGATE co-processor support.
Add option to offset S12 addresses into XGATE memory space.
Fix carry bug in IMM16 (IMM8 low/high) relocate.
* Makefile.am (ALL_MACHINES): Add cpu-m9s12x and cpu-m9s12xg.
(ALL_MACHINES_CFILES): Likewise.
* reloc.c: Add S12X relocs.
* Makefile.in: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.

* gas/m68hc11/insns9s12x.s: New
* gas/m68hc11/insns9s12x.d: New
* gas/m68hc11/hexprefix.s: New
* gas/m68hc11/hexprefix.d: New
* gas/m68hc11/9s12x-exg-sex-tfr.s: New
* gas/m68hc11/9s12x-exg-sex-tfr.d: New
* gas/m68hc11/insns9s12xg.s: New
* gas/m68hc11/insns9s12xg.d: New
* gas/m68hc11/9s12x-mov.s: New
* gas/m68hc11/9s12x-mov.d: New
* gas/m68hc11/m68hc11.exp: Updated
* gas/m68hc11/*.d: Brought in line with changed objdump output.
* gas/all/gas.exp: XFAIL all hc11/12 targets for redef2,3.
* gas/elf/elf.exp: XFAIL all hc11/12 targets for redef.
* gas/elf/dwarf2-1.d: Skip for hc11/12 targets.
* gas/elf/dwarf2-2.d: Likewise.

* ld-m68hc11/xgate-link.s: New.
* ld-m68hc11/xgate-link.d: New.
* ld-m68hc11/xgate-offset.s: New.
* ld-m68hc11/xgate-offset.d: New.
* ld-m68hc11/xgate1.s: New.
* ld-m68hc11/xgate1.d: New.
* ld-m68hc11/xgate2.s: New.
* ld-m68hc11/m68hc11.exp: Updated.
* ld-m68hc11/*.d: Brought in line with changed objdump output.
* ld-gc/gc.exp: Update CFLAGS for m68hc11.
* ld-plugin/plugin.exp: Likewise.
* ld-srec/srec.exp: XFAIL for m68hc11 and m68hc12.

* configure.in: Add S12X and XGATE co-processor support to m68hc11
target.
* disassemble.c: Likewise.
* configure: Regenerate.
* m68hc11-dis.c: Make objdump output more consistent, use hex
instead of decimal and use 0x prefix for hex.
* m68hc11-opc.c: Add S12X and XGATE opcodes.
* dis-asm.h (print_insn_m9s12x): Prototype.
(print_insn_m9s12xg): Prototype.

* m68hc11.h (R_M68HC12_16B, R_M68HC12_PCREL_9, R_M68HC12_PCREL_10)
R_M68HC12_HI8XG, R_M68HC12_LO8XG): New relocations.
(E_M68HC11_XGATE_RAMOFFSET): Define.

* m68hc11.h: Add XGate definitions.
(struct m68hc11_opcode): Add xg_mask field.

12 years ago* child_info.h (CURR_CHILD_INFO_MAGIC): Update.
Christopher Faylor [Mon, 14 May 2012 23:29:03 +0000 (23:29 +0000)]
* child_info.h (CURR_CHILD_INFO_MAGIC): Update.

12 years ago* DevNotes: Add entry cgf-000007.
Christopher Faylor [Mon, 14 May 2012 22:42:56 +0000 (22:42 +0000)]
* DevNotes: Add entry cgf-000007.
* child_info.h (child_info_spawn::parent_winpid): Declare new field.
(child_info_spawn::get_parent_handle): Declare new function.
* dcrt0.cc (child_info_spawn::get_parent_handle): Define new function.
(child_info_spawn::handle_spawn): Recreate parent handle if possible when
dynamically loaded.  Don't mess with parent handle if it's NULL.
* spawn.cc (child_info_spawn::worker): Set parent_winpid appropriately.

12 years agoAdd support for PowerPC VLE.
James Lemke [Mon, 14 May 2012 19:45:27 +0000 (19:45 +0000)]
Add support for PowerPC VLE.

2012-05-14  Catherine Moore  <clm@codesourcery.com>

* NEWS:  Mention PowerPC VLE port.

2012-05-14  James Lemke <jwlemke@codesourcery.com>
    Catherine Moore  <clm@codesourcery.com>

bfd/
* bfd.c (bfd_lookup_section_flags): Add section parm.
* ecoff.c (bfd_debug_section): Remove flag_info initializer.
* elf-bfd.h (bfd_elf_section_data): Move in section_flag_info.
(bfd_elf_lookup_section_flags): Add section parm.
* elf32-ppc.c (is_ppc_vle): New function.
(ppc_elf_modify_segment_map): New function.
(elf_backend_modify_segment_map): Define.
(has_vle_insns): New define.
* elf32-ppc.h (ppc_elf_modify_segment_map): Declare.
* elflink.c (bfd_elf_lookup_section_flags): Add return value & parm.
Move in logic to omit / include a section.
* libbfd-in.h (bfd_link_info): Add section parm.
(bfd_generic_lookup_section_flags): Likewise.
* reloc.c (bfd_generic_lookup_section_flags): Likewise.
* section.c (bfd_section): Move out section_flag_info.
(BFD_FAKE_SECTION): Remove flag_info initializer.
* targets.c (_bfd_lookup_section_flags): Add section parm.

2012-05-14  Catherine Moore  <clm@codesourcery.com>

bfd/
* archures.c (bfd_mach_ppc_vle): New.
* bfd-in2.h: Regenerated.
* cpu-powerpc.c (bfd_powerpc_archs): New entry for vle.
* elf32-ppc.c (split16_format_type): New enumeration.
(ppc_elf_vle_split16): New function.
(HOWTO): Add entries for R_PPC_VLE relocations.
(ppc_elf_reloc_type_lookup): Handle PPC_VLE relocations.
(ppc_elf_section_flags): New function.
(ppc_elf_lookup_section_flags): New function.
(ppc_elf_section_processing): New function.
(ppc_elf_check_relocs): Handle PPC_VLE relocations.
(ppc_elf_relocation_section): Likewise.
(elf_backend_lookup_section_flags_hook): Define.
(elf_backend_section_flags): Define.
(elf_backend_section_processing): Define.
* elf32-ppc.h (ppc_elf_section_processing): Declare.
* libbfd.h: Regenerated.
* reloc.c (BFD_RELOC_PPC_VLE_REL8, BFD_RELOC_PPC_VLE_REL15,
BFD_RELOC_PPC_VLE_REL24, BFD_RELOC_PPC_VLE_LO16A,
BFD_RELOC_PPC_VLE_LO16D, BFD_RELOC_PPC_VLE_HI16A,
BFD_RELOC_PPC_VLE_HI16D, BFD_RELOC_PPC_VLE_HA16A,
BFD_RELOC_PPC_VLE_HA16D, BFD_RELOC_PPC_VLE_SDA21,
BFD_RELOC_PPC_VLE_SDA21_LO, BFD_RELOC_PPC_VLE_SDAREL_LO16A,
BFD_RELOC_PPC_VLE_SDAREL_LO16D, BFD_RELOC_PPC_VLE_SDAREL_HI16A,
BFD_RELOC_PPC_VLE_SDAREL_HI16D, BFD_RELOC_PPC_VLE_SDAREL_HA16A,
BFD_RELOC_PPC_VLE_SDAREL_HA16D): New bfd relocations.

2012-05-14  James Lemke  <jwlemke@codesourcery.com>

gas/
* config/tc-ppc.c (insn_validate): New func of existing code to call..
(ppc_setup_opcodes): ..from 2 places here.
Revise for second (VLE) opcode table.
Add #ifdef'd code to print opcode tables.

2012-05-14  James Lemke  <jwlemke@codesourcery.com>

gas/
* config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order
for the VLE conditional branches.

2012-05-14  Catherine Moore  <clm@codesourcery.com>
            Maciej W. Rozycki  <macro@codesourcery.com>
    Rhonda Wittels  <rhonda@codesourcery.com>

gas/
* config/tc-ppc.c (PPC_VLE_SPLIT16A): New macro.
(PPC_VLE_SPLIT16D): New macro.
(PPC_VLE_LO16A): New macro.
(PPC_VLE_LO16D): New macro.
(PPC_VLE_HI16A): New macro.
(PPC_VLE_HI16D): New macro.
(PPC_VLE_HA16A): New macro.
(PPC_VLE_HA16D): New macro.
(PPC_APUINFO_VLE): New definition.
(md_chars_to_number): New function.
(md_parse_option): Check for combinations of little
endian and -mvle.
(md_show_usage): Document -mvle.
(ppc_arch): Recognize VLE.
(ppc_mach): Recognize bfd_mach_ppc_vle.
(ppc_setup_opcodes): Print the opcode table if
* config/tc-ppc.h (ppc_frag_check): Declare.
* doc/c-ppc.texi: Document -mvle.
* NEWS:  Mention PowerPC VLE port.

2012-05-14  Catherine Moore  <clm@codesourcery.com>

gas/
* config/tc-ppc.h (ppc_dw2_line_min_insn_length): Declare.
(DWARF2_LINE_MIN_INSN_LENGTH): Redefine.
* config/tc-ppc.c (ppc_dw2_line_min_insn_length): New.
* dwarf2dbg.c (scale_addr_delta): Handle values of 1
for DWARF2_LINE_MIN_INSN_LENGTH.

2012-05-14  Catherine Moore  <clm@codesourcery.com>
            Maciej W. Rozycki  <macro@codesourcery.com>
    Rhonda Wittels  <rhonda@codesourcery.com>

gas/testsuite/
* gas/ppc/ppc.exp: Run new tests.
* gas/ppc/vle-reloc.d: New test.
* gas/ppc/vle-reloc.s: New test.
* gas/ppc/vle-simple-1.d: New test.
* gas/ppc/vle-simple-1.s: New test.
* gas/ppc/vle-simple-2.d: New test.
* gas/ppc/vle-simple-2.s: New test.
* gas/ppc/vle-simple-3.d: New test.
* gas/ppc/vle-simple-3.s: New test.
* gas/ppc/vle-simple-4.d: New test.
* gas/ppc/vle-simple-4.s: New test.
* gas/ppc/vle-simple-5.d: New test.
* gas/ppc/vle-simple-5.s: New test.
* gas/ppc/vle-simple-6.d: New test.
* gas/ppc/vle-simple-6.s: New test.
* gas/ppc/vle.d: New test.
* gas/ppc/vle.s: New test.

2012-05-14  James Lemke  <jwlemke@codesourcery.com>
include/elf/
* ppc.h (SEC_PPC_VLE): Remove.

2012-05-14  Catherine Moore  <clm@codesourcery.com>
    James Lemke  <jwlemke@codesourcery.com>

include/elf/
* ppc.h (R_PPC_VLE_REL8): New reloction.
(R_PPC_VLE_REL15): Likewise.
(R_PPC_VLE_REL24): Likewise.
(R_PPC_VLE_LO16A): Likewise.
(R_PPC_VLE_LO16D): Likewise.
(R_PPC_VLE_HI16A): Likewise.
(R_PPC_VLE_HI16D): Likewise.
(R_PPC_VLE_HA16A): Likewise.
(R_PPC_VLE_HA16D): Likewise.
(R_PPC_VLE_SDA21): Likewise.
(R_PPC_VLE_SDA21_LO): Likewise.
(R_PPC_VLE_SDAREL_LO16A): Likewise.
(R_PPC_VLE_SDAREL_LO16D): Likewise.
(R_PPC_VLE_SDAREL_HI16A): Likewise.
(R_PPC_VLE_SDAREL_HI16D): Likewise.
(R_PPC_VLE_SDAREL_HA16A): Likewise.
(R_PPC_VLE_SDAREL_HA16D): Likewise.
(SEC_PPC_VLE): Remove.
(PF_PPC_VLE): New program header flag.
(SHF_PPC_VLE): New section header flag.
(vle_opcodes, vle_num_opcodes): New.
(VLE_OP): New macro.
(VLE_OP_TO_SEG): New macro.

2012-05-14  Catherine Moore  <clm@codesourcery.com>
            Maciej W. Rozycki  <macro@codesourcery.com>
    Rhonda Wittels  <rhonda@codesourcery.com>

include/opcode/
* ppc.h (PPC_OPCODE_VLE): New definition.
(PPC_OP_SA): New macro.
(PPC_OP_SE_VLE): New macro.
(PPC_OP): Use a variable shift amount.
(powerpc_operand): Update comments.
(PPC_OPSHIFT_INV): New macro.
(PPC_OPERAND_CR): Replace with...
(PPC_OPERAND_CR_BIT): ...this and
(PPC_OPERAND_CR_REG): ...this.

2012-05-14  James Lemke  <jwlemke@codesourcery.com>

ld/
* ldlang.c (walk_wild_consider_section): Don't copy section_flag_list.
Pass it to callback.
(walk_wild_section_general): Pass section_flag_list to callback.
(lang_add_section): Add sflag_list parm.
Move out logic to keep / omit a section & call bfd_lookup_section_flags.
(output_section_callback_fast): Add sflag_list parm.
Add new parm to lang_add_section calls.
(output_section_callback): Likewise.
(check_section_callback): Add sflag_list parm.
(lang_place_orphans): Add new parm to lang_add_section calls.
(gc_section_callback): Add sflag_list parm.
(find_relro_section_callback): Likewise.
* ldlang.h (callback_t): Add flag_info parm.
(lang_add_section): Add sflag_list parm.
* emultempl/armelf.em (elf32_arm_add_stub_section):
Add lang_add_section parm.
* emultempl/beos.em (gld*_place_orphan): Likewise.
* emultempl/elf32.em (gld*_place_orphan): Likewise.
* emultempl/hppaelf.em (hppaelf_add_stub_section): Likewise.
* emultempl/m68hc1xelf.em (m68hc11elf_add_stub_section): Likewise.
* emultempl/mipself.em (mips_add_stub_section): Likewise.
* emultempl/mmo.em (mmo_place_orphan): Likewise.
* emultempl/pe.em (gld_*_place_orphan): Likewise.
* emultempl/pep.em (gld_*_place_orphan): Likewise.
* emultempl/ppc64elf.em (ppc_add_stub_section): Likewise.
* emultempl/spuelf.em (spu_place_special_section): Likewise.
* emultempl/vms.em (vms_place_orphan): Likewise.

2012-05-14  James Lemke  <jwlemke@codesourcery.com>

ld/testsuite/
* ld-powerpc/powerpc.exp: Create ppceabitests.
* ld-powerpc/vle-multiseg.s: New.
* ld-powerpc/vle-multiseg-1.d: New.
* ld-powerpc/vle-multiseg-1.ld: New.
* ld-powerpc/vle-multiseg-2.d: New.
* ld-powerpc/vle-multiseg-2.ld: New.
* ld-powerpc/vle-multiseg-3.d: New.
* ld-powerpc/vle-multiseg-3.ld: New.
* ld-powerpc/vle-multiseg-4.d: New.
* ld-powerpc/vle-multiseg-4.ld: New.
* ld-powerpc/vle-multiseg-5.d: New.
* ld-powerpc/vle-multiseg-5.ld: New.
* ld-powerpc/vle-multiseg-6.d: New.
* ld-powerpc/vle-multiseg-6.ld: New.
* ld-powerpc/vle-multiseg-6a.s: New.
* ld-powerpc/vle-multiseg-6b.s: New.
* ld-powerpc/vle-multiseg-6c.s: New.
* ld-powerpc/vle-multiseg-6d.s: New.
* ld-powerpc/powerpc.exp: Run new tests.

2012-05-14  Catherine Moore  <clm@codesourcery.com>

ld/
* NEWS:  Mention PowerPC VLE port.

2012-05-14  Catherine Moore  <clm@codesourcery.com>

ld/testsuite/
* ld-powerpc/apuinfo.rd: Update for VLE.
* ld-powerpc/vle-reloc-1.d: New.
* ld-powerpc/vle-reloc-1.s: New.
* ld-powerpc/vle-reloc-2.d: New.
* ld-powerpc/vle-reloc-2.s: New.
* ld-powerpc/vle-reloc-3.d: New.
* ld-powerpc/vle-reloc-3.s: New.
* ld-powerpc/vle-reloc-def-1.s: New.
* ld-powerpc/vle-reloc-def-2.s: New.
* ld-powerpc/vle-reloc-def-3.s: New.

2012-05-14  James Lemke  <jwlemke@codesourcery.com>

opcodes/
* ppc-dis.c (get_powerpc_dialect): Use is_ppc_vle.
(PPC_OPCD_SEGS, VLE_OPCD_SEGS): New defines.
(vle_opcd_indices): New array.
(lookup_vle): New function.
(disassemble_init_powerpc): Revise for second (VLE) opcode table.
(print_insn_powerpc): Likewise.
* ppc-opc.c: Likewise.

2012-05-14  Catherine Moore  <clm@codesourcery.com>
            Maciej W. Rozycki  <macro@codesourcery.com>
    Rhonda Wittels  <rhonda@codesourcery.com>
    Nathan Froyd <froydnj@codesourcery.com>

opcodes/
* ppc-opc.c (insert_arx, extract_arx): New functions.
(insert_ary, extract_ary): New functions.
(insert_li20, extract_li20): New functions.
(insert_rx, extract_rx): New functions.
(insert_ry, extract_ry): New functions.
(insert_sci8, extract_sci8): New functions.
(insert_sci8n, extract_sci8n): New functions.
(insert_sd4h, extract_sd4h): New functions.
(insert_sd4w, extract_sd4w): New functions.
(insert_vlesi, extract_vlesi): New functions.
(insert_vlensi, extract_vlensi): New functions.
(insert_vleui, extract_vleui): New functions.
(insert_vleil, extract_vleil): New functions.
  (BI_MASK, BB_MASK, BT): Use PPC_OPERAND_CR_BIT.
  (BI16, BI32, BO32, B8): New.
(B15, B24, CRD32, CRS): New.
  (CRD, OBF, BFA, CR, CRFS): Use PPC_OPERAND_CR_REG.
(DB, IMM20, RD, Rx, ARX, RY, RZ): New.
(ARY, SCLSCI8, SCLSCI8N, SE_SD, SE_SDH): New.
(SH6_MASK): Use PPC_OPSHIFT_INV.
(SI8, UI5, OIMM5, UI7, BO16): New.
(VLESIMM, VLENSIMM, VLEUIMM, VLEUIMML): New.
(XT6, XA6, XB6, XB6S, XC6): Use PPC_OPSHIFT_INV.
(ALLOW8_SPRG): New.
(insert_sprg, extract_sprg): Check ALLOW8_SPRG.
(OPVUP, OPVUP_MASK OPVUP): New
(BD8, BD8_MASK, BD8IO, BD8IO_MASK): New.
(EBD8IO, EBD8IO1_MASK, EBD8IO2_MASK, EBD8IO3_MASK): New.
(BD15, BD15_MASK, EBD15, EBD15_MASK, EBD15BI, EBD15BI_MASK): New.
(BD24,BD24_MASK, C_LK, C_LK_MASK, C, C_MASK): New.
  (IA16, IA16_MASK, I16A, I16A_MASK, I16L, I16L_MASK): New.
(IM7, IM7_MASK, LI20, LI20_MASK, SCI8, SCI8_MASK): New.
(SCI8BF, SCI8BF_MASK, SD4, SD4_MASK): New.
(SE_IM5, SE_IM5_MASK): New.
(SE_R, SE_R_MASK, SE_RR, SE_RR_MASK): New.
(EX, EX_MASK, BO16F, BO16T, BO32F, BO32T): New.
(BO32DNZ, BO32DZ): New.
(NO371, PPCSPE, PPCISEL, PPCEFS, MULHW): Include PPC_OPCODE_VLE.
(PPCVLE): New.
(powerpc_opcodes): Add new VLE instructions.  Update existing
instruction to include PPCVLE if supported.
* ppc-dis.c (ppc_opts): Add vle entry.
(get_powerpc_dialect): New function.
(powerpc_init_dialect): VLE support.
(print_insn_big_powerpc): Call get_powerpc_dialect.
(print_insn_little_powerpc): Likewise.
(operand_value_powerpc): Handle negative shift counts.
(print_insn_powerpc): Handle 2-byte instruction lengths.

12 years ago* DevNotes: Add entry cgf-000006.
Christopher Faylor [Sat, 12 May 2012 20:26:43 +0000 (20:26 +0000)]
* DevNotes: Add entry cgf-000006.
* thread.cc (pthread::pop_cleanup_handler): Set cancel state to disabled to
avoid recursively waiting for cancel.

12 years ago* DevNotes: Add entry cgf-000005.
Christopher Faylor [Sat, 12 May 2012 19:17:17 +0000 (19:17 +0000)]
* DevNotes: Add entry cgf-000005.
* fhandler.h (PIPE_ADD_PID): Redefine to something we actually DON'T use.
* pipe.cc (fhandler_pipe::create): Avoid clearing all open_mode bits when
checking for PIPE_ADD_PID.  Properly keep track of len so that passed in name
is not overwritten.

12 years agoMAINTAINERS: clarify policy with config/ (and other top level files)
Michael Frysinger [Sat, 12 May 2012 03:10:17 +0000 (03:10 +0000)]
MAINTAINERS: clarify policy with config/ (and other top level files)

Rather than copy & paste more text, just merge the existing config/
section with the existing intl/ section.  This ends up clarifying
the policy with that subdir (and top level files) that any commit
made to gcc's repo is allowed to be merged with the sourceware tree
without pre-approval.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years ago PR 13503
Nick Clifton [Fri, 11 May 2012 12:59:23 +0000 (12:59 +0000)]
PR 13503
* reloc.c: Add new ENUM for BFD_RELOC_AVR_8_LO,
BFD_RELOC_AVR_8_HI, BFD_RELOC_AVR_8_HHI.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenrate.
* elf32-avr.c (elf_avr_howto_table): Add entries for
R_AVR_8_LO8, R_AVR_8_HI8, R_AVR_8_HHI8.
(avr_reloc_map): Add RELOC mappings for R_AVR_8_LO8, R_AVR_8_HI8,
R_AVR_8_HHI8.

* config/tc-avr.c (exp_mod_pm): Remove variable.
(exp_mod_data_t): New typedef.
(pexp_mod_data, exp_mod_data): New variables.
(avr_parse_cons_expression): Scan through exp_mod_data[] to find
data expression modifiers "pm", "gs", "lo8", hi8", "hhi8", "hh8"
and set pexp_mod_data accordingly to be used in avr_cons_fix_new.
(avr_cons_fix_new): Handle new data expression modifiers shipped
in pexp_mod_data.
(md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI,
BFD_RELOC_AVR_8_HHI.

* elf/avr.h (RELOC_NUMBERS): Add values for R_AVR_8_LO8,
R_AVR_8_HI8, R_AVR_8_HHI8.

12 years ago PR bootstrap/50461
Nick Clifton [Thu, 10 May 2012 13:42:03 +0000 (13:42 +0000)]
PR bootstrap/50461
* configure.ac (mpfr-dir): When using in-tree MPFR sources
allow for the fact that from release v3.1.0 of MPFR the source
files were moved into a src sub-directory.
* configure: Regenerate.

12 years ago*** empty log message ***
Corinna Vinschen [Thu, 10 May 2012 08:37:56 +0000 (08:37 +0000)]
*** empty log message ***

12 years ago * new-features.sgml (ov-new1.7.16): Document memrchr.
Corinna Vinschen [Thu, 10 May 2012 08:36:44 +0000 (08:36 +0000)]
* new-features.sgml (ov-new1.7.16): Document memrchr.

12 years ago * cygwin.din (memrchr): Export.
Corinna Vinschen [Thu, 10 May 2012 08:35:22 +0000 (08:35 +0000)]
* cygwin.din (memrchr): Export.
* posix.sgml (std-gnu): Add memrchr.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

12 years ago * libc/include/string.h (memrchr): Declare.
Corinna Vinschen [Thu, 10 May 2012 08:34:08 +0000 (08:34 +0000)]
* libc/include/string.h (memrchr): Declare.
* libc/string/Makefile.am (ELIX_4_SOURCES): Add memrchr.c.
(CHEWOUT_FILES): Add memrchr.def.
* libc/string/Makefile.in: Regenerate.
* libc/string/memrchr.c: New file.

12 years ago * libc/sys/rtems/machine/_types.h: Add Microblaze.
Corinna Vinschen [Thu, 10 May 2012 06:59:58 +0000 (06:59 +0000)]
* libc/sys/rtems/machine/_types.h: Add Microblaze.

12 years ago * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 16.
Corinna Vinschen [Thu, 10 May 2012 06:51:40 +0000 (06:51 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 16.

12 years ago * libc/sys/rtems/crt0.c: Add stubs for access(), ftruncate(),
Corinna Vinschen [Wed, 9 May 2012 09:03:06 +0000 (09:03 +0000)]
* libc/sys/rtems/crt0.c: Add stubs for access(), ftruncate(),
_getpid_r(), geteuid(), getgid, _getgid_r, getpid(), getppid(),
and _getpid_r().

12 years ago * new-features.sgml (ov-new1.7.15): Fix XML syntax.
Yaakov Selkowitz [Wed, 9 May 2012 07:32:48 +0000 (07:32 +0000)]
* new-features.sgml (ov-new1.7.15): Fix XML syntax.

12 years agoAdd url for reported mailing list problem
Christopher Faylor [Tue, 8 May 2012 22:38:42 +0000 (22:38 +0000)]
Add url for reported mailing list problem

12 years agoRemove references to nonexistent files.
Keith Marshall [Tue, 8 May 2012 19:41:12 +0000 (19:41 +0000)]
Remove references to nonexistent files.

12 years ago* DevNotes: Add entry cgf-000004.
Christopher Faylor [Tue, 8 May 2012 15:06:43 +0000 (15:06 +0000)]
* DevNotes: Add entry cgf-000004.
* pinfo.cc (pinfo::init): Reuse shared memory if the state is marked with
PID_REAPED.
* spawn.cc (child_info_spawn::worker): Don't duplicate myself_pinfo into
non-cygwin child.
* fork.cc (frok::parent): Improve error output.

12 years agoAdd additional observation to cgf-000003
Christopher Faylor [Mon, 7 May 2012 15:28:40 +0000 (15:28 +0000)]
Add additional observation to cgf-000003

12 years ago* DevNotes: Add entry cgf-000003.
Christopher Faylor [Mon, 7 May 2012 15:05:56 +0000 (15:05 +0000)]
* DevNotes: Add entry cgf-000003.
* cygheap.h (init_cygheap::pid_handle): Delete.
* dcrt0.cc (child_info_spawn::handle_spawn): Keep parent open if we have
execed.
* pinfo.cc (pinfo::thisproc): Remove pid_handle manipulations.
(pinfo::init): Don't consider a reaped process to be available.
* spawn.cc (child_info_spawn::worker): Remove pid_handle manipulations.  Make
wr_proc_pipe and parent noninheritable when starting a program which doesn't
use the Cygwin DLL.  Conditionally reset wr_proc_pipe to inheritable if
CreateProcess fails.  Inject wr_proc_pipe handle into non-Cygwin process.
Consider a non-cygwin process to be 'synced'.

12 years ago* new-features.sgml (ov-new1.7.15): Fix tag.
Christopher Faylor [Mon, 7 May 2012 14:40:20 +0000 (14:40 +0000)]
* new-features.sgml (ov-new1.7.15): Fix tag.

12 years ago* cygwinenv.sgml: Add pipe_byte description.
Christopher Faylor [Sun, 6 May 2012 18:59:46 +0000 (18:59 +0000)]
* cygwinenv.sgml: Add pipe_byte description.
* new-features.sgml (ov-new1.7.15): Add new pipe_byte description for 1.7.15.

12 years ago*** empty log message ***
Corinna Vinschen [Sun, 6 May 2012 08:13:58 +0000 (08:13 +0000)]
*** empty log message ***

12 years ago * mkpasswd.c (current_user): Actually *use* $HOME if it's available.
Corinna Vinschen [Sat, 5 May 2012 08:55:17 +0000 (08:55 +0000)]
* mkpasswd.c (current_user): Actually *use* $HOME if it's available.
Add comment to explain what we're doing here.

12 years ago* DevNotes: Add entry cgf-000002.
Christopher Faylor [Fri, 4 May 2012 03:00:43 +0000 (03:00 +0000)]
* DevNotes: Add entry cgf-000002.
* fhandler_tty.cc (bytes_available): Revert to previous Oct-2011 behavior where
a dummy buffer is used to determine how many bytes will be read.
(fhandler_pty_master::ioctl): Correct coercion in assignment.

12 years agoAdd support for Motorola XGATE embedded CPU
Nick Clifton [Thu, 3 May 2012 13:12:06 +0000 (13:12 +0000)]
Add support for Motorola XGATE embedded CPU

12 years ago * net.cc (get_adapters_addresses): Only create thread on affected
Corinna Vinschen [Thu, 3 May 2012 08:34:44 +0000 (08:34 +0000)]
* net.cc (get_adapters_addresses): Only create thread on affected
systems.  Change comment acordingly.
* wincap.h (wincaps::has_gaa_largeaddress_bug): New element.
* wincap.cc: Implement above element throughout.
(wincap_8): New globale wincaps to support Windows 8.
(wincapc::init): Take Windows 8 into account.  Set new
has_gaa_largeaddress_bug member to false on 32 bit systems.

12 years ago * testsuite/newlib.string/strcmp-1.c (LONG_TEST): New macro.
Corinna Vinschen [Thu, 3 May 2012 08:13:17 +0000 (08:13 +0000)]
* testsuite/newlib.string/strcmp-1.c (LONG_TEST): New macro.
(MAX_BLOCK_SIZE): Use small value when LONG_TEST is not set.
(MAX_DIFF, MAX_LEN, MAX_ZEROS) Likewise.

12 years ago * configure.ac (ENABLE_GOLD): Consider *-*-nacl* targets ELF.
Roland McGrath [Wed, 2 May 2012 21:37:22 +0000 (21:37 +0000)]
* configure.ac (ENABLE_GOLD): Consider *-*-nacl* targets ELF.
* configure: Regenerate.

gold/
* nacl.cc: New file.
* nacl.h: New file.
* Makefile.am (CCFILES, HFILES): Add them.
* Makefile.in: Regenerate.
* i386.cc (Output_data_plt_i386_nacl): New class.
(Output_data_plt_i386_nacl_exec): New class.
(Output_data_plt_i386_nacl_dyn): New class.
(Target_i386_nacl): New class.
(Target_selector_i386_nacl): New class.
(target_selector_i386): Use it instead of Target_selector_i386.
* x86_64.cc (Output_data_plt_x86_64_nacl): New class.
(Target_x86_64_nacl): New class.
(Target_selector_x86_64_nacl): New class.
(target_selector_x86_64, target_selector_x32): Use it instead of
Target_selector_x86_64.
* arm.cc (Output_data_plt_arm_nacl): New class.
(Target_arm_nacl): New class.
(Target_selector_arm_nacl): New class.
(target_selector_arm, target_selector_armbe): Use it instead of
Target_selector_arm.

* target-select.cc (select_target): Take new Input_file* and off_t
arguments, pass them on to recognize method of selector.
* object.cc (make_elf_sized_object): Update caller.
* parameters.cc (parameters_force_valid_target): Likewise.
* incremental.cc (make_sized_incremental_binary): Likewise.
* target-select.h: Update decl.
(Target_selector::recognize): Take new Input_file* argument,
pass it on to do_recognize.
(Target_selector::do_recognize): Take new Input_file* argument.
* freebsd.h (Target_selector_freebsd::do_recognize): Likewise.
* powerpc.cc (Target_selector_powerpc::do_recognize): Likewise.
* sparc.cc (Target_selector_sparc::do_recognize): Likewise.
* testsuite/testfile.cc (Target_selector::do_recognize): Likewise.

* target.h (Target::Target_info): New members isolate_execinstr
and rosegment_gap.
(Target::isolate_execinstr, Target::rosegment_gap): New methods.
* arm.cc (Target_arm::arm_info): Update initializer.
* i386.cc (Target_i386::i386_info): Likewise.
* powerpc.cc (Target_powerpc::powerpc_info): Likewise.
* sparc.cc (Target_sparc::sparc_info): Likewise.
* x86_64.cc (Target_x86_64::x86_64_info): Likewise.
* testsuite/testfile.cc (Target_test::test_target_info): Likewise.
* layout.cc (Layout::attach_allocated_section_to_segment):
Take new const Target* argument.  If target->isolate_execinstr(), act
like --rosegment.
(Layout::find_first_load_seg): Take new const Target* argument;
if target->isolate_execinstr(), reject PF_X segments.
(Layout::relaxation_loop_body): Update caller.
(Layout::set_segment_offsets): If target->isolate_execinstr(),
reset file offset to zero when we hit LOAD_SEG, and then do a second
loop over the segments before LOAD_SEG to reassign offsets after
addresses have been determined.  Handle target->rosegment_gap().
(Layout::attach_section_to_segment): Take new const Target* argument;
pass it to attach_allocated_section_to_segment.
(Layout::make_output_section): Update caller.
(Layout::attach_sections_to_segments): Take new const Target* argument;
pass it to attach_section_to_segment.
* gold.cc (queue_middle_tasks): Update caller.
* layout.h (Layout): Update method decls with new arguments.

* arm.cc (Target_arm::Target_arm): Take optional argument for the
Target_info pointer to use.
(Target_arm::do_make_data_plt): New virtual method.
(Target_arm::make_data_plt): New method that calls it.
(Target_arm::make_plt_entry): Use it.
(Output_data_plt_arm::Output_data_plt_arm): Take additional argument
for the section alignment.
(Output_data_plt_arm::do_first_plt_entry_offset): New abstract virtual
method.
(Output_data_plt_arm::first_plt_entry_offset): Call it.
(Output_data_plt_arm::do_get_plt_entry_size): New abstract virtual
method.
(Output_data_plt_arm::get_plt_entry_size): Call it.
(Output_data_plt_arm::do_fill_plt_entry): New abstract virtual method.
(Output_data_plt_arm::fill_plt_entry): New method that calls it.
(Output_data_plt_arm::do_fill_first_plt_entry): New abstract virtual
method.
(Output_data_plt_arm::fill_first_plt_entry): New method that calls it.
(Output_data_plt_arm::set_final_data_size): Use get_plt_entry_size
method instead of sizeof(plt_entry).
(Output_data_plt_arm::add_entry): Likewise.
Use first_plt_entry_offset method instead of sizeof(first_plt_entry).
(Target_arm::first_plt_entry_offset): Call method on this->plt_ rather
than static method.
(Target_arm::plt_entry_size): Likewise.
(Output_data_plt_arm::first_plt_entry, Output_data_plt_arm::plt_entry):
Move to ...
(Output_data_plt_arm_standard): ... here, new class.
(Output_data_plt_arm::do_write): Move guts of PLT filling to...
(Output_data_plt_arm_standard::do_fill_first_plt_entry): ... here ...
(Output_data_plt_arm_standard::do_fill_plt_entry): ... and here.

* x86_64.cc (Output_data_plt_x86_64::Output_data_plt_x86_64):
Take additional argument for the PLT entry size.
(Output_data_plt_x86_64::get_tlsdesc_plt_offset):
Use get_plt_entry_size method rather than plt_entry_size variable.
(Output_data_plt_x86_64::reserve_slot): Likewise.
(Output_data_plt_x86_64::do_adjust_output_section): Likewise.
(Output_data_plt_x86_64::add_entry): Likewise.
(Output_data_plt_x86_64::add_local_ifunc_entry): Likewise.
(Output_data_plt_x86_64::address_for_global): Likewise.
(Output_data_plt_x86_64::address_for_local): Likewise.
(Output_data_plt_x86_64::set_final_data_size): Likewise.
(Output_data_plt_x86_64::first_plt_entry_offset): Likewise.
Make method non-static.
(Output_data_plt_x86_64::do_get_plt_entry_size): New abstract virtual
method.
(Output_data_plt_x86_64::get_plt_entry_size): Just call that.
(Output_data_plt_x86_64::do_add_eh_frame): New abstract virtual method.
(Output_data_plt_x86_64::add_eh_frame): New method to call it.
(Output_data_plt_x86_64::do_fill_first_plt_entry): New abstract
virtual method.
(Output_data_plt_x86_64::fill_first_plt_entry): New method to call it.
(Output_data_plt_x86_64::do_fill_plt_entry): New abstract
virtual method.
(Output_data_plt_x86_64::fill_plt_entry): New method to call it.
(Output_data_plt_x86_64::do_fill_tlsdesc_entry): New abstract
virtual method.
(Output_data_plt_x86_64::fill_tlsdesc_entry): New method to call it.
(Output_data_plt_x86_64::plt_entry_size)
(Output_data_plt_x86_64::first_plt_entry)
(Output_data_plt_x86_64::plt_entry)
(Output_data_plt_x86_64::tlsdesc_plt_entry)
(Output_data_plt_x86_64::plt_eh_frame_fde_size)
(Output_data_plt_x86_64::plt_eh_frame_fde): Move to ...
(Output_data_plt_x86_64_standard): ... here, new class.
(Target_x86_64::Target_x86_64): Take optional argument for the
Target_info pointer to use.
(Target_x86_64::do_make_data_plt): New virtual method.
(Target_x86_64::make_data_plt): New method to call it.
(Target_x86_64::init_got_plt_for_update): Use that.
Call this->plt_->add_eh_frame method here.
(Output_data_plt_x86_64::init): Don't do add_eh_frame_for_plt here.
(Target_x86_64::first_plt_entry_offset): Call method on this->plt_
rather than static method.
(Target_x86_64::plt_entry_size): Likewise.
(Output_data_plt_x86_64::do_write): Use get_plt_entry_size method
rather than plt_entry_size variable.  Move guts of PLT filling to...
(Output_data_plt_x86_64_standard::do_fill_first_plt_entry): ... here ...
(Output_data_plt_x86_64_standard::do_fill_plt_entry): ... and here ...
(Output_data_plt_x86_64_standard::do_fill_tlsdesc_entry): ... and here.

* i386.cc (Output_data_plt_i386::Output_data_plt_i386): Take
additional argument for the section alignment.
Don't do add_eh_frame_for_plt here.
(Output_data_plt_i386::first_plt_entry_offset): Make the method
non-static.  Use get_plt_entry_size method rather than plt_entry_size
variable.
(Output_data_plt_i386::do_get_plt_entry_size): New abstract virtual
method.
(Output_data_plt_i386::get_plt_entry_size): Call it.
(Output_data_plt_i386::do_add_eh_frame): New abstract virtual method.
(Output_data_plt_i386::add_eh_frame): New method to call it.
(Output_data_plt_i386::do_fill_first_plt_entry): New abstract virtual
method.
(Output_data_plt_i386::fill_first_plt_entry): New method to call it.
(Output_data_plt_i386::do_fill_plt_entry): New abstract virtual
method.
(Output_data_plt_i386::fill_plt_entry): New method to call it.
(Output_data_plt_i386::set_final_data_size): Use get_plt_entry_size
method instead of plt_entry_size.
(Output_data_plt_i386::plt_entry_size)
(Output_data_plt_i386::plt_eh_frame_fde_size)
(Output_data_plt_i386::plt_eh_frame_fde): Move to ...
(Output_data_plt_i386_standard): ... here, new class.
(Output_data_plt_i386_exec): New class.
(Output_data_plt_i386::exec_first_plt_entry): Move to ...
(Output_data_plt_i386_exec::first_plt_entry): ... here.
(Output_data_plt_i386::exec_plt_entry): Move to ...
(Output_data_plt_i386_exec::plt_entry): ... here.
(Output_data_plt_i386_dyn): New class.
(Output_data_plt_i386::first_plt_entry): Move to ...
(Output_data_plt_i386_dyn::first_plt_entry): ... here.
(Output_data_plt_i386::dyn_plt_entry): Move to ...
(Output_data_plt_i386_dyn::plt_entry): ... here.
(Target_i386::Target_i386): Take optional argument for the Target_info
pointer to use.
(Target_i386::do_make_data_plt): New virtual method.
(Target_i386::make_data_plt): New method to call it.
(Target_i386::make_plt_section): Use that.
Call this->plt_->add_eh_frame method here.
(Output_data_plt_i386::add_entry): Use get_plt_entry_size method
rather than plt_entry_size variable.
(Output_data_plt_i386::add_local_ifunc_entry): Likewise.
(Output_data_plt_i386::address_for_local): Likewise.
(Output_data_plt_i386::do_write): Likewise.
Move guts of PLT filling to...
(Output_data_plt_i386_exec::do_fill_first_plt_entry): ... here ...
(Output_data_plt_i386_exec::do_fill_plt_entry): ... and here ...
(Output_data_plt_i386_dyn::do_fill_first_plt_entry): ... and here ...
(Output_data_plt_i386_dyn::do_fill_plt_entry): ... and here.

Change-Id: Id24b95600489835ff5e860a39c147203d4380c2b

12 years agoReflect ChangeNotes -> DevNotes
Christopher Faylor [Wed, 2 May 2012 20:39:31 +0000 (20:39 +0000)]
Reflect ChangeNotes -> DevNotes

12 years agoinclude/
Cary Coutant [Wed, 2 May 2012 18:33:43 +0000 (18:33 +0000)]
include/

* dwarf2.def: Remove DW_FORM_GNU_ref_index,
replace DW_AT_GNU_ref_base with DW_AT_GNU_ranges_base.

12 years ago.
Christopher Faylor [Wed, 2 May 2012 16:48:13 +0000 (16:48 +0000)]
.

12 years ago* ChangeNotes: New file. Add entry cgf-000001.
Christopher Faylor [Wed, 2 May 2012 16:39:39 +0000 (16:39 +0000)]
* ChangeNotes: New file.  Add entry cgf-000001.
* sigproc.cc (proc_terminate): Don't set parent pid of child to 1 if we've
execed since the execed process is still considered the parent.
* child_info.h: Bump copyright.

12 years ago * arm/redboot-crt0.S (__change_mode): Replace mov with movs.
Corinna Vinschen [Wed, 2 May 2012 08:09:45 +0000 (08:09 +0000)]
* arm/redboot-crt0.S (__change_mode): Replace mov with movs.

12 years ago * fenv.cc (fesetround): Fix test for valid input parameter.
Corinna Vinschen [Wed, 2 May 2012 07:42:08 +0000 (07:42 +0000)]
* fenv.cc (fesetround): Fix test for valid input parameter.
(fesetprec): Ditto.

12 years ago* fhandler.h (PIPE_ADD_PID): Define new flag.
Christopher Faylor [Mon, 30 Apr 2012 15:38:45 +0000 (15:38 +0000)]
* fhandler.h (PIPE_ADD_PID): Define new flag.
* pipe.cc (fhandler_pipe::create): Don't indiscriminately add process id to
every pipe since some pipe names (fifo, tty) don't need it.
* sigproc.cc (sigproc_init): Pass PIPE_ADD_PID to fhandler_pipe::create to
ensure that pid is always part of sigwait pipe name.

12 years ago2012-04-29 Jan Ringos <tringi@users.sf.net>
Chris Sutcliffe [Mon, 30 Apr 2012 00:44:48 +0000 (00:44 +0000)]
2012-04-29  Jan Ringos  <tringi@users.sf.net>

        * include/winbase.h (GetModuleHandleEx[A/W]): Correct version guard.

12 years ago2012-04-28 LRN <l_r_nightmare@users.sf.net>
Chris Sutcliffe [Sun, 29 Apr 2012 02:43:40 +0000 (02:43 +0000)]
2012-04-28  LRN  <l_r_nightmare@users.sf.net>

        * include/shobjidl.h: New file.
        * lib/shobjidl-uuid.c: New file.
        * lib/Makefile.in: Reference shobjidl-uuid.c.

12 years ago * dwarf2.def (DW_OP): Add DW_OP_GNU_addr_index.
Doug Evans [Sat, 28 Apr 2012 21:41:06 +0000 (21:41 +0000)]
* dwarf2.def (DW_OP): Add DW_OP_GNU_addr_index.

12 years ago* environ.cc (struct parse_thing): Add temporary (?) "pipe_byte" option.
Christopher Faylor [Sat, 28 Apr 2012 19:49:58 +0000 (19:49 +0000)]
* environ.cc (struct parse_thing): Add temporary (?) "pipe_byte" option.
* globals.cc (pipe_byte): Declare.
* pipe.cc (fhandler_pipe::create): Use current process id in pipe name rather
than pid for simple name collision avoidance.  Do this only once to avoid extra
overhead when a busy pipe is found.  Honor pipe_byte to create non-message
pipes if set.
* sigproc.cc (sigproc_init): Use a specific name for the signal pipe.

12 years agomerge from gcc
DJ Delorie [Fri, 27 Apr 2012 18:03:18 +0000 (18:03 +0000)]
merge from gcc

12 years agoAdd support for SPARC T4 crypto instructions.
David S. Miller [Fri, 27 Apr 2012 18:02:35 +0000 (18:02 +0000)]
Add support for SPARC T4 crypto instructions.

include/opcode/

* sparc.h: Document new arg code' )' for crypto RS3
immediates.

opcodes/

* sparc-dis.c (print_insn_sparc): Handle ')'.
* sparc-opc.c (sparc_opcodes): Add crypto instructions.

gas/

* config/tc-sparc.c (sparc_ip): Likewise.  Accept instruction
names containing "_".
(sparc_arch_table): Add sparc4, v8pluse, and v9e.  Add crypto
hwcap masks to v8plusv and v9v.

gas/testsuite/

* gas/sparc/crypto.s: New file.
* gas/sparc/crypto.d: New file.
* gas/sparc/sparc.exp: Run crypto test.

12 years agoMove sparc opcode hwcaps out of sparc_opcode flags field.
David S. Miller [Fri, 27 Apr 2012 18:01:35 +0000 (18:01 +0000)]
Move sparc opcode hwcaps out of sparc_opcode flags field.

include/opcode/

* sparc.h (struct sparc_opcode): New field 'hwcaps'.
F_MUL32, F_DIV32, F_FDMULD, F_V8PLUS, F_POPC, F_VIS, F_VIS2,
F_ASI_BLK_INIT, F_FMAF, F_VIS3, F_HPC, F_RANDOM, F_TRANS,
F_FJFMAU, F_IMA, F_ASI_CACHE_SPARING, F_HWCAP_MASK): Delete.
(HWCAP_MUL32, HWCAP_DIV32, HWCAP_FSMULD, HWCAP_V8PLUS, HWCAP_POPC,
HWCAP_VIS, HWCAP_VIS2, HWCAP_ASI_BLK_INIT, HWCAP_FMAF,
HWCAP_VIS3, HWCAP_HPC, HWCAP_RANDOM, HWCAP_TRANS, HWCAP_FJFMAU,
HWCAP_IMA, HWCAP_ASI_CACHE_SPARING, HWCAP_AES, HWCAP_DES,
HWCAP_KASUMI, HWCAP_CAMELLIA, HWCAP_MD5, HWCAP_SHA1,
HWCAP_SHA256, HWCAP_SHA512, HWCAP_MPMUL, HWCAP_MONT, HWCAP_PAUSE,
HWCAP_CBCOND, HWCAP_CRC32): New defines.

opcodes/

* sparc-opc.c (sparc_opcodes): Rework table to put HWCAP values
into new struct sparc_opcode 'hwcaps' field instead of 'flags'.

gas/

* config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_*
masks.
(sparc_md_end): No longer need to translate hwcap_seen values into
ELF hwcap bits, they now match exactly.
(get_hwcap_name): Use HWCAP_* and handle new values.
(sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags.

12 years agoAdd new ELF_SPARC_HWCAP_* defines for features found on SPARC-T4.
David S. Miller [Fri, 27 Apr 2012 18:00:52 +0000 (18:00 +0000)]
Add new ELF_SPARC_HWCAP_* defines for features found on SPARC-T4.

include/elf/

* sparc.h: Add new ELF_SPARC_HWCAP_* defines for crypto,
pause, and compare-and-branch instructions.

12 years ago * path.cc (find_fast_cwd_pointer): Fix for W8 CP 32 bit.
Corinna Vinschen [Fri, 27 Apr 2012 12:07:15 +0000 (12:07 +0000)]
* path.cc (find_fast_cwd_pointer): Fix for W8 CP 32 bit.

12 years agoUpdate config.sub to 2012-04-18 version.
Joel Brobecker [Wed, 25 Apr 2012 15:53:25 +0000 (15:53 +0000)]
Update config.sub to 2012-04-18 version.

ChangeLog:

        * config.sub: Update to 2012-04-18 version from official repo.

12 years ago * new-features.sgml (ov-new1.7.14): Add mouse reporting mode 1005.
Corinna Vinschen [Wed, 25 Apr 2012 07:34:34 +0000 (07:34 +0000)]
* new-features.sgml (ov-new1.7.14): Add mouse reporting mode 1005.

12 years ago*** empty log message ***
Corinna Vinschen [Wed, 25 Apr 2012 07:33:03 +0000 (07:33 +0000)]
*** empty log message ***

12 years ago * fhandler.h (class dev_console): Add member ext_mouse_mode5.
Corinna Vinschen [Wed, 25 Apr 2012 07:25:00 +0000 (07:25 +0000)]
* fhandler.h (class dev_console): Add member ext_mouse_mode5.
* fhandler_console.cc (fhandler_console::read): Implement extended
mouse mode 1005 (xterm, mintty).
Fix actual mouse reporting for large coordinates.

12 years ago * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 15.
Corinna Vinschen [Tue, 24 Apr 2012 16:05:20 +0000 (16:05 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 15.

12 years ago * new-features.sgml (ov-new1.7.14): New section. Add new console mouse
Corinna Vinschen [Tue, 24 Apr 2012 14:42:51 +0000 (14:42 +0000)]
* new-features.sgml (ov-new1.7.14): New section.  Add new console mouse
reporting modes.

12 years ago * fhandler_console.cc (ALT_PRESSED): Define earlier, never undefine.
Corinna Vinschen [Tue, 24 Apr 2012 14:39:22 +0000 (14:39 +0000)]
* fhandler_console.cc (ALT_PRESSED): Define earlier, never undefine.
(CTRL_PRESSED): Ditto.
(fhandler_console::read): Simplify expressions testing for pressed ALT
or CTRL modifier keys.
(get_nonascii_key): Ditto.

12 years ago*** empty log message ***
Corinna Vinschen [Tue, 24 Apr 2012 14:31:35 +0000 (14:31 +0000)]
*** empty log message ***

12 years ago * fhandler.h (class dev_console): Add members ext_mouse_mode6 and
Corinna Vinschen [Tue, 24 Apr 2012 14:29:37 +0000 (14:29 +0000)]
* fhandler.h (class dev_console): Add members ext_mouse_mode6 and
ext_mouse_mode15.
* fhandler_console.cc (fhandler_console::read): Implement extended
mouse modes 1015 (urxvt, mintty, xterm) and 1006 (xterm).  Recognize,
but don't implement extended mouse mode 1005 (xterm, mintty).
Support mouse coordinates greater than 222 (each axis).  Fix formatting.
(fhandler_console::char_command): Initialize enhanced mouse reporting
modes.

12 years ago * configure: Regenerate.
Yaakov Selkowitz [Tue, 24 Apr 2012 08:55:41 +0000 (08:55 +0000)]
* configure: Regenerate.

12 years ago * faq-using.xml (faq.using.emacs, faq.using.xemacs): Change links
Yaakov Selkowitz [Mon, 23 Apr 2012 22:10:37 +0000 (22:10 +0000)]
* faq-using.xml (faq.using.emacs, faq.using.xemacs): Change links
from http://cygwin.com/xfree to http://x.cygwin.com.

12 years ago * faq-programming.xml (faq.programming.objective-c): Update for gcc4.
Yaakov Selkowitz [Mon, 23 Apr 2012 21:46:46 +0000 (21:46 +0000)]
* faq-programming.xml (faq.programming.objective-c): Update for gcc4.
(faq.programming.win32-api): -mwindows does include -lcomdlg32.
(faq.programming.win32-no-cygwin): Update for removal of -mno-cygwin.
* overview2.sgml (ov-ex-win): Ditto.

12 years agoadd in preparation for release
Christopher Faylor [Mon, 23 Apr 2012 15:18:54 +0000 (15:18 +0000)]
add in preparation for release

12 years ago* dtable.cc (fh_alloc): Only disallow opening of nonexistent on-disk device.
Christopher Faylor [Sat, 21 Apr 2012 19:52:11 +0000 (19:52 +0000)]
* dtable.cc (fh_alloc): Only disallow opening of nonexistent on-disk device.
* path.cc (path_conv::check): Remove PATH_KEPT_HANDLE setting.
* path.h (path_types): Remove PATH_KEPT_HANDLE.
(path_conv::kept_handle): Delete now-unneeded function.

12 years ago* dtable.cc (fh_alloc): Keep fh which was flagged as error if it is for an
Christopher Faylor [Thu, 19 Apr 2012 17:21:32 +0000 (17:21 +0000)]
* dtable.cc (fh_alloc): Keep fh which was flagged as error if it is for an
on-disk device and we were stating it.
* path.cc (path_conv::check): Set PATH_KEPT_HANDLE.
* path.h (path_types): Add PATH_KEPT_HANDLE.
(path_conv::kept_handle): Implement.

12 years ago* fhandler.h (fhandler_base::nohandle): Revert to standard implementation.
Christopher Faylor [Wed, 18 Apr 2012 05:57:38 +0000 (05:57 +0000)]
* fhandler.h (fhandler_base::nohandle): Revert to standard implementation.
* dtable.cc (dtable::fixup_after_exec): Specifically reject releasing
nohandle() type fhandlers rather than relying on contents of io_handle.
(dtable::fixup_after_fork): Ditto.
* fhandler_termios.cc: Add includes necessary for definitions of have_execed
and have_execed_cygwin.
(fhandler_termios::sigflush): Don't flush console input when we've started a
non-Cygwin process.

12 years agoreformat
Christopher Faylor [Sun, 15 Apr 2012 17:56:50 +0000 (17:56 +0000)]
reformat

12 years agowincap.h: Rename assitant to assistant throughout. wincap.cc: Ditto.
Christopher Faylor [Sun, 15 Apr 2012 17:51:22 +0000 (17:51 +0000)]
wincap.h: Rename assitant to assistant throughout.  wincap.cc: Ditto.
* devices.in (exists_console): Use fhandler_console::exists () rather than raw
test.
* devices.cc: Regenerate.
* fhandler.h (fhandler_console::exists): Define new function.
* fhandler_console.cc (fhandler_console::need_invisible): Use
fhandler_console::exists () rather than raw test.
* spawn.cc: Rename assitant to assistant throughout.
(child_info_spawn::worker): Simplify test for when to start a non-Cygwin
process in its own process group.  Just do it whenever we start a non-Cygwin
process.

12 years agoclarify latest entry
Christopher Faylor [Fri, 13 Apr 2012 05:05:42 +0000 (05:05 +0000)]
clarify latest entry

12 years ago* devices.in (exists_console): Allow /dev/con{sole,in,out} to be referenced
Christopher Faylor [Fri, 13 Apr 2012 02:30:51 +0000 (02:30 +0000)]
* devices.in (exists_console): Allow /dev/con{sole,in,out} to be referenced
they exist.
* devices.cc: Regenerate.
* fhandler_console.cc (fhandler_console::set_unit): Ditto.

12 years agoSupport R_SPARC_WDISP10 and R_SPARC_H34.
David S. Miller [Thu, 12 Apr 2012 16:26:04 +0000 (16:26 +0000)]
Support R_SPARC_WDISP10 and R_SPARC_H34.

include/

* elf/sparc.h (R_SPARC_WDISP10): New reloc.
* opcode/sparc.h: Define '=' as generating R_SPARC_WDISP10.

opcodes/

* sparc-dis.c (X_DISP10): Define.
(print_insn_sparc): Handle '='.

bfd/

* reloc.c (BFD_RELOC_SPARC_H34, BFD_RELOC_SPARC_SIZE32,
BFD_RELOC_SPARC_SIZE64, BFD_RELOC_SPARC_WDISP10): New relocs.
* libbfd.h: Regenerate.
* bfd-in2.h: Likewise.
* elfxx-sparc.c (sparc_elf_wdisp10_reloc): New function.
(_bfd_sparc_elf_howto_table): Add entries for R_SPARC_H34,
R_SPARC_SIZE32, R_SPARC_64, and R_SPARC_WDISP10.
(_bfd_sparc_elf_reloc_type_lookup): Handle new relocs.
(_bfd_sparc_elf_check_relocs): Likewise.
(_bfd_sparc_elf_gc_sweep_hook): Likewise.
(_bfd_sparc_elf_relocate_section): Likewise.

gas/

* config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
BFD_RELOC_SPARC_H34.
(md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
(tc_gen_reloc): Likewise.

gas/testsuite/

* gas/sparc/reloc64.s: Add abs34 code model tests.
* gas/sparc/reloc64.d: Update.

elfcpp/

* sparc.h (R_SPARC_WDISP10): New relocation.

gold/

* sparc.cc (Reloc::wdisp10): New relocation method.
(Reloc::h34): Likewise.
(Target_sparc::Scan::check_non_pic): Handle R_SPARC_H34.
(Target_sparc::Scan::get_reference_flags): Handle R_SPARC_H34 and
R_SPARC_WDISP10.
(Target_sparc::Scan::local): Likewise.
(Target_sparc::Scan::global): Likewise.
(Target_sparc::Relocate::relocate): Likewise.

12 years ago * configure.ac (ia64*-*-*vms*): Add support for ld.
Nick Clifton [Thu, 12 Apr 2012 07:34:57 +0000 (07:34 +0000)]
* configure.ac (ia64*-*-*vms*): Add support for ld.
* configure: Regenerate.

* scripttempl/ia64vms.sc: New file.
* emultempl/vms.em (_before_parse): Support for ia64.
(elf64-ia64-vms): New fragment for ia64.
* emulparams/elf64_ia64_vms.sh: New file.
* configure.tgt (ia64-*-*vms*): Add.
* Makefile.am (ALL_64_EMULATION_SOURCES): Add eelf64_ia64_vms.c
(eelf64_ia64_vms.c): New rule.
* Makefile.in: Regenerate.

* elflink.c (elf_link_output_extsym): Add a guard.
(bfd_elf_final_link): Remove assertion.
(bfd_elf_final_link): Add a guard.
* elfnn-ia64.c (INCLUDE_IA64_VMS): Removed.
(elfNN_vms_section_from_shdr, elfNN_vms_object_p)
(elfNN_vms_post_process_headers, elfNN_vms_section_processing)
(elfNN_vms_final_write_processing, elfNN_vms_close_and_cleanup):
Remove.
(elfNN-ia64-vms target): Move to ...
* elf64-ia64-vms.c: New file.
* configure.in (bfd_elf64_ia64_vms_vec): Add elf64-ia64-vms.lo
* Makefile.am (BFD64_BACKENDS): Add elf64-ia64-vms.lo.
(BFD64_BACKENDS_CFILES): Ad elf64-ia64-vms.c.
* configure: Regenerate.
* Makefile.in: Regenerate.

12 years agogdb: add callback defines for new ARGV handling
Michael Frysinger [Thu, 12 Apr 2012 05:33:15 +0000 (05:33 +0000)]
gdb: add callback defines for new ARGV handling

The common sim code has slightly unfinished support for these already,
but even arch ports are unable to handle these if the common header does
not define them.  This is because the generated callback header includes
simple common gdb/sim headers only which causes it to skip the new ARGV
syscalls.  Plus, it isn't like providing these in the common header will
break any sim targets which don't want them.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
12 years ago * syscalls.cc (fhandler_base::stat_fixup): Fix inode numbers of
Corinna Vinschen [Wed, 11 Apr 2012 08:49:52 +0000 (08:49 +0000)]
* syscalls.cc (fhandler_base::stat_fixup): Fix inode numbers of
non-device files in virtual fileysystems.

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