OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
18 years ago * libc/include/sys/fcntl.h: Define O_SYNC unconditionally. Fix
corinna [Wed, 14 Dec 2005 09:06:00 +0000 (09:06 +0000)]
* libc/include/sys/fcntl.h: Define O_SYNC unconditionally.  Fix
typo in O_NDELAY comment.

18 years agogas/
jbeulich [Wed, 14 Dec 2005 08:57:05 +0000 (08:57 +0000)]
gas/
2005-12-14  Jan Beulich  <jbeulich@novell.com>

* config/tc-i386.c (add_prefix): More fine-grained handling of
REX prefixes. Or new prefix value into i.prefix instead of
assigning.

gas/testsuite/
2005-12-14  Jan Beulich  <jbeulich@novell.com>

* gas/i386/rex.[sd]: New.
* gas/i386/i386.exp: Run new test.

18 years ago* m32c/crt0.S: Add support for preinit, init, and fini arrays, and
dj [Wed, 14 Dec 2005 03:38:27 +0000 (03:38 +0000)]
* m32c/crt0.S: Add support for preinit, init, and fini arrays, and
.init and .fini processing.
* m32c/crtn.S: Likewise.
* m32c/exit.S: Likewise.

18 years ago* m32c.cpu (jsri): Fix order so register names aren't treated as
dj [Wed, 14 Dec 2005 03:30:06 +0000 (03:30 +0000)]
* m32c.cpu (jsri): Fix order so register names aren't treated as
symbols.
(indexb, indexbd, indexbs, indexl, indexld, indexls, indexw,
indexwd, indexws): Fix encodings.

* m32c-desc.c: Regenerate.
* m32c-opc.c: Regenerate.
* m32c-opc.h: Regenerate.

18 years ago* config/tc-m32c.c (m32c_md_end): Only pad code sections.
dj [Wed, 14 Dec 2005 02:27:34 +0000 (02:27 +0000)]
* config/tc-m32c.c (m32c_md_end): Only pad code sections.

18 years ago*** empty log message ***
gdbadmin [Wed, 14 Dec 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Tue, 13 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
jjohnstn [Tue, 13 Dec 2005 22:59:26 +0000 (22:59 +0000)]
2005-12-13  Nathan Sidwell  <nathan@codesourcery.com>

        * mt/16-002.ld: Change architecture to 'mt'.  Remove
        SEARCH_DIR.
        * mt/16-003.ld: Likewise.
        * mt/64-001.ld: Likewise.
        * mt/Makefile.in: Change comment to reference 'mt' rather than 'ms1'.
        * mt/crt0.S: Likewise.

18 years ago2005-12-13 Nathan Sidwell <nathan@codesourcery.com>
jjohnstn [Tue, 13 Dec 2005 22:57:31 +0000 (22:57 +0000)]
2005-12-13  Nathan Sidwell  <nathan@codesourcery.com>

        * libc/include/machine/ieeefp.h (__mt__): Renamed from __ms1__.
        * libc/include/machine/setjmp.h (__mt__): Likewise.
        * libc/machine/mt/setjmp.S: Rename ms1 reference to mt.
        * libc/machine/configure.in: Ditto.

18 years ago* cygtls.cc (_cygtls::remove): Don't bother if we're exiting.
cgf [Tue, 13 Dec 2005 16:01:57 +0000 (16:01 +0000)]
* cygtls.cc (_cygtls::remove): Don't bother if we're exiting.
* sigproc.cc (_cygtls::remove_wq): Ditto.

18 years ago2005-12-13 H.J. Lu <hongjiu.lu@intel.com>
hjl [Tue, 13 Dec 2005 15:34:28 +0000 (15:34 +0000)]
2005-12-13  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/2008
* elf.c (_bfd_elf_setup_sections): Return FALSE if
elf_linked_to_section will be set to NULL.

* format.c (bfd_check_format_matches): Don't check the default
target twice.

18 years ago* fhandler_tty.cc (fhandler_tty::open): Enhance comment.
cgf [Tue, 13 Dec 2005 14:47:18 +0000 (14:47 +0000)]
* fhandler_tty.cc (fhandler_tty::open): Enhance comment.

18 years ago* hppa-hpux-tdep.c (hppa_hpux_sigtramp_unwind_sniffer): Detect
kettenis [Tue, 13 Dec 2005 10:24:35 +0000 (10:24 +0000)]
* hppa-hpux-tdep.c (hppa_hpux_sigtramp_unwind_sniffer): Detect
export stub for signal trampoline as a signal trampoline too.

18 years ago* hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind_cache): Don't
kettenis [Tue, 13 Dec 2005 10:17:09 +0000 (10:17 +0000)]
* hppa-hpux-tdep.c (hppa_hpux_sigtramp_frame_unwind_cache): Don't
set pcoqh to rp.

