OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
18 years ago* dcrt0.cc (dll_crt0_0): Don't bother with setting init_console_handler here
cgf [Mon, 20 Mar 2006 01:11:30 +0000 (01:11 +0000)]
* dcrt0.cc (dll_crt0_0): Don't bother with setting init_console_handler here
since it will be set later when we discover if we have a ctty or not.
* exceptions.cc (init_console_handler): Properly remove NULL handler.

18 years ago * hppa.h (SHF_HP_TLS, SHF_HP_NEAR_SHARED, SHF_HP_FAR_SHARED,
danglin [Mon, 20 Mar 2006 01:07:29 +0000 (01:07 +0000)]
* hppa.h (SHF_HP_TLS, SHF_HP_NEAR_SHARED, SHF_HP_FAR_SHARED,
SHF_HP_COMDAT, SHF_HP_CONST, SHN_TLS_COMMON, SHN_NS_COMMON,
SHN_NS_UNDEF, SHN_FS_UNDEF, SHN_HP_EXTERN, SHN_HP_EXTHINT,
SHN_HP_UNDEF_BIND_IMM, SHT_HP_OVLBITS, SHT_HP_DLKM, SHT_HP_COMDAT,
SHT_HP_OBJDICT, SHT_HP_ANNOT, STB_HP_ALIAS): Define.

18 years ago*** empty log message ***
gdbadmin [Mon, 20 Mar 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sun, 19 Mar 2006 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago2006-03-20 Paul Brook <paul@codesourcery.com>
pbrook [Sun, 19 Mar 2006 22:27:19 +0000 (22:27 +0000)]
2006-03-20  Paul Brook  <paul@codesourcery.com>

* BRANCHES: Mention binutils-csl-arm-2006q1-branch.

18 years ago*** empty log message ***
gdbadmin [Sun, 19 Mar 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sat, 18 Mar 2006 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago* pinfo.h (EXITCODE_OK): Define new constant.
cgf [Sat, 18 Mar 2006 19:28:58 +0000 (19:28 +0000)]
* pinfo.h (EXITCODE_OK): Define new constant.
* sigproc.cc (child_info::sync): Return EXITCODE_OK if entering with exit_code
== 0.
(sig_send): Don't complain if sending signals while blocked if the sender isn't
in the main thread.

18 years ago* child_info.h (CURR_CHILD_INFO_MAGIC): Regenerate.
cgf [Sat, 18 Mar 2006 19:17:21 +0000 (19:17 +0000)]
* child_info.h (CURR_CHILD_INFO_MAGIC): Regenerate.
(child_info::retry): Move here from fork subclass.
(child_info::exit_code): New field.
(child_info::retry_count): Max retry count for process start.
(child_info::proc_retry): Declare new function.
(child_info_fork::retry): Move to parent.
(child_info_fork::fork_retry): Ditto.
* dcrt0.cc (child_info::fork_retry): Rename and move.
(child_info_fork::handle_failure): Move.
(dll_crt0_0): Initialize console handler based on whether we have a controlling
tty or not.  Avoid nonsensical check for fork where it can never occur.
* environ.cc (set_proc_retry): Rename from set_fork_retry.  Set retry_count in
child_info.
(parse_thing): Reflect above change.
* exceptions.cc (dummy_ctrl_c_handler): Remove unused variable name.
(ctrl_c_handler): Always return TRUE for the annoying CTRL_LOGOFF_EVENT.
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Remove call to
init_console_handler.
* fhandler_tty.cc (fhandler_tty_slave::open): Just call mange_console_count
here and let it decide what to do with initializing console control handling.
* fork.cc (fork_retry): Remove definition.
(frok::parent): Define static errbuf and use in error messages (not thread safe
yet).  Close pi.hThread as soon as possible.  Protect pi.hProcess as soon as
possible.  Don't set retry_count.  That happens automatically in the
constructor now.  Accommodate name change from fork_retry to proc_retry.
* init.cc (dll_entry): Turn off ctrl-c handling early until we know how it is
supposed to be handled.
* pinfo.cc (_pinfo::dup_proc_pipe): Remember original proc pipe value for
failure error message.  Tweak debug message slightly.
* sigproc.cc (child_info::retry_count): Define.
(child_info::child_info): Initialize retry count.
(child_info::sync): Set exit code if process dies before synchronization.
(child_info::proc_retry): Rename from child_info_fork::fork_retry.  Use
previously derived exit code.  Be more defensive about what is classified as an
error exit.
(child_info_fork::handle_failure): Move here from dcrt0.cc.
* spawn.cc (spawn_guts): Maintain error mode when starting new process to avoid
annoying pop ups.  Move deimpersonate call within new loop.  Move envblock
freeing to end.  Loop if process dies prematurely with bad exit code.
* syscalls.cc (init_console_handler): Remove hopefully unneeded call to
init_console_handler.

18 years ago * elf64-hppa.c (allocate_global_data_opd): Don't create an OPD entry
danglin [Sat, 18 Mar 2006 18:53:45 +0000 (18:53 +0000)]
* elf64-hppa.c (allocate_global_data_opd): Don't create an OPD entry
for undefined weak symbols.

18 years ago2006-03-18 Jim Blandy <jimb@codesourcery.com>
jimb [Sat, 18 Mar 2006 18:40:04 +0000 (18:40 +0000)]
2006-03-18  Jim Blandy  <jimb@codesourcery.com>

* symtab.h (enum address_class): Doc fix.

18 years ago * config/tc-vax.c: Update copyright year.
jbglaw [Sat, 18 Mar 2006 11:23:37 +0000 (11:23 +0000)]
* config/tc-vax.c: Update copyright year.
* config/tc-vax.h: Likewise.

18 years ago * config/tc-vax.c (md_chars_to_number): Used only locally, so
jbglaw [Sat, 18 Mar 2006 11:06:47 +0000 (11:06 +0000)]
* config/tc-vax.c (md_chars_to_number): Used only locally, so
make it static.
* config/tc-vax.h (md_chars_to_number): Remove obsolete declaration.

18 years ago2006-03-18 Julien Lecomte <julienlecomte@users.sourceforge.net>
dannysmith [Sat, 18 Mar 2006 04:02:54 +0000 (04:02 +0000)]
2006-03-18  Julien Lecomte <julienlecomte@users.sourceforge.net>

* include/wincon.h  (ENABLE_*): Add more defines.

2006-03-18  Jan Nijtmans <nijtmans@users.sourceforge.net>

* include/winnt.h (INHERITED_ACE): Define.
(VALID_INHERIT_FLAGS): Correct definition.

2006-03-18  Peter Åstrand  <astrand@cendio.se>

         * lib/wtsapi32.def: New file.

18 years ago*** empty log message ***
gdbadmin [Sat, 18 Mar 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Fri, 17 Mar 2006 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago2006-03-17 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 17 Mar 2006 22:27:37 +0000 (22:27 +0000)]
2006-03-17  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/linuxthreads/config.h: Remove definition
        of UINT32_C.

18 years ago2006-03-17 Daniel Jacobowitz <dan@codesourcery.com>
hjl [Fri, 17 Mar 2006 18:37:20 +0000 (18:37 +0000)]
2006-03-17  Daniel Jacobowitz  <dan@codesourcery.com>

PR ld/2462
* elflink.c (bfd_elf_final_link): Remove
bed->elf_backend_emit_relocs from emit_relocs.

18 years ago2006-03-17 Paul Brook <paul@codesourcery.com>
pbrook [Fri, 17 Mar 2006 14:03:36 +0000 (14:03 +0000)]
2006-03-17  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (insns): Add ldm and stm.
gas/testsuite/
* gas/arm/thumb32.d: Add ldm and stm tests.
* gas/arm/thumb32.s: Ditto.

18 years agobfd/ChangeLog:
aoliva [Fri, 17 Mar 2006 06:44:37 +0000 (06:44 +0000)]
bfd/ChangeLog:
* elf32-ppc.c (ppc_elf_relocate_section): Copy addend from
first relocation to the second when relaxing TLS GD to LE;
zero it out when relaxing to IE.
ld/testsuite/ChangeLog:
* ld-powerpc/tls32.s: Verify that +32768 @plt addend is
discarded.

18 years ago PR 2434
amodra [Fri, 17 Mar 2006 03:19:56 +0000 (03:19 +0000)]
PR 2434
* elflink.c (elf_link_add_object_symbols): Save and restore
warning sym's linked sym.

18 years ago PR gas/2446
bje [Fri, 17 Mar 2006 00:45:13 +0000 (00:45 +0000)]
PR gas/2446
* doc/as.texinfo (Ident): Document this directive more thoroughly.

18 years ago2006-03-16 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 17 Mar 2006 00:38:19 +0000 (00:38 +0000)]
2006-03-16  Michael Snyder  <msnyder@redhat.com>

* tracepoint.c (tracepoint_save_command): Fix typo in error msg.

18 years ago2006-03-16 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 17 Mar 2006 00:30:34 +0000 (00:30 +0000)]
2006-03-16  Michael Snyder  <msnyder@redhat.com>

* target.c (push_target): Fix typo in comment.

18 years ago2006-03-16 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 17 Mar 2006 00:25:45 +0000 (00:25 +0000)]
2006-03-16  Michael Snyder  <msnyder@redhat.com>

