OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
17 years ago * regtool.cc (longopts): Add --wow32 option.
corinna [Thu, 19 Oct 2006 09:08:44 +0000 (09:08 +0000)]
* regtool.cc (longopts): Add --wow32 option.
(opts): Add -W option.
(usage): Add text for --wow32/-W option.
(main): Handle --wow32/-W option.
* utils.sgml: Document the new -W option.

17 years ago * Fix ChangeLog entry to mention full path of changed file.
corinna [Thu, 19 Oct 2006 08:36:02 +0000 (08:36 +0000)]
* Fix ChangeLog entry to mention full path of changed file.

17 years agobfd/
hjl [Thu, 19 Oct 2006 02:40:13 +0000 (02:40 +0000)]
bfd/

2006-10-18  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3290
* elflink.c (elf_link_add_object_symbols): Hide definitions in
debug sections.

ld/testsuite/

2006-10-18  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3290
* ld-elf/dummy.c: New file.
* ld-elf/dwarf.exp: Likewise.
* ld-elf/dwarf1.c: Likewise.
* ld-elf/dwarf1.h: Likewise.
* ld-elf/dwarf1.out: Likewise.
* ld-elf/dwarf1main.c: Likewise.

17 years agobfd/
amodra [Thu, 19 Oct 2006 02:10:40 +0000 (02:10 +0000)]
bfd/
* elf32-arm.c (bfd_elf32_arm_allocate_interworking_sect): Check,
don't set, glue section size.
(record_arm_to_thumb_glue): Set glue section size here.
(record_thumb_to_arm_glue): Likewise.
(bfd_elf32_arm_add_glue_sections_to_bfd): Formatting.
(bfd_elf32_arm_process_before_allocation): Ignore exluded sections.

ld/
* emultempl/armelf.em (arm_elf_before_allocation): Run
gld${EMULATION_NAME}_before_allocation later.
* ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.

17 years ago*** empty log message ***
gdbadmin [Thu, 19 Oct 2006 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Wed, 18 Oct 2006 23:59:13 +0000 (23:59 +0000)]
daily update

17 years ago2006-10-18 Roy Marples <uberlord@gentoo.org>
vapier [Wed, 18 Oct 2006 23:58:51 +0000 (23:58 +0000)]
2006-10-18  Roy Marples  <uberlord@gentoo.org>

* bfd/elf64-sparc.c: Add FreeBSD support.
(elf64_sparc_fbsd_post_process_headers): New function.
* bfd/targets.c (_bfd_target_vector): Add bfd_elf64_sparc_freebsd_vec.
* bfd/config.bfd (sparc64-*-freebsd*): Set targ_defvec to bfd_elf64_sparc_freebsd_vec.
* bfd/configure.in: Add entry for bfd_elf64_sparc_freebsd_vec.
* bfd/configure: Regenerate.
* gas/config/tc-sparc.c (md_parse_option): Treat any target starting with elf32-sparc
as a viable target for the -32 switch and any target starting with elf64-sparc as a
viable target for the -64 switch.
(sparc_target_format): For 64-bit ELF flavoured output use ELF_TARGET_FORMAT64
while for 32-bit ELF flavoured output use ELF_TARGET_FORMAT.
* gas/config/tc-sparc.h (ELF_TARGET_FORMAT, ELF_TARGET_FORMAT64): Define.
* ld/emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as elf64-sparc-freebsd.

17 years ago * utils.c (query): Use defaulted_query.
drow [Wed, 18 Oct 2006 22:16:52 +0000 (22:16 +0000)]
* utils.c (query): Use defaulted_query.
(defaulted_query): Handle having no default answer.  Print out
messages even if we have no terminal.  Prevent memory corruption.

17 years ago * frame.c (struct frame_info): Add stop_reason.
drow [Wed, 18 Oct 2006 19:52:04 +0000 (19:52 +0000)]
* frame.c (struct frame_info): Add stop_reason.
(get_prev_frame_1): Set stop_reason.  Don't call error for
stop reasons.
(get_frame_unwind_stop_reason, frame_stop_reason_string): New.
* frame.h (enum unwind_stop_reason): New.
(get_frame_unwind_stop_reason, frame_stop_reason_string): New
prototypes.
* stack.c (frame_info): Print the stop reason.
(backtrace_command_1): Print the stop reason for errors.

17 years ago2006-10-18 Dave Brolley <brolley@redhat.com>
brolley [Wed, 18 Oct 2006 18:51:02 +0000 (18:51 +0000)]
2006-10-18  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:

        2006-05-11  Dave Brolley  <brolley@redhat.com>

        * gloss.cxx (sh_compact.h): #include it.
        (sh_media.h): #include it.
        (target_to_host_syscall): Handle "sh-compact" and "sh-media".
        * sh_compact.h: New header.
        * sh_media.h: New header.

17 years ago2006-10-18 Dave Brolley <brolley@redhat.com>
brolley [Wed, 18 Oct 2006 18:48:00 +0000 (18:48 +0000)]
2006-10-18  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:

        2006-05-10  Dave Brolley  <brolley@redhat.com>

        * sid.spec: Add sh*-elf-sid support.
        * Makefile.in: Regenerated.
        * aclocal.m4: Regenerated.
        * configure: Regenerated.

17 years ago2006-10-18 Dave Brolley <brolley@redhat.com>
brolley [Wed, 18 Oct 2006 18:46:17 +0000 (18:46 +0000)]
2006-10-18  Dave Brolley  <brolley@redhat.com>

        * Contribue the following changes:

        2006-07-19  Dave Brolley  <brolley@redhat.com>

        * shCfg.h (insn_buffer): All references removed.
        (main_memory): New member of ShBoardCfg.
        * shCfg.cxx (insn_buffer): All references removed.
        (ShBoardCfg): Don't initialize icache or ocache. Assume icache and
        ocache are always created. Don't connect memory heirarchy here.
        (write_config): Do it here instead.

        2006-05-11  Dave Brolley  <brolley@redhat.com>

        * Makefile.am: Add sh support.
        * mainDynamic.cxx: Likewise.
        * shCfg.cxx: New source file.
        * shCfg.h: New source file.
        * commonCfg.cxx (GprofCfg): Set bucket-size for hw-cpu-sh*.