18 years ago * h8300-tdep.c (h8300_frame_prev_register): Change valuep type to
corinna [Tue, 13 Dec 2005 10:06:37 +0000 (10:06 +0000)]
* h8300-tdep.c (h8300_frame_prev_register): Change valuep type to
gdb_byte *.
(h8300_push_dummy_call): Change `padded' to gdb_byte.
(h8300_return_value): Change buffer types to gdb_byte.
(h8300h_return_value): Ditto.
(h8300_pseudo_register_read): Ditto.
(h8300_pseudo_register_write): Ditto.

18 years ago * v850-tdep.c (v850_frame_prev_register): Change valuep type to
corinna [Tue, 13 Dec 2005 09:59:04 +0000 (09:59 +0000)]
* v850-tdep.c (v850_frame_prev_register): Change valuep type to
gdb_byte *.

18 years ago * fhandler_tty.cc (fhandler_tty::open): Close newly created window
corinna [Tue, 13 Dec 2005 09:07:12 +0000 (09:07 +0000)]
* fhandler_tty.cc (fhandler_tty::open): Close newly created window
station after switching to original window station.

18 years ago* fhandler_tty.cc (fhandler_tty::open): Add a comment.
cgf [Tue, 13 Dec 2005 05:43:30 +0000 (05:43 +0000)]
* fhandler_tty.cc (fhandler_tty::open): Add a comment.

18 years ago * elf64-ppc.c (ppc64_elf_relocate_section): Force tail calls in
amodra [Tue, 13 Dec 2005 05:39:34 +0000 (05:39 +0000)]
* elf64-ppc.c (ppc64_elf_relocate_section): Force tail calls in
shared libs to resolve locally.

18 years ago* faq-programming.xml: Add note about struct stat64.
joshuadfranklin [Tue, 13 Dec 2005 05:32:43 +0000 (05:32 +0000)]
* faq-programming.xml: Add note about struct stat64.

18 years ago* times.cc (hires_ms::usecs): Subtract from slop from system time or we'll
cgf [Tue, 13 Dec 2005 02:55:11 +0000 (02:55 +0000)]
* times.cc (hires_ms::usecs): Subtract from slop from system time or we'll
always end up priming the pump.

18 years ago* times.cc (systime): Correct precision referenced in comment.
cgf [Tue, 13 Dec 2005 02:02:51 +0000 (02:02 +0000)]
* times.cc (systime): Correct precision referenced in comment.
* fhandler_tty.cc (fhandler_tty_slave::open): Don't free original windows
station since that will cause strange problems displaying fonts.  Reset windows
station to original station after creating console.
* times.cc (hires_ms::usecs): Only reprime when calculated time is less than
system time.

18 years ago* include/winuser.h (WINSTA_ALL_ACCESS): Define.
cgf [Tue, 13 Dec 2005 01:24:35 +0000 (01:24 +0000)]
* include/winuser.h (WINSTA_ALL_ACCESS): Define.

18 years ago* pinfo.cc (winpids::add): Don't copy procinfo when there is no cygwin process
cgf [Tue, 13 Dec 2005 00:54:32 +0000 (00:54 +0000)]
* pinfo.cc (winpids::add): Don't copy procinfo when there is no cygwin process
associated with the pid, i.e., procinfo == NULL.

18 years ago* times.cc (hires_ms::usecs): Correct order when checking if high precision
cgf [Tue, 13 Dec 2005 00:43:46 +0000 (00:43 +0000)]
* times.cc (hires_ms::usecs): Correct order when checking if high precision
time is <= current time.

18 years ago*** empty log message ***
gdbadmin [Tue, 13 Dec 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Mon, 12 Dec 2005 23:00:07 +0000 (23:00 +0000)]
daily update

18 years agocorrect ChangeLog
cgf [Mon, 12 Dec 2005 19:10:02 +0000 (19:10 +0000)]
correct ChangeLog

18 years ago* pinfo.cc (size_copied): New convenience macro.
cgf [Mon, 12 Dec 2005 18:43:28 +0000 (18:43 +0000)]
* pinfo.cc (size_copied): New convenience macro.
(winpids::add): Alias the element that we are working on for slightly better
clarity.  Honor the "make_copy" flag.
(winpids::release): Free and zero procinfo field if it was allocated via
malloc.
(winpids::~winpids): Free copied array.
* pinfo.h (class pinfo): Make winpids class a friend.
(winpids::make_copy): New field.
(winpids::copied): New array.
(winpids::reset): Reset npids after releasing pinfos or suffer a memory leak.
(winpids::winpids): Try harder to allocate all fields in the class.

18 years ago2005-12-12 Paul Brook <paul@codesourcery.com>
pbrook [Mon, 12 Dec 2005 17:03:38 +0000 (17:03 +0000)]
2005-12-12  Paul Brook  <paul@codesourcery.com>

bfd/
* bfd-in2.h: Regenerate.
* elf32-arm.c (elf32_arm_reloc_map): Add BFD_RELOC_ARM_PCREL_CALL and
BFD_RELOC_ARM_PCREL_JUMP.
(check_use_blx): New function.
(bfd_elf32_arm_process_before_allocation): Don't allocate glue if
using BLX.
(elf32_arm_final_link_relocate): Perform bl<->blx conversion for
R_ARM_CALL and R_ARM_THM.
(elf32_arm_get_eabi_attr_int): New function.
(elf32_arm_size_dynamic_sections): Call check_use_blx.
* libbfd.h: Regenerate.
* reloc.c: Add BFD_RELOC_ARM_PCREL_CALL and BFD_RELOC_ARM_PCREL_JUMP.
gas/
* config/tc-arm.c (do_branch): Generate EABI branch relocations.
(do_bl): New function.
(do_blx): Generate BFD_RELOC_ARM_PCREL_CALL relocation.
(do_t_blx): Generate BFD_RELOC_THUMB_PCREL_BRANCH23.
(insns): Use do_bl.
(md_pcrel_from_section): Add BFD_RELOC_ARM_PCREL_CALL and
BFD_RELOC_ARM_PCREL_JUMP.
(md_apply_fix): Merge BFD_RELOC_ARM_PCREL_BRANCH and
BFD_RELOC_ARM_PCREL_BLX cases.  Handle BFD_RELOC_ARM_PCREL_CALL and
BFD_RELOC_ARM_PCREL_JUMP.
(tc_gen_reloc): Handle BFD_RELOC_ARM_PCREL_CALL and
BFD_RELOC_ARM_PCREL_JUMP.
gas/testsuite/
* gas/arm/pic.d: Allow R_ARM_CALL relocations.
include/elf/
* arm.h (elf32_arm_get_eabi_attr_int): Add prototype.
ld/testsuite/
* ld-arm/arm-call.d: New test.
* ld-arm/arm-call1.s: New file.
* ld-arm/arm-call1.s: New file.
* ld-arm/arm-elf.exp: Add arm-call and mixed-app-v5.
* ld-arm/arm.ld: Add .glue_7 and .ARM.attribues.
* ld-arm/mixed-app-v5.d: New file.
* ld-arm/mixed-app.r: Tweak expected output.

18 years ago * autoload.cc (GetSystemTimes): Remove.
corinna [Mon, 12 Dec 2005 14:27:13 +0000 (14:27 +0000)]
* autoload.cc (GetSystemTimes): Remove.

18 years ago * fhandler_proc.cc (format_proc_uptime): Drop usage of GetSystemTimes.
corinna [Mon, 12 Dec 2005 12:18:13 +0000 (12:18 +0000)]
* fhandler_proc.cc (format_proc_uptime): Drop usage of GetSystemTimes.
Use NtQuerySystemInformation to evaluate uptime and idle_time from
all CPU's processor times.  Fallback to GetTickCount.

18 years ago Rename ms1 to mt, part 1
nathan [Mon, 12 Dec 2005 11:24:57 +0000 (11:24 +0000)]
Rename ms1 to mt, part 1
* config.sub: Replace ms1 arch with mt.  Allow ms1 as alias.
* configure.in: Replace ms1 arch with mt.
* configure: Rebuilt.

* bfd/Makefile.am (ALL_MACHINES, ALL_MACHINES_CFILES,
BFD32_BACKENDS, BFD32_BACKENDS_CFILES): Replace ms1 with mt.
(cpu_mt.lo, elf32-mt.lo): Update target and dependency names.
* bfd/Makefile.in: Rebuilt.
* bfd/config.bfd: Replace ms1 arch with mt.
* bfd/configure.in: Replace ms1 files with mt files.
* bfd/configure: Rebuilt.
* bfd/elf32-mt.c: Renamed from elf32-ms1.c.  Update include files.
* bfd/cpu-mt.c: Renamed from cpu-ms1.c.

* cpu/mt.cpu: Rename from ms1.cpu.
* cpu/mt.opc: Rename from ms1.opc.

* binutils/Makefile.am: Replace ms1 files with mt files.
* binutils/Makefile.in: Rebuilt.
* binutils/readelf.c (elf/mt.h): Adjust #include.

* gas/configure.in: Replace ms1 arch with mt arch.
* gas/configure: Rebuilt.
* gas/configure.tgt: Replace ms1 arch with mt arch.
* gas/config/tc-mt.c: Renamed from tc-ms1.c: Update include files.

* gas/doc/Makefile.am (CPU_DOCS): Replace ms1 files with mt files.
* gas/doc/Makefile.in: Rebuilt.

* gas/testsuite/gas/mt: Renamed from ms1 dir.  Update file names as
needed.
* gas/testsuite/gas/mt/errors.exp: Replace ms1 arch with mt arch.
* gas/testsuite/gas/mt/mt.exp: Replace ms1 arch with mt arch.
* gas/testsuite/gas/mt/relocs.exp: Replace ms1 arch with mt arch.

* gdb/configure.tgt: Replace ms1 arch with mt arch.
* gdb/config/mt: Renamed from ms1 dir.  Update file names as needed.
* gdb/config/mt/mt.mt (TDEPFILES): Replace ms1 file with mt file.

* include/elf/mt.h: Renamed from ms1.h

* ld/Makefile.am (ALL_EMULATIONS): Replace ms1 files with mt files.
(eelf32mt.c): Update target name and dependencies.
* ld/Makefile.in: Rebuilt.
* ld/configure.tgt: Replace ms1 arch with mt arch.
* ld/emulparams/elf32mt.sh: Renamed from elf32ms1.sh. Update
comment.

* libgloss/configure.in: Replace ms1 arch with mt arch.
* libgloss/configure: Rebuilt.
* libgloss/mt: Renamed from ms1 dir.

* newlib/configure.host: Replace ms1 arch with mt arch.
* newlib/libc/machine/mt: Renamed from ms1 dir.

* opcodes/Makefile.am (CLEANFILES, CGEN_CPUS, MT_DEPS): Replace ms1
with mt.
* opcodes/Makefile.in: Rebuilt.
* opcodes/configure.in: Replace ms1 files with mt files.
* opcodes/configure: Rebuilt.

* sid/component/cgen-cpu/mt: Renamed from ms1 dir.  Update file
names as appropriate.
* sid/component/cgen-cpu/mt/Makefile.am: Replace ms1 files with mt
files.
* sid/component/cgen-cpu/mt/Makefile.in: Rebuilt.

18 years agoRename ms1 files to mt files (part 1 -- renames only)
nathan [Mon, 12 Dec 2005 11:16:40 +0000 (11:16 +0000)]
Rename ms1 files to mt files (part 1 -- renames only)

18 years ago * mmap.cc (gen_create_protect): Always generate WRITECOPY protection
corinna [Mon, 12 Dec 2005 10:00:32 +0000 (10:00 +0000)]
* mmap.cc (gen_create_protect): Always generate WRITECOPY protection
for private maps.
(fixup_mmaps_after_fork): Fix calculation of WRITECOPY protection for
VirtualProtect.  Add some words to the comment.

18 years ago * elf64-ppc.c (ppc64_elf_size_stubs): Don't consider non-ppc64 input.
amodra [Mon, 12 Dec 2005 03:59:52 +0000 (03:59 +0000)]
* elf64-ppc.c (ppc64_elf_size_stubs): Don't consider non-ppc64 input.

18 years ago*** empty log message ***
gdbadmin [Mon, 12 Dec 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
tausq [Sun, 11 Dec 2005 23:59:33 +0000 (23:59 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Sun, 11 Dec 2005 23:00:07 +0000 (23:00 +0000)]
daily update

18 years ago* winsup.api/ltp/dup03.c (cleanup): Fix longstanding off-by-one error when
cgf [Sun, 11 Dec 2005 22:31:00 +0000 (22:31 +0000)]
* winsup.api/ltp/dup03.c (cleanup): Fix longstanding off-by-one error when
setting array element to -1.

18 years agofix typo.
cgf [Sun, 11 Dec 2005 17:30:53 +0000 (17:30 +0000)]
fix typo.

18 years agomerge from gcc
dj [Sun, 11 Dec 2005 02:16:04 +0000 (02:16 +0000)]
merge from gcc

18 years ago * scripttempl/armbpabi.sc: Fix typo in comment for .ctors.
hp [Sun, 11 Dec 2005 00:49:19 +0000 (00:49 +0000)]
* scripttempl/armbpabi.sc: Fix typo in comment for .ctors.
* scripttempl/elf.sc: Ditto.
* scripttempl/elf32sh-symbian.sc: Ditto.
* scripttempl/elf_chaos.sc: Ditto.
* scripttempl/elfd10v.sc: Ditto.
* scripttempl/elfd30v.sc: Ditto.
* scripttempl/elfxtensa.sc: Ditto.
* scripttempl/iq2000.sc: Ditto.
* scripttempl/xstormy16.sc: Ditto.

18 years ago*** empty log message ***
gdbadmin [Sun, 11 Dec 2005 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago* dirent.h: Change the rest of the d_ino's to __deprecated_d_ino.
cgf [Sat, 10 Dec 2005 23:25:23 +0000 (23:25 +0000)]
* dirent.h: Change the rest of the d_ino's to __deprecated_d_ino.

18 years agodaily update
amodra [Sat, 10 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago* malloc.cc: Update to version 2.8.3.
cgf [Sat, 10 Dec 2005 17:09:58 +0000 (17:09 +0000)]
* malloc.cc: Update to version 2.8.3.
* cygmalloc.h (MSPACE): Remove unneeded definition.

18 years ago * elflink.c (elf_gc_mark_dynamic_ref_symbol): Use !info-executable
amodra [Sat, 10 Dec 2005 03:31:03 +0000 (03:31 +0000)]
* elflink.c (elf_gc_mark_dynamic_ref_symbol): Use !info-executable
to test for linking shared libs, not info->shared.

18 years ago*** empty log message ***
gdbadmin [Sat, 10 Dec 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Fri, 9 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
tausq [Fri, 9 Dec 2005 11:25:04 +0000 (11:25 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

PR corefiles/2026
* hppa-hpux-tdep.c (hppa_hpux_core_osabi_sniffer): Check for HPUX ELF
core files.
(_initialize_hppa_hpux_tdep): Install sniffer for ELF core files.
* config/pa/hpux.mh: Compile corelow.o.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
tausq [Fri, 9 Dec 2005 11:13:34 +0000 (11:13 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa64_convert_code_addr_to_fptr): New function.
(hppa64_push_dummy_call): If passing a function pointer, ensure
it is a function descriptor address instead of the function entry
point.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
tausq [Fri, 9 Dec 2005 11:10:24 +0000 (11:10 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* hppa-tdep.c (hppa64_dwarf_reg_to_regnum): New funtion.
(hppa_gdbarch_init): Set dwarf_reg_to_regnum and
dwarf2_reg_to_regnum methods.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
tausq [Fri, 9 Dec 2005 11:05:26 +0000 (11:05 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* gdb.asm/asm-source.exp (hppa64-*-hpux*): New.
* gdb.asm/pa64.inc: New file.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
tausq [Fri, 9 Dec 2005 11:02:08 +0000 (11:02 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* gdb.asm/common.inc: Indent commands.
* gdb.asm/asmsrc1.s: Likewise.
* gdb.asm/asmsrc2.s: Likewise.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
tausq [Fri, 9 Dec 2005 10:57:40 +0000 (10:57 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* gdb.arch/pa-nullify.exp: Handle hppa64-*-* targets.
(get_addr_of_sym): Remove duplicate print.
(gen_core): xfail hppa*-*-hpux*, update expected output.
* gdb.arch/pa-nullify.s: Reformat to also work on HPUX.
* gdb.arch/pa64-nullify.s: New file.

18 years ago2005-12-09 Randolph Chung <tausq@debian.org>
tausq [Fri, 9 Dec 2005 10:55:09 +0000 (10:55 +0000)]
2005-12-09  Randolph Chung  <tausq@debian.org>

* gdb.base/dump.exp: Mark hppa64-*-* as 64-bit target.

18 years ago * lib/kernel32.def (CreateFiberEx): Correct suffix.
dannysmith [Fri, 9 Dec 2005 07:49:40 +0000 (07:49 +0000)]
* lib/kernel32.def (CreateFiberEx): Correct suffix.

18 years ago2005-12-09 Huw Davies <hdavies@users.sourceforge.net>
dannysmith [Fri, 9 Dec 2005 04:59:24 +0000 (04:59 +0000)]
2005-12-09  Huw Davies <hdavies@users.sourceforge.net>
    Danny Smith <dannysmith@users.sourceforge.net>

* lib/msxml-uuid.c: New file to generate UUIDs for
MSXML interfaces.
* lib/Makefile.in (UUID_OBJS): Add msxml-uuid.o.

Add missing ChangeLog entries for 2005-12-07 commits.

18 years ago*** empty log message ***
gdbadmin [Fri, 9 Dec 2005 00:00:35 +0000 (00:00 +0000)]
*** empty log message ***

18 years agodaily update
amodra [Thu, 8 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago2005-12-08 Shaun Jackman <sjackman@gmail.com>
jjohnstn [Thu, 8 Dec 2005 19:45:42 +0000 (19:45 +0000)]
2005-12-08  Shaun Jackman  <sjackman@gmail.com>

* libc/include/sys/types.h: Remove the ifdef armour around
standard POSIX types.

18 years ago * NEWS (Changes in GDB 6.4): Delete entries indicating that
kevinb [Thu, 8 Dec 2005 19:12:57 +0000 (19:12 +0000)]
* NEWS (Changes in GDB 6.4): Delete entries indicating that
the following configurations have been removed: h8300*-*-*,
mn10300-*-*, and v850-*-*.  These configurations had been
removed within the 6.4 development cycle, but were later
restored within the same cycle.

18 years agoopcodes/
jbeulich [Thu, 8 Dec 2005 15:21:05 +0000 (15:21 +0000)]
opcodes/
2005-12-08  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (MAXLEN): Reduce to architectural limit.
(fetch_data): Check for sufficient buffer size.

18 years agobfd/
amodra [Thu, 8 Dec 2005 11:41:11 +0000 (11:41 +0000)]
bfd/
* elf32-ppc.c (struct ppc_elf_link_hash_table): Add emit_stub_syms.
(ppc_elf_select_plt_layout): Add emit_stub_syms param, save to htab.
(add_stub_sym): New function.
(allocate_dynrelocs): Call add_stub_sym.
(ppc_elf_size_dynamic_sections): Emit __glink and __glink_PLTresolve
when emit_stub_syms.
* elf32-ppc.h (ppc_elf_select_plt_layout): Update prototype.
ld/
* emultempl/ppc32elf.em (emit_stub_syms): New var.
(ppc_after_open): Pass it to ppc_elf_select_plt_layout.
(PARSE_AND_LIST_PROLOGUE <OPTION_STUBSYMS>): Define.
(PARSE_AND_LIST_LONGOPTS): Add emit-stub-syms.
(PARSE_AND_LIST_OPTIONS): Describe emit-stub-syms.
(PARSE_AND_LIST_OPTIONS): Handle it.

18 years ago * pe-dll.c (build_filler_bfd): Conform error message to standard.
amodra [Thu, 8 Dec 2005 11:38:24 +0000 (11:38 +0000)]
* pe-dll.c (build_filler_bfd): Conform error message to standard.
(pe_dll_generate_implib): Use %E in error message.
(add_bfd_to_link): Likewise.
(pe_implied_import_dll): Likewise.

18 years agoopcodes/
jbeulich [Thu, 8 Dec 2005 11:28:11 +0000 (11:28 +0000)]
opcodes/
2005-12-08  Jan Beulich  <jbeulich@novell.com>

* i386-dis.c (OP_ST): Remove prefix in Intel mode.

18 years ago * reloc.c (enum complain_overflow): Correct comments.
amodra [Thu, 8 Dec 2005 11:05:36 +0000 (11:05 +0000)]
* reloc.c (enum complain_overflow): Correct comments.
(bfd_check_overflow): Combine complain_overflow_bitfield and
complain_overflow_signed code.
(_bfd_relocate_contents): Likewise.
(bfd_howto_32): Use complain_overflow_dont.
* elf32-d10v.c (elf_d10v_howto_table): Revert 2002-06-17 change.
* bfd-in2.h: Regenerate.

18 years ago * fhandler_raw.cc (fhandler_dev_raw::ioctl): Only allow 0, 1 or a
corinna [Thu, 8 Dec 2005 10:55:29 +0000 (10:55 +0000)]
* fhandler_raw.cc (fhandler_dev_raw::ioctl): Only allow 0, 1 or a
multiple of 512 as new buffersize.

18 years ago Add ms2 support.
nathan [Thu, 8 Dec 2005 10:35:18 +0000 (10:35 +0000)]
Add ms2 support.
* ms1-tdep.c (ms1_register_type): Check for ms2.
(ms1_breakpoint_from_pc): ms2 has a different break instruction.
(ms1_pseudo_register_read, ms1_pseudo_register_write,
ms1_registers_info): Add ms2.
  * NEWS (Changes since GDB 6.4): Add ms2

18 years ago * fhandler_socket.cc (fhandler_socket::recvfrom): Mask flags with
corinna [Thu, 8 Dec 2005 10:13:57 +0000 (10:13 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Mask flags with
MSG_WINMASK for Windows socket calls.
(fhandler_socket::recvmsg): Ditto.
(fhandler_socket::sendmsg): Ditto.

18 years ago * i386-dis.c (dofloat): Handle %rip-relative floating point addressing.
amodra [Thu, 8 Dec 2005 09:59:40 +0000 (09:59 +0000)]
* i386-dis.c (dofloat): Handle %rip-relative floating point addressing.

18 years ago2005-12-07 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 8 Dec 2005 01:34:13 +0000 (01:34 +0000)]
2005-12-07  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (assign_section_numbers): Remove extra code in the last
change.

18 years ago2005-12-08 Randolph Chung <tausq@debian.org>
tausq [Thu, 8 Dec 2005 00:17:33 +0000 (00:17 +0000)]
2005-12-08  Randolph Chung  <tausq@debian.org>

* somread.c (som_symfile_offsets): Iterate through number of sections
in addrs instead of objfile.

18 years ago*** empty log message ***
gdbadmin [Thu, 8 Dec 2005 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

18 years agogdb/
drow [Wed, 7 Dec 2005 23:07:53 +0000 (23:07 +0000)]
gdb/
* valops.c (value_struct_elt): Clarify error message.
gdb/testsuite/
2005-12-07  Christophe Lyon  <christophe.lyon@st.com>
* gdb.cp/printmethod.cc (main): Call virt and nonvirt, to force
code generation for these functions.
* gdb.cp/printmethod.exp: Expect "&A::nonvirt()" instead of an
error message.

18 years agodaily update
amodra [Wed, 7 Dec 2005 23:00:06 +0000 (23:00 +0000)]
daily update

18 years ago* hires.h (hires_ms::initime_ms): Delete.
cgf [Wed, 7 Dec 2005 22:28:49 +0000 (22:28 +0000)]
* hires.h (hires_ms::initime_ms): Delete.
(hires_ms::initime_us): Just define as LONGLONG.
(hires_ms::uptime): New function.
* select.cc (select_stuff::wait): Use gtod for timing to attempt to avoid
windows 32 bit wraparound.
* times.cc (systime): New function.
(times): Replace GetTickCount with gtod.uptime.
(hires_us::prime): Use systime() to calculate system time rather than calling
GetSystemTimeAsFileTime directly.
(hires_ms::prime): Ditto.  Eliminate initime_ms.
(hires_ms::usecs): Try harder to detect wraparound.
* fhandler_proc.cc (format_proc_partitions): Set drive_size to zero to avoid a
compiler warning.

18 years ago * fhandler_proc.cc (format_proc_partitions): Use modern IOCTLs
corinna [Wed, 7 Dec 2005 20:32:27 +0000 (20:32 +0000)]
* fhandler_proc.cc (format_proc_partitions): Use modern IOCTLs
to determine drive size as far as possible.

18 years ago * include/winbase.h (GetDevicePowerState): Add prototype.
dannysmith [Wed, 7 Dec 2005 20:27:09 +0000 (20:27 +0000)]
* include/winbase.h (GetDevicePowerState): Add prototype.
* lib/kernel32.def (GetDevicePowerState): Correct suffix.

18 years ago2005-12-07 Brian Gunlogson <gmb300@users.sourceforge.net>
dannysmith [Wed, 7 Dec 2005 20:17:38 +0000 (20:17 +0000)]
2005-12-07  Brian Gunlogson  <gmb300@users.sourceforge.net>

* include/winuser.h (GetClassLongPtr{AW}): Guard prototypes with _WIN64.
Define as macro if !_WIN64.
(SetClassLongPtr{AW}): Likewise.
(GCLP_*): Add GetClassLongPtr defines.
* lib/user32.def (GetClassLongPtr{AW}): Remove stubs.
(SetClassLongPtr{AW}): Likewise.

18 years agogdb/ChangeLog:
jimb [Wed, 7 Dec 2005 19:35:43 +0000 (19:35 +0000)]
gdb/ChangeLog:
2005-12-07  Jim Blandy  <jimb@redhat.com>

* target.c (target_xfer_memory_partial): Doc fix.

18 years ago2005-12-07 Jim Blandy <jimb@redhat.com>
jimb [Wed, 7 Dec 2005 19:30:25 +0000 (19:30 +0000)]
2005-12-07  Jim Blandy  <jimb@redhat.com>

* ax-general.c (ax_reqs): Check stack heights for backward jumps,
too.  Correctly check height at target.  Doc fixes.

18 years ago2005-12-07 H.J. Lu <hongjiu.lu@intel.com>
hjl [Wed, 7 Dec 2005 19:21:44 +0000 (19:21 +0000)]
2005-12-07  H.J. Lu  <hongjiu.lu@intel.com>
    Andreas Schwab  <schwab@suse.de>

PR binutils/1991
* elf.c (assign_section_numbers): Always use the output section
when setting up sh_link for SHF_LINK_ORDER.

18 years ago * fhandler_raw.cc (fhandler_dev_raw::ioctl): Fix INVALID_PARAMETER
corinna [Wed, 7 Dec 2005 19:01:29 +0000 (19:01 +0000)]
* fhandler_raw.cc (fhandler_dev_raw::ioctl): Fix INVALID_PARAMETER
condition.  Only copy devbuf to buf if buf is non-NULL.

18 years ago * fhandler_raw.cc (fhandler_dev_raw::ioctl): Fix setting devbuf
corinna [Wed, 7 Dec 2005 18:35:29 +0000 (18:35 +0000)]
* fhandler_raw.cc (fhandler_dev_raw::ioctl): Fix setting devbuf
when rd_parm is 0 or 1.

18 years ago * ptrace-target.c (ptrace_compute_signal, ptrace_process_signal):
kevinb [Wed, 7 Dec 2005 18:16:48 +0000 (18:16 +0000)]
* ptrace-target.c (ptrace_compute_signal, ptrace_process_signal):
Use __SIGRTMIN in place of SIGRTMIN.  Use __SIGRTMAX in place of
SIGRTMAX.
(ptrace_compute_signal): Consolidate logic which computes return
value.

18 years ago * fhandler_floppy.cc (fhandler_dev_floppy::lseek): Fix test for
corinna [Wed, 7 Dec 2005 18:11:10 +0000 (18:11 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::lseek): Fix test for
valid file position at EOM.

18 years ago * Makefile.am (EXTRA_rda_SOURCES): Add diagnostics.c.
kevinb [Wed, 7 Dec 2005 17:51:47 +0000 (17:51 +0000)]
* Makefile.am (EXTRA_rda_SOURCES): Add diagnostics.c.
* configure.in (TARGET_MODULES): Add diagnostics.o.
* Makefile.in, configure: Regenerate.
* diagnostics.c: New file.
* diagnostics.h (output_O_packet, print_sigstop_message): New
functions.
* ptrace-target.c (diagnostics.h): Include.
(ptrace_break_program): Call print_sigstop_message().
* thread_db.c (thread_db_break_program): Likewise.

18 years ago* include/cygwin/stdlib.h: Guard compilation of *unsetenv* in newlib.
cgf [Wed, 7 Dec 2005 15:17:43 +0000 (15:17 +0000)]
* include/cygwin/stdlib.h: Guard compilation of *unsetenv* in newlib.

18 years agobfd/
hjl [Wed, 7 Dec 2005 14:43:53 +0000 (14:43 +0000)]
bfd/

2005-12-07  Thiemo Seufer  <ths@networkno.de>
    H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1932
* bfd-in.h (bfd_elf_record_link_assignment): Add output_bfd
and hidden arguments.

* bfd.c (bfd_hide_symbol): Removed.

* bfd-in2.h: Regenerated.

* elflink.c (bfd_elf_record_link_assignment): Handle hidden
symbols which were provided by a linker script.

ld/

2005-12-07  Thiemo Seufer  <ths@networkno.de>
    H.J. Lu  <hongjiu.lu@intel.com>

PR ld/1932
* emultempl/elf32.em (gld${EMULATION_NAME}_find_exp_assignment):
Adjust bfd_elf_record_link_assignment call.

* ldexp.c (exp_fold_tree_1): Remove call to bfd_hide_symbol.

18 years ago * cris-opc.c (cris_opcodes) <"move" "s,P">: Define using
hp [Wed, 7 Dec 2005 12:56:13 +0000 (12:56 +0000)]
* cris-opc.c (cris_opcodes) <"move" "s,P">: Define using
MOVE_M_TO_PREG_OPCODE and MOVE_M_TO_PREG_ZBITS instead of constants.

18 years ago * cris.h (MOVE_M_TO_PREG_OPCODE, MOVE_M_TO_PREG_ZBITS)
hp [Wed, 7 Dec 2005 12:53:57 +0000 (12:53 +0000)]
* cris.h (MOVE_M_TO_PREG_OPCODE, MOVE_M_TO_PREG_ZBITS)
(MOVE_PC_INCR_OPCODE_PREFIX, MOVE_PC_INCR_OPCODE_SUFFIX): New macros.
(ADD_PC_INCR_OPCODE): Don't define.

18 years ago * exceptions.cc (_cygtls::handle_exceptions): In case of a
corinna [Wed, 7 Dec 2005 11:16:47 +0000 (11:16 +0000)]
* exceptions.cc (_cygtls::handle_exceptions): In case of a
STATUS_ACCESS_VIOLATION, check if the page is a mmaped page beyond
a file's EOF.  Generate SIGBUS instead of SIGSEGV then.
* mmap.cc (__PROT_ATTACH): New define.
(__PROT_FILLER): Ditto.
(fh_anonymous): Rename from fh_paging_file;
(fh_disk_file): New global static variable.
(attached): New inline function.
(filler): Ditto.
(gen_create_protect): Split off from gen_protect to use the file's
access mode to create mapping always with maximum allowed protections.
(gen_protect): Accomodate pages attached beyond EOF.  Use symbolic
values instead of numerics when possible.  Drop create parameter.
(gen_access): Use file's access mode instead of protection.
(CreateMapping9x): Create named mapping names so that different
creation access modes result in different mappings.
(CreateMappingNT): Only reserve attached pages, don't commit them.
(MapViewNT): Ditto.  Set AT_ROUND_TO_PAGE for all non-NULL base
addresses.
(mmap_func_t): Define CreateMapping and MapView function pointers
with additional openflags parameter.
(class mmap_record): Add openflags member.
(mmap_record::mmap_record): Add openflags parameter.
(mmap_record::get_openflags): New accessor.
(mmap_record::attached): Call global attached function.
(mmap_record::filler): Call global filler function.
(mmap_record::gen_create_protect): Call global gen_create_protect
function.
(mmap_record::gen_protect): Drop create parameter.
(mmap_record::alloc_fh): Set fhandler's access flags.
(list::search_record): Accomodate filler pages.
(list::set): Use inode number as hash value.
(map::get_list_by_fd): Check hash value against file's inode number.
(mmap_is_attached_page): New function to evaluate if a given address
is on a attached page.  Called from _cygtls::handle_exceptions.
(mmap_worker): New function to do mapping and bookkeeping in a
single call.
(mmap64): Use roundup2 to round length to pagesize alignment.
Initialize global fhandlers.  Simplify anonymous initialization.
Add SUSv3 compatible check of file open mode vs. requested protection.
Try creating new file handles to allow maximum page protection.
Allow creating attached pages in case of mapping beyond EOF.
Close new file handle if one has been created.
(munmap): Align len to pagesize.
(msync): Rework argument checks. Align len to pagesize.
(mprotect): Ditto.  Accomodate attached pages.
(mlock): Use roundup/rounddown macros instead of homemade expressions.
(munlock): Add page alignment as in mlock.
(fhandler_dev_zero::munmap): Fix unmapping of non-private mappings.
(fhandler_dev_zero::fixup_mmap_after_fork): Accomodate filler pages.
(fixup_mmaps_after_fork): Don't fail if attached pages couldn't be
created in child.  Avoid superfluous call to VirtualFree.  Check for
original allocation protection to fix PAGE_WRITECOPY protection.
* ntdll.h: Revert deletion of AT_ROUND_TO_PAGE define.
* winsup.h (mmap_is_attached_page): Declare.

18 years ago * gas/cris/rd-bcnst-pic.d, gas/cris/rd-branch-pic.d,
hp [Wed, 7 Dec 2005 06:43:17 +0000 (06:43 +0000)]
* gas/cris/rd-bcnst-pic.d, gas/cris/rd-branch-pic.d,
gas/cris/rd-brokw-pic-1.d, gas/cris/rd-brokw-pic-2.d,
gas/cris/rd-brokw-pic-3.d, gas/cris/rd-fragtest-pic.d: New tests.

18 years ago Change 32-bit-branch expansion for --pic.
hp [Wed, 7 Dec 2005 06:41:56 +0000 (06:41 +0000)]
Change 32-bit-branch expansion for --pic.
* config/tc-cris.c (STATE_COND_BRANCH_PIC): New relaxation state.
(md_cris_relax_table): Add entry for STATE_COND_BRANCH_PIC.
(cris_any_v0_v10_long_jump_size_pic): New macro.
(md_estimate_size_before_relax): Handle STATE_COND_BRANCH_PIC.
(md_convert_frag): Similar.
(md_create_long_jump): Change 32-bit-branch expansion for --pic.
(md_assemble, gen_cond_branch_32): Adjust similarly.
(md_parse_option) <case OPTION_PIC>: Adjust md_long_jump_size.
<case OPTION_ARCH>: Similar, if --pic.

18 years agoAdd missing ChangeLog entry
hp [Wed, 7 Dec 2005 01:36:14 +0000 (01:36 +0000)]
Add missing ChangeLog entry

18 years ago*** empty log message ***
gdbadmin [Wed, 7 Dec 2005 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

18 years ago * cris/cpuv10.h, cris/cpuv32.h, cris/cris-desc.c, cris/cris-opc.h,
hp [Tue, 6 Dec 2005 22:42:43 +0000 (22:42 +0000)]
* cris/cpuv10.h, cris/cpuv32.h, cris/cris-desc.c, cris/cris-opc.h,
cris/decodev10.c, cris/decodev10.h, cris/decodev32.c,
cris/decodev32.h, cris/modelv10.c, cris/modelv32.c,
cris/semcrisv10f-switch.c, cris/semcrisv32f-switch.c: Regenerate.

18 years ago * sim/cris/asm/movmp8.ms, sim/cris/asm/pcplus.ms: New tests.
hp [Tue, 6 Dec 2005 22:42:07 +0000 (22:42 +0000)]
* sim/cris/asm/movmp8.ms, sim/cris/asm/pcplus.ms: New tests.
* sim/cris/asm/movmp.ms: Do not write to P0, P4 or P8.
* sim/cris/asm/raw13.ms: Write to MOF instead of WZ (P4).