* remote.c (remote_watch_data_address): Fix typo in comment.

18 years ago2006-03-16 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 17 Mar 2006 00:14:23 +0000 (00:14 +0000)]
2006-03-16  Michael Snyder  <msnyder@redhat.com>

* i386-tdep.c (i386_push_dummy_call): Fix typo in comment.

18 years ago*** empty log message ***
gdbadmin [Fri, 17 Mar 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agoChange timeout granularity of gdbloop() and gdbloop_poll() from seconds
kevinb [Thu, 16 Mar 2006 23:11:42 +0000 (23:11 +0000)]
Change timeout granularity of gdbloop() and gdbloop_poll() from seconds
to milliseconds.

18 years agodaily update
amodra [Thu, 16 Mar 2006 23:00:08 +0000 (23:00 +0000)]
daily update

18 years ago * bfin-dis.c (decode_dsp32shiftimm_0): Simplify and correct the
bernds [Thu, 16 Mar 2006 19:09:48 +0000 (19:09 +0000)]
* bfin-dis.c (decode_dsp32shiftimm_0): Simplify and correct the
logic to identify halfword shifts.

18 years ago * gas/bfin/shift2.s: Add new tests.
bernds [Thu, 16 Mar 2006 19:09:24 +0000 (19:09 +0000)]
* gas/bfin/shift2.s: Add new tests.
* gas/bfin/shift.d: Match changed disassembler behaviour.
* gas/bfin/parallel2.d: Likewise.
* gas/bfin/shift2.d: Likewise; also match new tests.

18 years ago2006-03-16 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 16 Mar 2006 15:08:47 +0000 (15:08 +0000)]
2006-03-16  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (insns): Add "svc".
gas/testsuite/
* gas/arm/svc.d: New test.
* gas/arm/svc.s: New test.
* gas/arm/inst.d: Accept svc mnemonic.
* gas/arm/thumb.d: Ditto.
* gas/arm/wince_inst.d: Ditto.
opcodes/
* arm-dis.c (arm_opcodes): Rename swi to svc.
(thumb_opcodes): Ditto.