17 years agoRegenerated.
brolley [Wed, 18 Oct 2006 18:43:42 +0000 (18:43 +0000)]
Regenerated.

17 years ago2006-10-18 Dave Brolley <brolley@redhat.com>
brolley [Wed, 18 Oct 2006 18:42:36 +0000 (18:42 +0000)]
2006-10-18  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:

        2006-05-11  Dave Brolley  <brolley@redhat.com>

        * sidtargets.m4: Add sh support.
        * info.tcl.in: Likewise.

17 years ago2006-10-18 Dave Brolley <brolley@redhat.com>
brolley [Wed, 18 Oct 2006 18:40:51 +0000 (18:40 +0000)]
2006-10-18  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:

        2006-05-10  Dave Brolley  <brolley@redhat.com>

        * Makefile.am: Add sh support.
        * configrun-sid.in: Likewise.
        * sh-elf-sid,sh5-elf-sid,sh64-elf-sid: New files.
        * Makefile.am: Regenerated.
        * aclocal.m4: Regenerated.
        * configure: Regenerated.

17 years agoRegenerated.
brolley [Wed, 18 Oct 2006 18:38:24 +0000 (18:38 +0000)]
Regenerated.

17 years ago2006-10-18 Dave Brolley <brolley@redhat.com>
brolley [Wed, 18 Oct 2006 18:37:51 +0000 (18:37 +0000)]
2006-10-18  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:

        2006-05-11  Dave Brolley  <brolley@redhat.com>

        * configure.in: Add sh support.
        * compCGEN.cxx: #include sh* cpu headers.
        (compCGENListTypes): List hw-cpu-sh*.
        (compCGENCreate): Handle hw-cpu-sh*.
        * sh: New directory.

17 years agosh64 configury.
brolley [Wed, 18 Oct 2006 18:30:52 +0000 (18:30 +0000)]
sh64 configury.

17 years agoNew cpu port.
brolley [Wed, 18 Oct 2006 18:27:27 +0000 (18:27 +0000)]
New cpu port.

17 years ago2006-10-18 Dave Brolley <brolley@redhat.com>
brolley [Wed, 18 Oct 2006 18:18:26 +0000 (18:18 +0000)]
2006-10-18  Dave Brolley  <brolley@redhat.com>

        * configure.in (BFD_MACHINES): Add cgen-bitset.lo for bfd_sh_arch.
        * configure: Regenerated.

17 years ago2006-10-18 Dave Brolley <brolley@redhat.com>
brolley [Wed, 18 Oct 2006 18:13:22 +0000 (18:13 +0000)]
2006-10-18  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:

        2006-06-14  Dave Brolley  <brolley@redhat.com>

        * sh64-sim.h (sh64_fipr,sh64_fiprs,sh64_fldp,sh64_fstp,sh64_ftrv)
        (sh64_fpref): New functions.
        * sh64.c (sh64_fipr,sh64_fiprs,sh64_fldp,sh64_fstp,sh64_ftrv)
        (sh64_fpref): New functions.
        (sh_models): Add sh2e, sh2a, sh2a_nofpu, sh4_nofpu, sh4a,
        sh4a_nofpu and sh4al.
        (sh2e_mach): New MACH.
        (sh2a_fpu_mach): New MACH.
        (sh2a_nofpu_mach): New MACH.
        (sh4_nofpu): New MACH.
        (sh4a_mach): New MACH.
        (sh4a_nofpu_mach): New MACH.
        (sh4al_mach): New MACH.
        * Makefile.in (stamp-*): Depend on $(CGEN_CPU_DIR)/sh-sim.cpu. Pass
        archfile to CGEN script.
        * arch.c: Regenerated.
        * arch.h: Regenerated.
        * cpu.c: Regenerated.
        * cpu.h: Regenerated.
        * cpuall.h: Regenerated.
        * decode-compact.c: Regenerated.
        * decode-compact.h: Regenerated.
        * decode-media.c: Regenerated.
        * decode-media.h: Regenerated.
        * defs-compact.h: Regenerated.
        * defs-media.h: Regenerated.
        * sem-compact-switch.c: Regenerated.
        * sem-compact.c: Regenerated.
        * sem-media-switch.c: Regenerated.
        * sem-media.c: Regenerated.
        * sh-desc.c: Regenerated.
        * sh-desc.h: Regenerated.
        * sh-opc.h: Regenerated.

17 years ago2006-10-18 Dave Brolley <brolley@redhat.com>
brolley [Wed, 18 Oct 2006 18:04:40 +0000 (18:04 +0000)]
2006-10-18  Dave Brolley  <brolley@redhat.com>

        * Contribute the following changes:

        2006-07-11  Dave Brolley  <brolley@redhat.com>

        * cpu/sh64-compact.cpu (movual, movual2): New insns.
        (movcol): New insn.
        * cpu/sh.cpu (sh4a-nofpu-models): New pmacro.
        * sid.scm (-op-gen-delayed-set-maybe-trace): If delay used, note the
        hardware or memory mode which was used.
        * sid-cpu.scm (hw-need-write-stack?): New function.
        (-gen-hw-stream-and-destream-fns): Compute stack-regs. Use it to
        identify hardware which uses write stacks.
        (useful-mode-names): Renamed to write-stack-memory-mode-names.
        Initialized to an empty list.
        (-gen-writestacks, -gen-reset-fn, -gen-unified-write-fn): Use
        hw-need-write-stack?.
        * hardware.scm (used-in-delay-rtl?): New member of <hardware-base>.
        (define-getters <hardware-base>): Define used-in-delay-rtl?.
        (used-in-delay-rtl?): New method of <hardware-base>.
        (hw-used-in-delay-rtl?): New function.

        2006-06-20  Dave Brolley  <brolley@redhat.com>

        * sid.scm (gen-attr-type): Removed.
        * cpu/sh.cpu (SH2a-nofpu-MACH): Add sh5.
        (SH2a-MACH): Add sh5.
        (sh2a-nofpu-models): Add units for sh5.
        (sh2a-fpu-models): Likewise.

        2006-06-15  Dave Brolley  <brolley@redhat.com>

        * cpu/sh-sim.cpu: New file.
        * cpu/sh-sid.cpu: New file.
        * cpu/sh64-media.cpu (dshci): Add xtiming argument and splice it in.
        (All fields): Remap for (insn-lsb0? #f)
        (All insns): Add timing specs.
        * cpu/sh64-compact.cpu (dshcf,dshcop): Replace 'ignored' argument with
        'xattrs' and .splice it in.
        (32-BIT-INSN,SH4-GROUP,SH4A-GROUP): New insn attributes.
        (h-frc,h-drc): Add PROFILE attribute.
        (h-fpccr): Removed.
        (h-vbr): New hardware.
        (All fields): Remap for (insn-lsb0? #f)
        (f-imm20-hi,f-imm20-lo,f-imm20): New fields.
        (fr0,fmovm,fmovn,imm20,imm12x4,imm12x8,vbr): New operands.
        (fpscr): Use h-fpscr.
        (fsdm,fsdn): Use h-fsd.
        (dshci): Add xtiming argument and splice it in.
        (dr,xd): pmacros removed.
        (All insns): Add timing specs, *-MACH attribibutes,
        SH4{A}-GROUP attributes.
        (divu,mulr,ldc-vbr,ldc-sr,ldcl-vbr,movl12,movl13,stcl-vbr): New insns.
        * cpu/sh.cpu): Include sh-sid.cpu or sh-sim.cpu depending on whether
        we're being processed for sim or sid.
        (define-arch): Change insn-lsb0? for #f. Add machs sh2e, sh2a-fpu,
        sh2a-nofpu, sh4-nofpu, sh4a-nofpu, sh4a, sh4al.
        (define-isa compact): Add (isa-parallel-insns 2).
        (define-isa media): Add (isa-parallel-insns 2). Add
        (default-insn-word-bitsize 32). Change base-insn-bitsize to 32.
        (define-mach): Add sh2e, sh2a-fpu, sh2a-nofpu, sh4-nofpu, sh4a-nofpu,
        sh4a, sh4al
        (SH2-MACH, SH2e-MACH, SH2a-nofpu-MACH, SH2a-MACH, SH3-MACH)
        (SH3e-MACH, SH4-nofpu-MACH, SH4-MACH, SH4a-nofpu-MACH, SH4a-MACH)
        (SH4al-MACH, SH5-MACH): New pmacros.
        (common-units, common-fp-units, sh2a-nofpu-units, sh2a-fpu-units)
        (sh4-nofpu-units, sh4-common-fp-units, sh5-media-units)
        (sh5-media-fp-units, common-model, common-model-with-fp)
        (sh3-model, sh3e-model): New pmacros.
        (define-model sh2): New model.
        (define-model sh2e): New model.
        (define-model sh3): New model.
        (define-model sh3e): New model.
        (define-model sh2a-nofpu): New model.
        (define-model sh2a-fpu): New model.
        (define-model sh4-nofpu): New model.
        (define-model sh4): New model.
        (define-model sh4a-nofpu): New model.
        (define-model sh4a): New model.
        (define-model sh4al): New model.
        (define-model sh5-media): New model.
        (define-model sh5): Add all units.
        (all-models, sh2e-models, sh2a-nofpu-models, sh2a-fpu-models)
        (sh3-models, sh3e-models, sh4-nofpu-models, sh4-models)
        (sh5-media-models, shad-models, fsqrt-models): New pmacros.
        (h-pc): Add PROFILE attribute.
        (h-fr): Likewise.
        (h-tr): Likewise.
        (h-gr,h-grc): Likewise.
        (h-cr): Set h-sr in setter.
        (h-frbit): Get/Set h-fpscr.
        (h-szbit,h-prbit): Likewise.
        (h-fp): Add PROFILE attribute. Now indexed by even indices 0-62.
        Add getter and setter.
        (h-fc): Add PROFILE attribute. Now indexed by quad indices 0-60.
        Adjust getter and setter.
        (h-fmtx): Add PROFILE attribute. Now indexed by 0, 16, 32 and 48.
        Adjust getter and setter.
        (h-dr): Add PROFILE attribute. Now indexed by even indices 0-62.
        (h-fsd,h-fmov): New hardware.

17 years ago * gprof.c (main): Fix option string for -r and -R.
bwilson [Wed, 18 Oct 2006 17:42:43 +0000 (17:42 +0000)]
* gprof.c (main): Fix option string for -r and -R.

17 years ago * inferior.h (start_remote): Update prototype.
drow [Wed, 18 Oct 2006 16:56:12 +0000 (16:56 +0000)]
* inferior.h (start_remote): Update prototype.
* infrun.c (start_remote): Take FROM_TTY.  Call
post_create_inferior.
* monitor.c (monitor_open): Update call to start_remote.
* remote-sds.c (sds_start_remote, sds_open): Likewise.
* remote.c (remote_start_remote): Likewise.
(remote_start_remote_dummy): Removed.
(remote_open): Update call to remote_start_remote.  Do not call
post_create_inferior here.

17 years ago * lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
drow [Wed, 18 Oct 2006 16:49:05 +0000 (16:49 +0000)]
* lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
of patterns.

17 years ago * configure.tgt (i[3-7]86-*-linux-*): Also define
jsm28 [Wed, 18 Oct 2006 16:24:01 +0000 (16:24 +0000)]
* configure.tgt (i[3-7]86-*-linux-*): Also define
targ_extra_libpath in want64 case.
* emulparams/elf_x86_64.sh: Handle i[3-7]86-*-linux-* the same as
x86_64*-linux*.

17 years ago2006-10-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 18 Oct 2006 16:23:23 +0000 (16:23 +0000)]
2006-10-18  H.J. Lu  <hongjiu.lu@intel.com>