18 years ago PR 2434
amodra [Thu, 16 Mar 2006 12:20:14 +0000 (12:20 +0000)]
PR 2434
bfd/
* elflink.c (struct elf_smash_syms_data, elf_smash_syms): Delete.
(elf_link_add_object_symbols): Delete unnecessary locals.  Rename
hash_table -> htab.  Formatting.  Save entire symbol table
before loading as-needed syms, and restore afterwards if lib not
needed.  Use bfd_hash_allocate rather than bfd_alloc for sym
name.  Free some buffers earlier.
* bfd-in.h (struct bfd_hash_table): Add entsize.
(bfd_hash_table_init, bfd_hash_table_init_n): Adjust prototype.
* elf-bfd.h (_bfd_elf_link_hash_table_init): Likewise
* hash.c (bfd_hash_table_init_n): Add entsize param, save to
hash table.
(bfd_hash_table_init): Add param, adjust calls.
* aoutx.h: Adjust all hash_table_init functions and calls.
* bfd.c: Likewise.
* coff-arm.c: Likewise.
* coff-h8300.c: Likewise.
* coff-ppc.c: Likewise.
* cofflink.c: Likewise.
* ecoff.c: Likewise.
* ecofflink.c: Likewise.
* elf-m10300.c: Likewise.
* elf-strtab.c: Likewise.
* elf.c: Likewise.
* elf32-arm.c: Likewise.
* elf32-bfin.c: Likewise.
* elf32-cris.c: Likewise.
* elf32-frv.c: Likewise.
* elf32-hppa.c: Likewise.
* elf32-i386.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-m68hc1x.c: Likewise.
* elf32-m68k.c: Likewise.
* elf32-ppc.c: Likewise.
* elf32-s390.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-vax.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-ppc.c: Likewise.
* elf64-s390.c: Likewise.
* elf64-sh64.c: Likewise.
* elf64-x86-64.c: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-mips.c: Likewise.
* elfxx-sparc.c: Likewise.
* i386linux.c: Likewise.
* libaout.h: Likewise.
* libbfd-in.h: Likewise.
* libcoff-in.h: Likewise.
* linker.c: Likewise.
* m68klinux.c: Likewise.
* merge.c: Likewise.
* opncls.c: Likewise.
* pdp11.c: Likewise.
* sparclinux.c: Likewise.
* stabs.c: Likewise.
* sunos.c: Likewise.
* vms.c: Likewise.
* xcofflink.c: Likewise.
* section.c (struct section_hash_entry): Move to..
* libbfd-in.h: ..here.
* Makefile.am: Run "make dep-am"
* Makefile.in: Regenerate.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* libcoff.h: Regenerate.
binutils/
* ieee.c (write_ieee_debugging_info): Adjust bfd_hash_table_init calls.
* wrstabs.c (write_stabs_in_sections_debugging_info): Likewise.
ld/
* ldcref.c (add_cref): Adjust bfd_hash_table_init calls.
* ldlang.c (output_statement_table_init, lang_init): Likewise.
* ldmain.c (add_ysym, add_wrap, add_keepsyms_file): Likewise.
(undefined_symbol): Likewise.

18 years ago* include/winbase.h (STATUS_DLL_INIT_FAILED): New define.
cgf [Thu, 16 Mar 2006 03:05:37 +0000 (03:05 +0000)]
* include/winbase.h (STATUS_DLL_INIT_FAILED): New define.
(STATUS_DLL_INIT_FAILED_LOGOFF): Ditto.