* ld-elf/dl4.c: New file.
* ld-elf/dl4.list: Likewise.
* ld-elf/dl4a.out: Likewise.
* ld-elf/dl4b.out: Likewise.
* ld-elf/dl4main.c: Likewise.
* ld-elf/dl4xxx.c: Likewise.
* ld-elf/dl4xxx.list: Likewise.

* ld-elf/shared.exp (build_tests): Add libdl4a.so and
libdl4b.so.
(run_tests): Likewise.

17 years ago * elf32-arm.c (elf32_arm_final_link_relocate): Add support for
shinwell [Wed, 18 Oct 2006 15:34:50 +0000 (15:34 +0000)]
* elf32-arm.c (elf32_arm_final_link_relocate): Add support for
R_ARM_MOVW_BREL_NC, R_ARM_MOVW_BREL, R_ARM_MOVT_BREL,
R_ARM_THM_MOVW_BREL_NC, R_ARM_THM_MOVW_BREL and
R_ARM_THM_MOVT_BREL relocations.

17 years ago * solib-svr4.c (debug_loader_offset_p, debug_loader_offset)
drow [Wed, 18 Oct 2006 15:34:39 +0000 (15:34 +0000)]
* solib-svr4.c (debug_loader_offset_p, debug_loader_offset)
(debug_loader_name, svr4_default_sos): New.
(svr4_current_sos): Call svr4_default_sos.
(enable_break): Add a comment about AT_BASE.  Set the new
variables and retry solib_add.
(svr4_clear_solib): Clear the new variables.

17 years ago * NEWS: Mention support for TLS without debugging information.
drow [Wed, 18 Oct 2006 15:29:18 +0000 (15:29 +0000)]
* NEWS: Mention support for TLS without debugging information.

17 years agold/testsuite/
rsandifo [Wed, 18 Oct 2006 13:02:00 +0000 (13:02 +0000)]
ld/testsuite/
* ld-mips-elf/reloc-1-n64.d: Match 16-character VMAs on LP64 hosts.

17 years agoFix typo in last changelog.
rsandifo [Wed, 18 Oct 2006 12:38:26 +0000 (12:38 +0000)]
Fix typo in last changelog.

17 years agold/testsuite/
rsandifo [Wed, 18 Oct 2006 12:34:19 +0000 (12:34 +0000)]
ld/testsuite/
* ld-mips-elf/rel32-n32.d: Bump addresses by 0x30 to account for
the fact that .reginfo is now placed before .text.  Change the
section number of .text accordingly.

17 years agold/testsuite/
rsandifo [Wed, 18 Oct 2006 07:13:47 +0000 (07:13 +0000)]
ld/testsuite/
* ld-mips-elf/elf-rel-got-n32.d: Adjust page gap from 0x100000
to 0x10000.  Move .reginfo before .text and bump .text addresses
by 0x10 to make room.  Move data segment down by 0x10 bytes to
account for new size of text segment.
* ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
* ld-mips-elf/elf-rel-got-n64-linux.d: Adjust page gap from
0x100000 to 0x10000.
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.

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

17 years agodaily update
amodra [Tue, 17 Oct 2006 23:59:14 +0000 (23:59 +0000)]
daily update

17 years agogdb/
drow [Tue, 17 Oct 2006 21:55:23 +0000 (21:55 +0000)]
gdb/
* gdbint.texinfo (Target Vector Definition): Move most
content into Existing Targets.  Add a menu.
(Existing Targets): New section, moved from Target Vector
Definition.  Use @subsection.
(Managing Execution State): New section.
gdb/doc/
* remote-sim.c (gdbsim_kill): Call target_mourn_inferior.
(gdbsim_load): Don't bother to adjust inferior_ptid here.
(gdbsim_create_inferior): Mark the simulator as running.
(gdbsim_open): Don't bother fetching registers.  Mark
the target as not running.
(gdbsim_xfer): When the program is not running, pass memory
requests down.
(gdbsim_mourn_inferior): Mark the target as not running.
* target.c (target_mark_running, target_mark_exited): New.
* target.h (target_has_execution): Update the comment.
(target_mark_running, target_mark_exited): New prototypes.

17 years ago * breakpoint.c (free_valchain): Minor reformatting.
brobecke [Tue, 17 Oct 2006 21:53:26 +0000 (21:53 +0000)]
    * breakpoint.c (free_valchain): Minor reformatting.

17 years ago * gdb.texinfo (ST2000): Use Ctrl- instead of C-.
bwilson [Tue, 17 Oct 2006 21:08:17 +0000 (21:08 +0000)]
    * gdb.texinfo (ST2000): Use Ctrl- instead of C-.

17 years ago * solib-svr4.c (LM_ADDR_CHECK): Suggest shared library mismatch.
drow [Tue, 17 Oct 2006 20:52:29 +0000 (20:52 +0000)]
* solib-svr4.c (LM_ADDR_CHECK): Suggest shared library mismatch.

17 years agogdb/
drow [Tue, 17 Oct 2006 20:17:43 +0000 (20:17 +0000)]
gdb/
* Makefile.in (symtab.o): Update.
* symtab.h (matching_bfd_section): New prototype.
* symtab.c (matching_bfd_section): New.
(find_pc_sect_psymbol, find_pc_sect_symtab): Use it.
* minsyms.c (lookup_minimal_symbol_by_pc_section): Likewise.
* printcmd.c (sym_info): Ignore separate debug objfiles.
gdb/testsuite/
* gdb.base/sepdebug.exp: Remove debug format test.
* lib/gdb.exp (gdb_gnu_strip_debug): Perform debug format test.
Handle no-symtab.
* gdb.base/sepsymtab.c, gdb.base/sepsymtab.exp: New.

17 years ago * glob.c: Remove.
corinna [Tue, 17 Oct 2006 17:34:55 +0000 (17:34 +0000)]
* glob.c: Remove.
* glob.cc: New file.  Latest glob version from FreeBSD plus Cygwin
specific changes (__stat64/__stat32, ignore_case_with_glob,
drop collate functions).
(glob3): Return GLOB_ABORTED in case directory is unreadable and
GLOB_ERR is set, as demanded by SUSv3.
* glob.h: Import latest version from FreeBSD.

17 years ago * gprof.texi (Analysis Options): Argument for -n/-N is mandatory.
bwilson [Tue, 17 Oct 2006 16:19:19 +0000 (16:19 +0000)]
    * gprof.texi (Analysis Options): Argument for -n/-N is mandatory.

17 years ago * acinclude.m4 (SRV_CHECK_TLS_GET_ADDR): New.
drow [Tue, 17 Oct 2006 16:02:27 +0000 (16:02 +0000)]
* acinclude.m4 (SRV_CHECK_TLS_GET_ADDR): New.
* configure.ac: Use it.  Define HAVE_TD_THR_TLS_GET_ADDR.
* config.in, configure: Regenerated.
* inferiors.c (gdb_id_to_thread): New function.
(gdb_id_to_thread_id): Use it.
* linux-low.c (linux_target_ops): Use thread_db_get_tls_address.
* linux-low.h (struct process_info): Add th member.
(thread_db_get_tls_address): New prototype.
* remote-utils.c (decode_address): Make non-static.
* server.c (handle_query): Handle qGetTLSAddr.
* server.h (gdb_id_to_thread, decode_address): New prototypes.
* target.h (struct target_ops): Add get_tls_address.
* thread-db.c (maybe_attach_thread): Save the thread handle.
(thread_db_get_tls_address): New.

17 years ago * gdb.threads/manythreads.c (thread_function, main): Don't cast
drow [Tue, 17 Oct 2006 15:52:52 +0000 (15:52 +0000)]
* gdb.threads/manythreads.c (thread_function, main): Don't cast
int to pointer or pointer to int.
* gdb.threads/manythreads.exp: Don't expect the string "LWP".

17 years ago bfd/
shinwell [Tue, 17 Oct 2006 15:46:21 +0000 (15:46 +0000)]
bfd/
* elf32-arm.c (elf32_arm_howto_table_1): Change offset for
R_THM_CALL to 25 and remove FIXME comment.
(using_thumb2): New function.
(elf32_arm_final_link_relocate): Cope with Thumb-2 BL encoding.

include/
* elf/arm.h: Define TAG_CPU_ARCH_* constants.

ld/testsuite/
* ld-arm/arm-elf.exp: Add thumb1-bl, thumb2-bl,
thumb2-bl-as-thumb1-bad and thumb2-bl-bad tests.
* ld-arm/thumb1-bl.d: New.
* ld-arm/thumb1-bl.s: New.
* ld-arm/thumb2-bl-as-thumb1-bad.d: New.
* ld-arm/thumb2-bl-as-thumb1-bad.s: New.
* ld-arm/thumb2-bl-bad.d: New.
* ld-arm/thumb2-bl-bad.s: New.
* ld-arm/thumb2-bl.d: New.
* ld-arm/thumb2-bl.s: New.

17 years ago * remote.c (remote_pid_to_str): Capitalize "Thread".
drow [Tue, 17 Oct 2006 15:43:50 +0000 (15:43 +0000)]
* remote.c (remote_pid_to_str): Capitalize "Thread".

17 years ago * elf32-arm.c (elf32_arm_final_link_relocate): Add cases
shinwell [Tue, 17 Oct 2006 14:49:51 +0000 (14:49 +0000)]
* elf32-arm.c (elf32_arm_final_link_relocate): Add cases
for R_ARM_ABS32_NOI and R_ARM_REL32_NOI.
(elf32_arm_gc_sweep_hook): Likewise.
(elf32_arm_check_relocs): Likewise.
(allocate_dynrelocs): Likewise.

17 years ago2006-10-17 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 17 Oct 2006 14:06:02 +0000 (14:06 +0000)]
2006-10-17  H.J. Lu  <hongjiu.lu@intel.com>

* configure: Regenerated.

17 years ago * scripttempl/elf.sc (INTERP): Delete. Move definition to..
amodra [Tue, 17 Oct 2006 13:55:11 +0000 (13:55 +0000)]
* scripttempl/elf.sc (INTERP): Delete.  Move definition to..
(INITIAL_READONLY_SECTIONS): ..here.
* emulparams/criself.sh (INITIAL_READONLY_SECTIONS): Include .interp.
* emulparams/elf32bmip.sh (INITIAL_READONLY_SECTIONS): Ditto.
* emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Ditto.

17 years ago * winsup.h (WINVER): Define instead of _WIN32_WINNT. Set to 0x0502.
corinna [Tue, 17 Oct 2006 13:55:01 +0000 (13:55 +0000)]
* winsup.h (WINVER): Define instead of _WIN32_WINNT.  Set to 0x0502.
(_NO_W32_PSEUDO_MODIFIERS): Define.