18 years ago* cygheap.cc (init_cygheap::manage_console_count): Turn console control handler
cgf [Thu, 16 Mar 2006 02:57:37 +0000 (02:57 +0000)]
* cygheap.cc (init_cygheap::manage_console_count): Turn console control handler
on/off depending on whether we have allocated a console or not.
* dcrt0.cc (child_info_fork::fork_retry): Add more potential retry statuses.
(dll_crt0_0): Turn on/off console control depending on whether we have a
controlling tty or not.
* exceptions.cc (init_console_handler): Change BOOL to bool.
* fhandler_console.cc (fhandler_console::need_invisible): Cosmetic change.
* winsup.h (init_console_handler): Reflect argument type change.
* wincap.h (supports_setconsolectrlhandler_null): Remove duplicate capability
throughout.
* wincap.cc: Ditto.

18 years ago*** empty log message ***
gdbadmin [Thu, 16 Mar 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years agoAdd FR-V Linux core file support.
kevinb [Wed, 15 Mar 2006 23:38:09 +0000 (23:38 +0000)]
Add FR-V Linux core file support.

18 years agodaily update
amodra [Wed, 15 Mar 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years agoSecond typo fix.
drow [Wed, 15 Mar 2006 22:44:21 +0000 (22:44 +0000)]
Second typo fix.

18 years agoTypo fix.
drow [Wed, 15 Mar 2006 22:43:31 +0000 (22:43 +0000)]
Typo fix.

18 years ago2006-03-15 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 15 Mar 2006 22:38:59 +0000 (22:38 +0000)]
2006-03-15  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/wsetup.c (__swsetup): Don't make a buffer
        for a string I/O file that isn't using the asprintf family.

18 years ago * Makefile.in (mips_linux_tdep_h): New.
drow [Wed, 15 Mar 2006 17:13:36 +0000 (17:13 +0000)]
* Makefile.in (mips_linux_tdep_h): New.
(mpis-linux-nat.o, mips-linux-tdep.o): Update.
* mips-linux-nat.c: Include "inferior.h", "mips-linux-tdep.h", and
<sys/ptrace.h>.
(have_ptrace_regsets, super_fetch_registers, super_store_registers)
(mips64_linux_regsets_fetch_registers)
(mips64_linux_regsets_store_registers, mips64_linux_fetch_registers)
(mips64_linux_store_registers): New.
(_initialize_mips_linux_nat): Override to_fetch_registers and
to_store_registers.
* mips-linux-tdep.h: New file.
* mips-linux-tdep.c: Include "mips-linux-tdep.c".
(ELF_NGREG, ELF_NFPREG, elf_greg_t, elf_gregset_t, elf_fpreg_t)
(elf_fpregset_t, FPR_BASE, PC, CAUSE, BADVADDR, MMHI, MMLO)
(FPC_CSR, FPC_EIR, EF_REG0, EF_REG31, EF_LO, EF_HI, EF_CP0_EPC)
(EF_CP0_BADVADDR, EF_CP0_STATUS, EF_CP0_CAUSE, EF_SIZE)
(MIPS64_ELF_NGREG, MIPS64_ELF_NFPREG, mips64_elf_greg_t)
(mips64_elf_gregset_t, mips64_elf_fpreg_t, mips64_elf_fpregset_t)
(MIPS64_FPR_BASE, MIPS64_PC, MIPS64_CAUSE, MIPS64_BADVADDR)
(MIPS64_MMHI, MIPS64_MMLO, MIPS64_FPC_CSR, MIPS64_FPC_EIR)
(MIPS64_EF_REG0, MIPS64_EF_REG31, MIPS64_EF_LO, MIPS64_EF_HI)
(MIPS64_EF_CP0_EPC, MIPS64_EF_CP0_BADVADDR, MIPS64_EF_CP0_STATUS)
(MIPS64_EF_CP0_CAUSE, MIPS64_EF_SIZE): Delete.
(supply_32bit_reg): Use gdb_byte.
(supply_64bit_reg): New.
(mips_supply_gregset, mips_fill_gregset, mips_supply_fpregset)
(mips_fill_fpregset, fetch_core_registers, supply_gregset)
(fill_gregset, supply_fpregset): Update for renamed types.
(mips64_supply_gregset): Use gdb_byte and supply_64bit_reg.
(mips64_fill_gregset): Make global.  Handle 32-bit register
sizes.
(mips64_fill_fpregset): Make global.  Use gdb_byte.  Handle
FP regsets properly.

18 years ago * mips-linux-tdep.c (mips_supply_gregset): Renamed from supply_gregset.
drow [Wed, 15 Mar 2006 17:12:24 +0000 (17:12 +0000)]
* mips-linux-tdep.c (mips_supply_gregset): Renamed from supply_gregset.
(mips_fill_gregset): Renamed from fill_gregset.
(mips_supply_fpregset): Renamed from supply_fpregset.
(mips_fill_fpregset): Renamed from fill_fpregset.
(fetch_core_registers): Update calls.
(supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): New
functions.

18 years ago * mips-tdep.c (mips_gdbarch_init): Default 64-bit ELF files to N64.
drow [Wed, 15 Mar 2006 16:59:54 +0000 (16:59 +0000)]
* mips-tdep.c (mips_gdbarch_init): Default 64-bit ELF files to N64.

18 years ago * mips-tdep.c (is_mips16_addr, mips32_next_pc, add_offset_16):
drow [Wed, 15 Mar 2006 16:55:05 +0000 (16:55 +0000)]
* mips-tdep.c (is_mips16_addr, mips32_next_pc, add_offset_16):
Correct arithmetic for 64-bit CORE_ADDR.

18 years ago * mips-linux-tdep.c: Include "floatformat.h".
drow [Wed, 15 Mar 2006 16:37:51 +0000 (16:37 +0000)]
* mips-linux-tdep.c: Include "floatformat.h".
(mips_linux_init_abi): Use 128-bit long double for N32 and N64.
(mips_n32n64_return_value): Support 128-bit long double.
(print_gp_register_row): Don't print spaces before ignored
or floating point registers.

18 years ago * mips-mdebug-tdep.c (compare_pdr_entries): Use bfd_get_signed_32
drow [Wed, 15 Mar 2006 16:29:07 +0000 (16:29 +0000)]
* mips-mdebug-tdep.c (compare_pdr_entries): Use bfd_get_signed_32
for code addresses.
(non_heuristic_proc_desc): Likewise.

18 years ago * linux-mips-low.c: Include <sys/ptrace.h> and "gdb_proc_service.h".
drow [Wed, 15 Mar 2006 16:26:02 +0000 (16:26 +0000)]
* linux-mips-low.c: Include <sys/ptrace.h> and "gdb_proc_service.h".
(PTRACE_GET_THREAD_AREA): Define.
(ps_get_thread_area): New function.
* Makefile.in (linux-i386-low.o, linux-mips-low.o)
(linux-x86-64-low.o): Update.

18 years ago * configure.ac: Remove checks for prfpregset_t.
drow [Wed, 15 Mar 2006 16:13:28 +0000 (16:13 +0000)]
* configure.ac: Remove checks for prfpregset_t.
* gdb_proc_service.h: New file.
* linux-i386-low.c, linux-x86-64-low.c, thread-db.c: Use the
new "gdb_proc_service.h".
* proc-service.c: Likewise.
(ps_pglobal_lookup, ps_pdread, ps_pdwrite): Use psaddr_t.
(ps_lgetfpregs, ps_lsetfpregs): Use a void* argument.
* Makefile.in (gdb_proc_service_h): Updated.
* configure, config.in: Regenerated.

18 years ago * mips-linux-nat.c: Include "gdb_proc_service.h".
drow [Wed, 15 Mar 2006 16:08:20 +0000 (16:08 +0000)]
* mips-linux-nat.c: Include "gdb_proc_service.h".
(PTRACE_GET_THREAD_AREA): Define.
(ps_get_thread_area): New.
* Makefile.in (mips-linux-nat.o): Update.

18 years ago * elf32-ppc.c (ppc_elf_check_relocs): REL24 and REL14 relocs
amodra [Wed, 15 Mar 2006 14:30:18 +0000 (14:30 +0000)]
* elf32-ppc.c (ppc_elf_check_relocs): REL24 and REL14 relocs
against __GLOBAL_OFFSET_TABLE__ need never be dynamic.  Tweak
last change to REL32 relocs so that they are counted as
possibly dynamic as per REL24 and REL14.

18 years ago * elf32-ppc.c (ppc_elf_check_relocs): Don't fall into REL24
amodra [Wed, 15 Mar 2006 13:52:57 +0000 (13:52 +0000)]
* elf32-ppc.c (ppc_elf_check_relocs): Don't fall into REL24
checks from REL32.

18 years ago* child_info.h (child_info_fork::fork_retry): Declare new function.
cgf [Wed, 15 Mar 2006 00:29:14 +0000 (00:29 +0000)]
* child_info.h (child_info_fork::fork_retry): Declare new function.
* dcrt0.cc (child_info_fork::fork_retry): Define new function.
* fork.cc (frok::parent): Move retry decision into child_info_fork::fork_retry
and honor what it tells us to do.
* sigproc.cc (sig_send): Unhold signals on __SIGEXIT.

18 years ago*** empty log message ***
gdbadmin [Wed, 15 Mar 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * elf32-arm.c (elf32_arm_merge_eabi_attributes): Iterate over all
bje [Tue, 14 Mar 2006 23:58:05 +0000 (23:58 +0000)]
* elf32-arm.c (elf32_arm_merge_eabi_attributes): Iterate over all
in_list elements, not just the first.

18 years agodaily update
amodra [Tue, 14 Mar 2006 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago* fork.cc (frok::parent): Improve error message.
cgf [Tue, 14 Mar 2006 21:01:35 +0000 (21:01 +0000)]
* fork.cc (frok::parent): Improve error message.

18 years ago* dcrt0.cc (main_environ): Initialize to &__cygwin_environment.
cgf [Tue, 14 Mar 2006 19:07:35 +0000 (19:07 +0000)]
* dcrt0.cc (main_environ): Initialize to &__cygwin_environment.
(dll_crt0_1): Move resourcelocks, thread interface, pinfo_init, and
uinfo_init...
(dll_crt0_0): ...to here.
(_dll_crt0): Call update_envptrs here after setting main_environ.
* environ.cc (environ_init): Eliminate initted variable.  Don't call
update_envptrs here.
* sigproc.cc (wait_sig): Use my_sendsig when calling CreatePipe to avoid a
dereference.

18 years ago2006-03-14 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 14 Mar 2006 16:26:44 +0000 (16:26 +0000)]
2006-03-14  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.in: Regenerate.

18 years ago2006-03-14 Paolo Bonzini <bonzini@gnu.org>
bonzini [Tue, 14 Mar 2006 16:10:07 +0000 (16:10 +0000)]
2006-03-14  Paolo Bonzini  <bonzini@gnu.org>

Sync with gcc:
2006-03-10  Aldy Hernandez  <aldyh@redhat.com>

        * configure.in: Handle --disable-<component> generically.
        * configure: Regenerate.

2006-02-21 Rafael Avila de Espindola <rafael.espindola@gmail.com>

        * Makefile.tpl  (BUILD_CONFIGDIRS): Remove.
        (TARGET_CONFIGDIRS): Remove.
        * configure.in: Remove AC_SUBST(target_configdirs).
        * Makefile.in, configure: Regenerated.

18 years ago * dev.scm (cload) <SID-SIMULATOR>: New case, duplicated from
hp [Tue, 14 Mar 2006 12:48:21 +0000 (12:48 +0000)]
* dev.scm (cload) <SID-SIMULATOR>: New case, duplicated from
SIMULATOR.

18 years agobfd/
rsandifo [Tue, 14 Mar 2006 07:47:49 +0000 (07:47 +0000)]
bfd/
* elf32-mips.c (mips_elf_adjust_addend): New function, mostly split
out from...
(_bfd_mips_elf_relocate_section): ...here.  Use it to adjust r_addend
for final links too.

ld/testsuite/
* ld-mips/emit-relocs-1a.s, ld-mips/emit-relocs-1b.s,
* ld-mips/emit-relocs-1.ld, ld-mips/emit-relocs-1.d: New test.
* ld-mips/mips-elf.exp: Run it.

18 years ago2006-03-13 Jim Blandy <jimb@codesourcery.com>
jimb [Tue, 14 Mar 2006 06:16:10 +0000 (06:16 +0000)]
2006-03-13  Jim Blandy  <jimb@codesourcery.com>

* MAINTAINERS: Use my work address.

18 years ago* m32c-asm.c: Regenerate.
dj [Tue, 14 Mar 2006 04:23:51 +0000 (04:23 +0000)]
* m32c-asm.c: Regenerate.
* m32c-desc.c: Likewise.
* m32c-desc.h: Likewise.
* m32c-dis.c: Likewise.
* m32c-ibld.c: Likewise.
* m32c-opc.c: Likewise.
* m32c-opc.h: Likewise.

18 years ago* m32c.cpu (Bit3-S): New.
dj [Tue, 14 Mar 2006 04:20:53 +0000 (04:20 +0000)]
* m32c.cpu (Bit3-S): New.
(btst:s): New.
* m32c.opc (parse_bit3_S): New.

18 years ago* mem.c (mem_put_byte): Hook simulated UART to stdout.
dj [Tue, 14 Mar 2006 03:34:28 +0000 (03:34 +0000)]
* mem.c (mem_put_byte): Hook simulated UART to stdout.
(mem_put_hi): Hook in simulated trace port.
(mem_get_byte): Hook in simulated uart control port.
* opc2c: Be more picky about matching special comments.
* r8c.opc (shift_op): Limit shift counts to -16..16.
(BMcnd): Map conditional codes.
* reg.c (condition_true): Mask condition code to 4 bits.
* syscalls.c: Include local syscall.h.
* syscall.h: New, copied from libgloss.

18 years ago* MAINTAINERS: Add self as m32c sim maintainer.
dj [Tue, 14 Mar 2006 02:37:35 +0000 (02:37 +0000)]
* MAINTAINERS: Add self as m32c sim maintainer.

18 years agoi* m32c-desc.c: Regenerate.
dj [Tue, 14 Mar 2006 00:30:58 +0000 (00:30 +0000)]
i* m32c-desc.c: Regenerate.
* m32c-opc.c: Likewise.
* m32c-opc.h: Likewise.

18 years ago* m32c.cpu (decimal-subtraction16-insn): Add second operand.
dj [Tue, 14 Mar 2006 00:29:59 +0000 (00:29 +0000)]
* m32c.cpu (decimal-subtraction16-insn): Add second operand.
(btst): Add optional :G suffix for MACH32.
(or.b:S): New.
(pop.w:G): Add optional :G suffix for MACH16.
(push.b.imm): Fix syntax.

18 years ago*** empty log message ***
gdbadmin [Tue, 14 Mar 2006 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Mon, 13 Mar 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago * bucomm.c (display_target_list): Make local variable `a' to be of
bje [Mon, 13 Mar 2006 22:27:22 +0000 (22:27 +0000)]
* bucomm.c (display_target_list): Make local variable `a' to be of
type enum bfd_architecture.  Thus no need to cast enums to int.
(display_info_table): Likewise.

18 years ago * config/tc-xtensa.c (xg_translate_sysreg_op): Remove has_underbar
bwilson [Mon, 13 Mar 2006 21:46:52 +0000 (21:46 +0000)]
* config/tc-xtensa.c (xg_translate_sysreg_op): Remove has_underbar
flag and avoid double underscore prefixes.

18 years ago* child_info.h (child_info_fork::handle_failure): Declare new function.
cgf [Mon, 13 Mar 2006 21:10:14 +0000 (21:10 +0000)]
* child_info.h (child_info_fork::handle_failure): Declare new function.
(child_info_fork::retry): New field.
* dcrt0.cc (__api_fatal_exit_val): Define.
(child_info_fork::handle_failure): Define new function.
(__api_fatal): Exit using __api_fatal_exit_val value.
* environ.cc (set_fork_retry): Set fork_retry based on CYGWIN environment
variable.
(parse_thing): Add "fork_retry" setting.
* fork.cc (fork_retry): Define.
(frok::parent): Reorganize to allow retry of failed child creation if child
signalled that it was ok to do so.
* heap.cc (heap_init): Signal parent via handle_failure when VirtualAlloc
fails.
* pinfo.h (EXITCODE_RETRY): Declare.
* sigproc.cc (child_info::sync): Properly exit with failure condition if called
for fork and didn't see subproc_ready.
* spawn.cc (spawn_guts): Use windows pid as first argument.
* winsup.h: Remove obsolete NEW_MACRO_VARARGS define.
(__api_fatal_exit_val): Declare.
(set_api_fatal_return): Define.
(in_dllentry): Declare.
* exceptions.cc (inside_kernel): Remove unneeded in_dllentry declaration.

18 years ago* cygwinenv.sgml: Explain about new fork_retry CYGWIN environment variable
cgf [Mon, 13 Mar 2006 21:02:37 +0000 (21:02 +0000)]
* cygwinenv.sgml: Explain about new fork_retry CYGWIN environment variable
setting.

18 years agomerge from gcc
dj [Mon, 13 Mar 2006 20:00:44 +0000 (20:00 +0000)]
merge from gcc

18 years agobfd/
rsandifo [Mon, 13 Mar 2006 19:14:23 +0000 (19:14 +0000)]
bfd/
* elfxx-mips.c (mips_elf_create_got_section): Initialize hgot.

18 years ago* dcrt0.cc (dll_crt0_0): Reorganize so that sigproc_init is called a little
cgf [Mon, 13 Mar 2006 18:29:47 +0000 (18:29 +0000)]
* dcrt0.cc (dll_crt0_0): Reorganize so that sigproc_init is called a little
later.  Add a comment.
* fork.cc (resume_child): Make void.
(frok::parent): Only zero pi when necessary.  Explicitly zero si.  Set
this_errno when child_copy fails.  Accommodate change to resume_child.
* sigproc.cc (sigalloc): Move global_sigs initialization here.
(sigproc_init): Move global_sigs.
(sig_send): Just check for flush signals once.
* wincap.h: Define supports_setconsolectrlhandler_null throughout.
* wincap.cc: Ditto.

18 years ago Fix typo.
corinna [Mon, 13 Mar 2006 11:25:07 +0000 (11:25 +0000)]
Fix typo.

18 years ago * autoload.cc (LoadDLLfuncNt): New define to wrap NT native functions.
corinna [Mon, 13 Mar 2006 11:22:51 +0000 (11:22 +0000)]
* autoload.cc (LoadDLLfuncNt): New define to wrap NT native functions.
Use for NT native functions throughout.
* dtable.cc (handle_to_fn): Treate return value of NtQueryObject as
NTSTATUS value.

18 years agotweak last ChangeLog description
cgf [Mon, 13 Mar 2006 05:21:05 +0000 (05:21 +0000)]
tweak last ChangeLog description

18 years ago* cygtls.cc (_cygtls::remove): Reset initialized flag right away if we were
cgf [Mon, 13 Mar 2006 04:26:57 +0000 (04:26 +0000)]
* cygtls.cc (_cygtls::remove): Reset initialized flag right away if we were
previously initialized.
* cygtls.h (_cygtls::initialized): Move nearer the end to catch situation when
Windows 98 mysteriously changes pieces of cygtls when thread is detaching.
* gendef (__sigfe_maybe): Simplify slightly.
* tlsoffsets.h: Regenerate.

18 years ago*** empty log message ***
gdbadmin [Mon, 13 Mar 2006 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* cygtls.h (CYGTLS_INITIALIZED): Change to a little more unlikely value.
cgf [Sun, 12 Mar 2006 23:57:03 +0000 (23:57 +0000)]
* cygtls.h (CYGTLS_INITIALIZED): Change to a little more unlikely value.
(CYGTLSMAGIC): Delete.
* dcrt0.cc (dll_crt0_0): Call sigproc_init during init startup.
(_dll_crt0): Don't worry about sync_startup.  Just wait for sigthread here.
* dll_init.cc (cygwin_detach_dll): Only pick up tls version of retaddr if we
have a valid tls.
* fork.cc (frok::child): Remove sigproc_init initialization since it happens
much earlier now.
* gendef: Recognize SIGFE_MAYBE.
(fefunc): Generate calls to _sigfe_maybe, if appropriate.
(_sigfe_maybe): New function.
* init.cc (search_for): Always initialize search_for, even on fork.
(calibration_thread): Delete.
(calibration_id): Delete.
(prime_threads): Delete.
(munge_threadfunc): Remove calibration_thread special case.  Avoid calling
thread function if we haven't yet hit the "search_for" thread.
(dll_entry): Remove prime_threads call.  Only call munge_threadfunc when
hwait_sig is active.  Ditto.  for _my_tls.remove ();
* sigproc.cc (hwait_sig): Make global.
(sigproc_init): Don't bother with sync_startup.
(sig_send): Treat flush as a no-op when signals are held.
(wait_sig): Cause signals to be held after fork.

18 years agodaily update
amodra [Sun, 12 Mar 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago*** empty log message ***
gdbadmin [Sun, 12 Mar 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sat, 11 Mar 2006 23:00:05 +0000 (23:00 +0000)]
daily update

18 years ago2006-03-11 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sat, 11 Mar 2006 15:01:18 +0000 (15:01 +0000)]
2006-03-11  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/2443
* dwarf2.c (concat_filename): Don't issue an error if file is
0.

18 years ago* m32c.cpu (mul.l): New.
dj [Sat, 11 Mar 2006 02:23:16 +0000 (02:23 +0000)]
* m32c.cpu (mul.l): New.
(mulu.l): New.
* m32c-desc.c: Regenerate with mul.l, mulu.l.
* m32c-opc.c: Likewise.
* m32c-opc.h: Likewise.

18 years ago*** empty log message ***
gdbadmin [Sat, 11 Mar 2006 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Fri, 10 Mar 2006 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago2006-03-09 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 10 Mar 2006 20:15:40 +0000 (20:15 +0000)]
2006-03-09  Michael Snyder  <msnyder@redhat.com>

* linux-nat.c (kill_inferior): Just call target_mourn_inferior
instead of getting tricky for the multi-fork case.
* linux-fork.c (linux_fork_killall): Call PT_KILL and waitpid
for each fork, and then use init_fork_list to delete them.

18 years ago2006-03-10 Paul Brook <paul@codesourcery.com>
pbrook [Fri, 10 Mar 2006 17:20:28 +0000 (17:20 +0000)]
2006-03-10  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c (INTERWORK_FLAG): Handle EABIv5.
(elf32_arm_print_private_bfd_data): Ditto.
binutils/
* readelf.c (decode_ARM_machine_flags):  Handle EABIv5.
gas/
* config/tc-arm.c (md_begin): Handle EABIv5.
(arm_eabis): Add EF_ARM_EABI_VER5.
* doc/c-arm.texi: Document -meabi=5.
include/elf/
* arm.h (EF_ARM_EABI_VER5): Define.

18 years ago2006-03-10 Paul Brook <paul@codesourcery.com>
pbrook [Fri, 10 Mar 2006 17:16:49 +0000 (17:16 +0000)]
2006-03-10  Paul Brook  <paul@codesourcery.com>

include/opcode/
* arm.h (ARM_AEXT_V7_ARM): Include v6ZK extensions.

18 years ago * dwarf.c (process_extended_line_op): Remove pointer_size param.
amodra [Fri, 10 Mar 2006 13:30:10 +0000 (13:30 +0000)]
* dwarf.c (process_extended_line_op): Remove pointer_size param.
Use length instead to determine address size.
(get_pointer_size_and_offset_of_comp_unit): Delete.
(display_debug_lines): Adjust for above.
(display_debug_aranges): Don't stop on finding two zeros.
(display_debug_frames): For warning, print offset not pointer.

18 years ago * app.c (do_scrub_chars): Simplify string handling.
bje [Fri, 10 Mar 2006 10:57:18 +0000 (10:57 +0000)]
* app.c (do_scrub_chars): Simplify string handling.

18 years ago * MAINTAINERS (Patch Champions): Remove self.
brobecke [Fri, 10 Mar 2006 02:05:51 +0000 (02:05 +0000)]
    * MAINTAINERS (Patch Champions): Remove self.

18 years ago * MAINTAINERS (Patch Champions): Remove self.
brobecke [Fri, 10 Mar 2006 02:02:10 +0000 (02:02 +0000)]
    * MAINTAINERS (Patch Champions): Remove self.

18 years ago*** empty log message ***
gdbadmin [Fri, 10 Mar 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago2006-03-09 Paul Brook <paul@codesourcery.com>
pbrook [Thu, 9 Mar 2006 23:05:59 +0000 (23:05 +0000)]
2006-03-09  Paul Brook  <paul@codesourcery.com>

bfd/
* cpu-arm.c (bfd_is_arm_mapping_symbol_name): Recognise additional
mapping symbols.
gas/testsuite/
* gas/arm/nomapping.d: New test.
* gas/arm/nomapping.s: New test.