17 years agobfd/
amodra [Tue, 17 Oct 2006 13:41:46 +0000 (13:41 +0000)]
bfd/
* elf-bfd.h (struct elf_link_hash_table): Reorder.  Add
text_index_section and data_index_section.
(struct elf_backend_data): Add elf_backend_init_index_section.
(_bfd_elf_init_1_index_section): Declare.
(_bfd_elf_init_2_index_sections): Declare.
* elfxx-target.h (elf_backend_init_index_section): Define.
(elfNN_bed): Init new field.
* elflink.c (_bfd_elf_link_omit_section_dynsym): Keep first tls
section and text_index_section plus data_index_section.
(_bfd_elf_link_renumber_dynsyms): Clear dynindx on omitted sections.
(_bfd_elf_init_1_index_section): New function.
(_bfd_elf_init_2_index_sections): New function.
(bfd_elf_size_dynsym_hash_dynstr): Call elf_backend_init_index_section.
(elf_link_input_bfd): When emitting relocs, use text_index_section
and data_index_section for removed sections.
* elf-m10300.c (elf_backend_omit_section_dynsym): Define.
* elf32-i386.c: Likewise.
* elf32-m32r.c: Likewise.
* elf32-sh.c: Likewise.
* elf32-xstormy16.c: Likewise.
* elf32-xtensa.c: Likewise.
* elf64-alpha.c: Likewise.
* elf64-hppa.c: Likewise.
* elf64-mmix.c: Likewise.
* elf64-sh64.c: Likewise.
* elfxx-ia64.c: Likewise.
* elf32-arm.c (elf32_arm_final_link_relocate): Use text_index_section
and data_index_section sym for relocs against sections with no dynamic
section sym.
(elf_backend_init_index_section): Define.
* elf32-cris.c: Similarly.
* elf32-hppa.c: Similarly.
* elf32-i370.c: Similarly.
* elf32-m68k.c: Similarly.
* elf32-mips.c: Similarly.
* elf32-ppc.c: Similarly.
* elf32-s390.c: Similarly.
* elf32-sparc.c: Similarly.
* elf32-vax.c: Similarly.
* elf64-mips.c: Similarly.
* elf64-ppc.c: Similarly.
* elf64-s390.c: Similarly.
* elf64-sparc.c: Similarly.
* elf64-x86-64.c: Similarly.
* elfn32-mips.c: Similarly.
* elfxx-mips.c: Similarly.
* elfxx-sparc.c: Similarly.
* linker.c (fix_syms): Base symbols in removed sections on
previous section in preference to using absolute section.

ld/
* ldlang.c (strip_excluded_output_sections): Do strip sections
that define syms, but don't ignore them.
* ld.texinfo (Output Section Discarding): Revise.
* emultempl/armcoff.em (gld${EMULATION_NAME}_finish): Always call
finish_default.

ld/testsuite/
Update for section sym changes.

17 years agoReally remove operands64.d, operands64.s, operands.d and operands.s as
sky [Tue, 17 Oct 2006 13:15:01 +0000 (13:15 +0000)]
Really remove operands64.d, operands64.s, operands.d and operands.s as
stated in the ChangeLog 2005/08/12:
* gas/testsuite/gas/s390/opcode.d: Delete.
* gas/testsuite/gas/s390/opcode.s: Delete.
* gas/testsuite/gas/s390/opcode64.d: Delete.
* gas/testsuite/gas/s390/opcode64.s: Delete.

17 years ago * gprof.c (main): Fix option string for -C, -n and -N.
bwilson [Tue, 17 Oct 2006 04:45:32 +0000 (04:45 +0000)]
    * gprof.c (main): Fix option string for -C, -n and -N.

17 years ago2006-10-17 Brooks Moses <bmoses@stanford.edu>
dj [Tue, 17 Oct 2006 04:23:48 +0000 (04:23 +0000)]
2006-10-17  Brooks Moses  <bmoses@stanford.edu>
* Makefile.def: Added pdf target handling.
* Makefile.tpl: Added pdf target handling.
* Makefile.in: Regenerated.

17 years ago*** empty log message ***
gdbadmin [Tue, 17 Oct 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Mon, 16 Oct 2006 23:59:13 +0000 (23:59 +0000)]
daily update

17 years agold/
rsandifo [Mon, 16 Oct 2006 21:34:24 +0000 (21:34 +0000)]
ld/
* Makefile.am (eelf64bmip.c): Depend on emulparams/elf64bmip-defs.sh.
(eelf64btsmip.c, eelf64ltsmip.c): Likewise.
* Makefile.in: Regenerate.
* emulparams/elf32bmipn32-defs.sh (INITIAL_READONLY_SECTIONS): Include
.reginfo rather than .MIPS.options.
* emulparams/elf64bmip-defs.sh: New file.
* emulparams/elf64bmip.sh: Include it.
(COMMONPAGESIZE): Delete.
* emulparams/elf64btsmip.sh: As for elf64bmip.sh.

ld/testsuite/
* ld-mips-elf/branch-misc-1.d: Set the start address to 0x20000000.
* ld-mips-elf/jalbal.d: Likewise 0x200000a0.
* ld-mips-elf/jaloverflow-2.d: Likewise 0x20000000.
* ld-mips-elf/reloc-3-n32.d: Likewise.
* ld-mips-elf/reloc-3.d: Likewise.
* ld-mips-elf/textrel-1.d: Don't require a specific file offset for
.dynamic.

17 years ago2006-10-16 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 16 Oct 2006 21:24:00 +0000 (21:24 +0000)]
2006-10-16  H.J. Lu  <hongjiu.lu@intel.com>

* gas/i386/i386.exp: Indent "x86-64-nops-1".

17 years ago * regtool.cc (KEY_WOW64_64KEY): Drop definition. Instead define
corinna [Mon, 16 Oct 2006 19:34:27 +0000 (19:34 +0000)]
* regtool.cc (KEY_WOW64_64KEY): Drop definition.  Instead define
WINVER to 0x0502 before including windows.h.

17 years ago * regtool.cc (KEY_WOW64_64KEY): Define.
corinna [Mon, 16 Oct 2006 18:00:06 +0000 (18:00 +0000)]
* regtool.cc (KEY_WOW64_64KEY): Define.
(longopts): Add --wow64 option.
(opts): Add -w option.
(wow64): New variable to control usage of KEY_WOW64_64KEY access flag.
(usage): Add text for --wow64/-w option.
(print_version): Fix copyright.
(find_key): Use wow64 value in calls to RegOpenKeyEx and RegCreateKeyEx.
(cmd_add): Use wow64 value in call to RegCreateKeyEx.
(regDeleteKeyEx): New function pointer to load RegDeleteKeyEx function
dynamically.
(cmd_remove): Load and use regDeleteKeyEx when wow64 is set.
(main): Handle --wow64/-w option.
* utils.sgml: Document the new -w option.

17 years ago * elfxx-ia64.c (addend_compare): Properly compute return value.
schwab [Mon, 16 Oct 2006 17:21:44 +0000 (17:21 +0000)]
* elfxx-ia64.c (addend_compare): Properly compute return value.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::opendir): Drop redundant
corinna [Mon, 16 Oct 2006 13:11:29 +0000 (13:11 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Drop redundant
access check.

17 years ago * include/asm/byteorder.h: Fix copyright dates.
corinna [Mon, 16 Oct 2006 12:34:34 +0000 (12:34 +0000)]
* include/asm/byteorder.h: Fix copyright dates.
Fix typos in ChangeLog.

17 years ago Fix pathnames.
corinna [Mon, 16 Oct 2006 12:31:19 +0000 (12:31 +0000)]
Fix pathnames.

17 years ago * autoload.cc (PrivilegeCheck): Define.
corinna [Mon, 16 Oct 2006 12:26:58 +0000 (12:26 +0000)]
* autoload.cc (PrivilegeCheck): Define.
* fhandler.cc (fhandler_base::open): Always try opening with backup
resp. restore intent.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Always try
opening with backup intent.
(fhandler_disk_file::readdir): Ditto when trying to retrieve file id
explicitely.
* security.cc (check_file_access): Replace pbuf with correctly
PPRIVILEGE_SET typed pset.  Check explicitely for backup and/or restore
privileges when AccessCheck fails, to circumvent AccessCheck
shortcoming.  Add comment to explain.

17 years ago * input-scrub.c (input_scrub_next_buffer): Use TC_EOL_IN_INSN
bernds [Mon, 16 Oct 2006 12:02:40 +0000 (12:02 +0000)]
* input-scrub.c (input_scrub_next_buffer): Use TC_EOL_IN_INSN
in addition to testing for '\n'.
(TC_EOL_IN_INSN): Provide a default definition if necessary.

17 years ago PR remote/2158
drow [Mon, 16 Oct 2006 03:08:36 +0000 (03:08 +0000)]
PR remote/2158
* remote.c (remote_write_bytes): Throttle packet alignment
for small packets.

17 years ago*** empty log message ***
gdbadmin [Mon, 16 Oct 2006 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Sun, 15 Oct 2006 23:59:14 +0000 (23:59 +0000)]
daily update

17 years ago * gdb.texinfo (Signals, Set Breaks, Set Watchpoints): Document optional
eliz [Sun, 15 Oct 2006 21:36:00 +0000 (21:36 +0000)]
* gdb.texinfo (Signals, Set Breaks, Set Watchpoints): Document optional
arguments to `info signals'  `handle', `info breakpoints', and
`info watchpoints'.

17 years ago * gdb.texinfo (Sample Session, Invocation, Quitting GDB)
eliz [Sun, 15 Oct 2006 21:19:49 +0000 (21:19 +0000)]
* gdb.texinfo (Sample Session, Invocation, Quitting GDB)
(Command Syntax, Signals, Backtrace, Connecting)
(Remote configuration, Renesas Boards, Console I/O): Fix last
change: use Ctrl- instead of C-, except wrt Emacs.
(File-I/O Examples): Put Ctrl-c in @kbd.
(Cygwin Native, File-I/O Overview, The Ctrl-C message)
(Console I/O): Use @samp with Ctrl-.

17 years ago * gdb.texinfo (Sample Session, Invocation, Quitting GDB)
eliz [Sun, 15 Oct 2006 21:19:24 +0000 (21:19 +0000)]
* gdb.texinfo (Sample Session, Invocation, Quitting GDB)
(Command Syntax, Signals, Backtrace, Connecting)
(Remote configuration, Renesas Boards, Console I/O): Fix last
change: use Ctrl- instead of C-, except wrt Emacs.
(File-I/O Examples): Put Ctrl-c in @kbd.
(Cygwin Native, File-I/O Overview, The Ctrl-C message)
(Console I/O): Use @samp with Ctrl-.

17 years ago(thread_db_wait): Don't bother continuing if the wait result indicates the
nickrob [Sun, 15 Oct 2006 19:38:45 +0000 (19:38 +0000)]
(thread_db_wait): Don't bother continuing if the wait result indicates the
program terminated with a signal (from gdb-6.3-ia64-sigill-20051115.patch, a
patch for Fedora Core 5).

17 years ago*** empty log message ***
nickrob [Sun, 15 Oct 2006 19:37:49 +0000 (19:37 +0000)]
*** empty log message ***

17 years ago2006-10-15 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 15 Oct 2006 14:22:10 +0000 (14:22 +0000)]
2006-10-15  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/3314
* elf.c (assign_file_positions_for_non_load_sections): Don't
page align empty SHF_ALLOC sections.

17 years ago*** empty log message ***
gdbadmin [Sun, 15 Oct 2006 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Sat, 14 Oct 2006 23:59:18 +0000 (23:59 +0000)]
daily update

17 years ago * gdb.texinfo (Backtrace): Fix last change.
eliz [Sat, 14 Oct 2006 18:34:02 +0000 (18:34 +0000)]
* gdb.texinfo (Backtrace): Fix last change.

17 years ago(Backtrace): Order correctly and add other cases.
nickrob [Sat, 14 Oct 2006 00:21:13 +0000 (00:21 +0000)]
(Backtrace): Order correctly and add other cases.

17 years ago*** empty log message ***
nickrob [Sat, 14 Oct 2006 00:20:02 +0000 (00:20 +0000)]
*** empty log message ***

17 years ago*** empty log message ***
gdbadmin [Sat, 14 Oct 2006 00:00:09 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Fri, 13 Oct 2006 23:59:16 +0000 (23:59 +0000)]
daily update

17 years ago * elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_sections): Set
jakub [Fri, 13 Oct 2006 21:03:40 +0000 (21:03 +0000)]
* elfxx-sparc.c (_bfd_sparc_elf_finish_dynamic_sections): Set
.plt sh_entsize to 0 if plt header size isn't multiple of
plt entry size or for 32-bit which adds a nop insn at the
end of the .plt section.

17 years ago* winsup.h: Turn off DEBUGGING.
cgf [Fri, 13 Oct 2006 12:49:18 +0000 (12:49 +0000)]
* winsup.h: Turn off DEBUGGING.

17 years ago * Makefile.in (CFLAGS): Drop -nostdinc.
corinna [Fri, 13 Oct 2006 11:55:05 +0000 (11:55 +0000)]
* Makefile.in (CFLAGS): Drop -nostdinc.
* cygsuba.c: Reorder includes to allow building with VC++.
* make-64bit-version-with-visual-c.bat: New file.

17 years ago* dwarf2dbg.c (out_debug_info): Use TC_DWARF2_EMIT_OFFSET to emit a disjoint DW_AT...
nickc [Fri, 13 Oct 2006 11:36:02 +0000 (11:36 +0000)]
* dwarf2dbg.c (out_debug_info): Use TC_DWARF2_EMIT_OFFSET to emit a disjoint DW_AT range.

17 years ago * autoload.cc (Wow64DisableWow64FsRedirection): Define.
corinna [Fri, 13 Oct 2006 11:10:27 +0000 (11:10 +0000)]
* autoload.cc (Wow64DisableWow64FsRedirection): Define.
(Wow64RevertWow64FsRedirection): Define.
* security.cc (cygsuba_installed): New shared variable to store result
of cygsuba.dll installation test.
(subauth): Check if cygsuba.dll has been installed and registered
before issuing the (sub)authentication.

17 years agoPR binutils/2876
nickc [Fri, 13 Oct 2006 09:43:28 +0000 (09:43 +0000)]
PR binutils/2876
* configure.in: Check for the mkstemp and mkdtemp functions.
* configure: Regenerate.
* config.in (HAVE_MKDTEMP): New potential define.
(MAKE_MKSTEMP): Likewise.
* bucomm.c (make_tempname): Use mkstemp if it is available.
* make_tempdir): New function: Create a temporary directory using mkdtemp, if
it is available.
* bucomm.h (make_tempdir): New prototype.
* objcopy.c (copy_archive): Use make_tempdir if it is available.
  (strip_main): Produce an warning message if a temporary file could not be
  (copy_main): Likewise.
* ar.c (write_archive): Likewise.

17 years ago * config/tc-score.c (md_show_usage): Print -KPIC option usage.
nickc [Fri, 13 Oct 2006 06:55:50 +0000 (06:55 +0000)]
  * config/tc-score.c (md_show_usage): Print -KPIC option usage.

17 years agoAdd in one of the previous entries the fact that the change was to
brobecke [Fri, 13 Oct 2006 02:40:47 +0000 (02:40 +0000)]
Add in one of the previous entries the fact that the change was to
fix PR symtab/2018.

17 years ago*** empty log message ***
gdbadmin [Fri, 13 Oct 2006 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Thu, 12 Oct 2006 23:59:17 +0000 (23:59 +0000)]
daily update

17 years agobfd/
bwilson [Thu, 12 Oct 2006 21:56:18 +0000 (21:56 +0000)]
bfd/
* elf32-xtensa.c (elf_xtensa_action_discarded): New.
(elf_backend_action_discarded): Define.
ld/
* emultempl/xtensaelf.em (is_inconsistent_linkonce_section): Check
for linkonce XCC exception tables (".e" and ".h").

17 years ago * gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.
drow [Thu, 12 Oct 2006 19:03:22 +0000 (19:03 +0000)]
* gdb.base/annota1.exp, gdb.base/maint.exp: Use string_to_regexp.

17 years ago * security.cc (create_token): Fix condition for source identifier.
corinna [Thu, 12 Oct 2006 15:38:25 +0000 (15:38 +0000)]
* security.cc (create_token): Fix condition for source identifier.

17 years ago * include/winuser.h (LR_DEFAULTSIZE, LR_VGACOLOUR): Define.
dannysmith [Thu, 12 Oct 2006 04:25:56 +0000 (04:25 +0000)]
* include/winuser.h (LR_DEFAULTSIZE, LR_VGACOLOUR): Define.

17 years ago*** empty log message ***
gdbadmin [Thu, 12 Oct 2006 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

17 years agodaily update
amodra [Wed, 11 Oct 2006 23:59:20 +0000 (23:59 +0000)]
daily update

17 years ago * emulparams/elf32xtensa.sh (TEXT_PLT): Enable.
bwilson [Wed, 11 Oct 2006 22:18:30 +0000 (22:18 +0000)]
* emulparams/elf32xtensa.sh (TEXT_PLT): Enable.
(OTHER_READONLY_SECTIONS): Add linkonce .xt_except_table sections.
(OTHER_READWRITE_SECTIONS): Add linkonce .xt_except_desc sections.
(OTHER_SDATA_SECTIONS): New.
* scripttempl/elfxtensa.sc: Import changes from elf.sc.