OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
20 years ago* thread.cc (pthread::precreate): Delete duplicate setting of cancel_event.
cgf [Mon, 8 Dec 2003 06:32:45 +0000 (06:32 +0000)]
* thread.cc (pthread::precreate): Delete duplicate setting of cancel_event.

20 years ago* fhandler.h (fhandler_tty_slave::ttyname): Use name from pc since it is
cgf [Mon, 8 Dec 2003 06:27:04 +0000 (06:27 +0000)]
* fhandler.h (fhandler_tty_slave::ttyname): Use name from pc since it is
guaranteed to be accurate.
* fhandler_tty.cc (fhandler_tty_slave::open): Increment open_fhs appropriate
when copying ctty.
(fhandler_tty_slave::close): Remove special case handling for exit_state.  Use
ctty < 0 check instead.
(fhandler_tty_common::close): Set io_handle to NULL after closing.
* syscalls.cc (close_all_files): Specifically close cygheap->ctty, if
appropriate.

20 years ago2003-12-07 H.J. Lu <hongjiu.lu@intel.com>
hjl [Mon, 8 Dec 2003 03:43:33 +0000 (03:43 +0000)]
2003-12-07  H.J. Lu  <hongjiu.lu@intel.com>

* ldlang.c (lang_vers_match): Pass "DMGL_PARAMS | DMGL_ANSI" to
cplus_demangle.

20 years ago* wait.cc (wait4): Move sawsig initialization inside loop.
cgf [Mon, 8 Dec 2003 00:22:56 +0000 (00:22 +0000)]
* wait.cc (wait4): Move sawsig initialization inside loop.

20 years ago* spawn.cc (spawn_guts): Change type back to 'int' after erroneous change
cgf [Mon, 8 Dec 2003 00:21:16 +0000 (00:21 +0000)]
* spawn.cc (spawn_guts): Change type back to 'int' after erroneous change
below.

20 years ago*** empty log message ***
gdbadmin [Mon, 8 Dec 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * ldemul.c: Convert to ISO-C.
kazu [Sun, 7 Dec 2003 23:52:44 +0000 (23:52 +0000)]
* ldemul.c: Convert to ISO-C.
* ldver.c: Likewise.

20 years agodaily update
amodra [Sun, 7 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years agoChange use of BOOL, TRUE, FALSE to bool, true, false, as appropriate,
cgf [Sun, 7 Dec 2003 22:37:11 +0000 (22:37 +0000)]
Change use of BOOL, TRUE, FALSE to bool, true, false, as appropriate,
throughout.
* tty.cc (tty::common_init): Remove call to SetKernelObjectSecurity and edit
some comments.
* cygheap.h (init_cygheap::ctty): Add new element.
* devices.in (device::parse): Remove special handling for /dev/tty.
* devices.cc: Regenerate.
* dtable.cc (build_fh_pc): Don't reset /dev/tty device.  Let the device opener
do that.
* fhandler_termios.cc (tty_min::set_ctty): Redefine to _pinfo class.
* fhandler_tty.cc (fhandler_tty_common::set_close_on_exec): Avoid setting
noninherit flag for ctty.
* tty.h: Move BOOLs to bools.
(tty_min::set_ctty): Redeclare to _pinfo class.
* pinfo.cc (_pinfo::set_ctty): Define new function based on tty_min::set_ctty.
Change first argument from tty number to tty_min class.
* pinfo.h (_pinfo::set_ctty): Declare.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Reflect move of
set_ctty to _pinfo class.
* fhandler_tty.cc (fhandler_tty_slave::open): Treat FH_TTY specially.  Use
saved cygheap value if it exists.  Otherwise convert to real device and save on
first time open.
(fhandler_tty_common::dup): Potentially set controlling tty if duping a slave
tty.
* syscalls.cc (setsid): Close controlling tty in cygheap.
* tty.cc: Change some BOOLs to bools.

20 years ago * ld-mips-elf/elf-rel-xgot-n32.d: Fix offset for "lw $5,dl1+34($5)".
rsandifo [Sun, 7 Dec 2003 21:49:09 +0000 (21:49 +0000)]
* ld-mips-elf/elf-rel-xgot-n32.d: Fix offset for "lw $5,dl1+34($5)".
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.

20 years ago * elf32-mips.c, elfn32-mips.c, elf64-mips.c: Convert prototypes.
rsandifo [Sun, 7 Dec 2003 21:24:27 +0000 (21:24 +0000)]
* elf32-mips.c, elfn32-mips.c, elf64-mips.c: Convert prototypes.
Remove casts that were only needed for K&R compatibility.

20 years ago2003-12-07 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 7 Dec 2003 17:22:28 +0000 (17:22 +0000)]
2003-12-07  Andrew Cagney  <cagney@redhat.com>

* defs.h (DEPRECATED_STREQN, DEPRECATED_STREQ): Simplify by
directly calling strcmp equivalents.  Add disclaimer.

20 years agoMore reversion of incomplete m32r changes. Should be back to normal.
cagney [Sun, 7 Dec 2003 16:13:06 +0000 (16:13 +0000)]
More reversion of incomplete m32r changes.  Should be back to normal.

20 years ago * syscalls.cc (locked_append): New.
corinna [Sun, 7 Dec 2003 12:56:59 +0000 (12:56 +0000)]
* syscalls.cc (locked_append): New.
(updwtmp): Remove mutex code and call locked_append.
(pututline): Ditto.

20 years ago* exceptions.cc (_threadinfo::remove): Avoid a linked list walk.
cgf [Sun, 7 Dec 2003 03:27:50 +0000 (03:27 +0000)]
* exceptions.cc (_threadinfo::remove): Avoid a linked list walk.

20 years agoRevert last commit, build problems.
cagney [Sun, 7 Dec 2003 02:58:01 +0000 (02:58 +0000)]
Revert last commit, build problems.

20 years ago* cygtls.h (_threadinfo::find_tls): New function.
cgf [Sun, 7 Dec 2003 02:56:52 +0000 (02:56 +0000)]
* cygtls.h (_threadinfo::find_tls): New function.
* exceptions.cc (_threadinfo::find_tls): Rename from find_tls.  Use critical
section to protect access to linked list.

20 years ago* exceptions.cc (_threadinfo::remove): Avoid returning without unlocking
cgf [Sun, 7 Dec 2003 02:33:31 +0000 (02:33 +0000)]
* exceptions.cc (_threadinfo::remove): Avoid returning without unlocking
critical section in the (hopefully impossible) case of an unrecognized thread.

20 years ago2003-12-02 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
cagney [Sun, 7 Dec 2003 02:27:45 +0000 (02:27 +0000)]
2003-12-02  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>

        * Makefile.in : Add new machine m32r2.
        * m32r2.c : New file for m32r2.
* mloop2.in : Ditto
* model2.c : Ditto
* sem2-switch.c : Ditto
        * m32r-sim.h : Add EVB register.
        * sim-if.h : Ditto
        * sim-main.h : Ditto
        * traps.c : Ditto

20 years ago * lexsup.c (is_num): Remove.
kazu [Sun, 7 Dec 2003 00:08:41 +0000 (00:08 +0000)]
* lexsup.c (is_num): Remove.

20 years ago*** empty log message ***
gdbadmin [Sun, 7 Dec 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Sat, 6 Dec 2003 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago2003-12-06 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 6 Dec 2003 22:58:26 +0000 (22:58 +0000)]
2003-12-06  Andrew Cagney  <cagney@redhat.com>

* remote.c (remote_fetch_registers): For short packets, explicitly
supply a zero value.  Use regcache_raw_supply.  Fix suggested by
Jonathan Larmour.

20 years ago2003-12-06 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 6 Dec 2003 22:49:01 +0000 (22:49 +0000)]
2003-12-06  Andrew Cagney  <cagney@redhat.com>

* gdb.base/structs.exp (test_struct_returns): When applicable, set
"return_value_unimplemented".  When an unimplemented struct return
architecture, report incorrect values as a KFAIL

20 years ago* cygtls.h: Add more "don't parse this" guards.
cgf [Sat, 6 Dec 2003 18:08:37 +0000 (18:08 +0000)]
* cygtls.h: Add more "don't parse this" guards.
(_threadinfo::init_thread): Rename from 'init'.
(_threadinfo::init): Declare new function.
(_threadinfo::protect_linked_list): Declare new critical section.
* dcrt0.cc (dll_crt0_1): Call init_thread to initialize thread stuff.
(_dll_crt0): Call _threadinfo::init prior to invoking dll_crt0_1.
* exceptions.cc (_threadinfo::init_thread): Rename from 'init'.
(_threadinfo::init): Define new function.  Protect linked list manipulation
with new critical section.
(_threadinfo::call): Reflect function name change.
(_threadinfo::remove): Protect linked list manipulation with new critical
section
* gentls_offsets: Rework to allow multi-line "don't parse this" protection.
* init.cc (dll_entry): Don't remove threads info stuff here since the remove
function uses a critical section which can't be used during thread creation or
destruction.
* thread.cc (pthread::exit): Call _threadinfo remove function here.

20 years ago * dwarf2dbg.c: Convert to ISO-C.
kazu [Sat, 6 Dec 2003 16:16:51 +0000 (16:16 +0000)]
* dwarf2dbg.c: Convert to ISO-C.
* write.c: Likewise.
* write.h: Likewise.

20 years agogas/
rsandifo [Sat, 6 Dec 2003 13:52:23 +0000 (13:52 +0000)]
gas/
* config/tc-mips.c (macro): Switch misordered call to frag_grow()
and setting of tc_fr_offset.

gas/testsuite/
* gas/mips/elf-rel16.[sd]: New test.
* gas/mips/mips.exp: Run it.
* gas/mips/elf-rel-xgot-n32.d: Fix addends for "lw $5,dl1+34($5)".
* gas/mips/elf-rel-xgot-n64.d: Likewise.

20 years agoFia x comment typo.
kazu [Sat, 6 Dec 2003 10:02:06 +0000 (10:02 +0000)]
Fia x comment typo.

20 years ago * common.h (DT_HIOS): Correct value.
amodra [Sat, 6 Dec 2003 05:32:21 +0000 (05:32 +0000)]
* common.h (DT_HIOS): Correct value.

20 years ago2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
chastain [Sat, 6 Dec 2003 04:40:42 +0000 (04:40 +0000)]
2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.cp/rtti.exp: Accept new wording of warning from
cp_lookup_rtti_type.

20 years ago2003-12-05 Michael Chastain <mec.gnu@mindspring.com>
chastain [Sat, 6 Dec 2003 02:06:22 +0000 (02:06 +0000)]
2003-12-05  Michael Chastain  <mec.gnu@mindspring.com>

Partial fix for PR testsuite/1456.
* gdb.base/scope.exp (test_at_main): Replace references to
gcc_compiled with calls to test_compiler_info.
(test_at_foo): Likewise.
(test_at_bar): Likewise.

20 years ago * gas/arm/arm.exp: Add archv6 and thumbv6.
mmitchel [Sat, 6 Dec 2003 01:25:28 +0000 (01:25 +0000)]
* gas/arm/arm.exp: Add archv6 and thumbv6.
* gas/arm/archv6.d: New file.
* gas/arm/archv6.s: Likewise.
* gas/arm/thumbv6.d: Likewise.
* gas/arm/thumbv6.s: Likewise.

Add V6 support.
* config/tc-arm.c (ARM_EXT_V6): New macro.
(ARM_ARCH_V6): Likewise.
(SHIFT_IMMEDIATE): Likewise.
(SHIFT_LSL_OR_ASR_IMMEDIATE): Likewise.
(SHIFT_ASR_IMMEDIATE): Likewise.
(SHIFT_LSL_IMMMEDIATE): Likewise.
(do_cps): New function.
(do_cpsi): Likewise.
(do_ldrex): Likewise.
(do_pkhbt): Likewise.
(do_pkhtb): Likewise.
(do_qadd16): Likewise.
(do_rev): Likewise.
(do_rfe): Likewise.
(do_sxtah): Likewise.
(do_sxth): Likewise.
(do_setend): Likewise.
(do_smlad): Likewise.
(do_smlald): Likewise.
(do_smmul): Likewise.
(do_ssat): Likewise.
(do_usat): Likewise.
(do_srs): Likewise.
(do_ssat16): Likewise.
(do_usat16): Likewise.
(do_strex): Likewise.
(do_umaal): Likewise.
(do_cps_mode): Likewise.
(do_cps_flags): Likewise.
(do_endian_specifier): Likewise.
(do_pkh_core): Likewise.
(do_sat): Likewise.
(do_sat16): Likewise.
(insns): Add V6 instructions.
(do_t_cps): New function.
(do_t_cpy): Likewise.
(do_t_setend): Likewise.
(THUMB_CPY): New macro.
(tinsns): Add V6 instructions.
(decode_shift): Handle V6 restricted-shift options.
(thumb_mov_compare): Support CPY.
(arm_cores): Add arm1136js and arm1136jfs.
(arm_archs): Add armv6.
(arm_fpus): Add arm1136jfs.
* doc/c-arm.texi (ARM Options): Mention arm1136js, arm1136jfs, and
armv6 options.

* gas/arm/arm.exp: Add archv6 and thumbv6.
* gas/arm/archv6.d: New file.
* gas/arm/archv6.s: Likewise.
* gas/arm/thumbv6.d: Likewise.
* gas/arm/thumbv6.s: Likewise.

* arm-dis.c (print_arm_insn): Add 'W' macro.
* arm-opc.h (arm_opcodes): Add V6 instructions.
(thumb_opcodes): Likewise.

20 years ago2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Sat, 6 Dec 2003 00:17:04 +0000 (00:17 +0000)]
2003-12-05  Jeff Johnston  <jjohnstn@redhat.com>

        * ia64-tdep.c (ia64_gdbarch_init): Set up the gdbarch long double
        format to be the i387 extended float format which is used for
        long doubles stored in memory.

20 years ago * ChangeLog-9197: Fix comment typos.
kazu [Sat, 6 Dec 2003 00:06:12 +0000 (00:06 +0000)]
* ChangeLog-9197: Fix comment typos.
* coffgrok.c: Likewise.
* filemode.c: Likewise.
* objcopy.c: Likewise.
* objdump.c: Likewise.
* prdbg.c: Likewise.
* stabs.c: Likewise.
* unwind-ia64.c: Likewise.

20 years ago*** empty log message ***
gdbadmin [Sat, 6 Dec 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * config/tc-z8k.c (parse_reg): Be case insensitive when checking
cpg [Fri, 5 Dec 2003 23:40:03 +0000 (23:40 +0000)]
* config/tc-z8k.c (parse_reg): Be case insensitive when checking
register names.
(get_ctrl_operand): Be case insensitive when checking ctrl names.

20 years ago * gas/z8k/ctrl-names.d: New file.
cpg [Fri, 5 Dec 2003 23:37:01 +0000 (23:37 +0000)]
* gas/z8k/ctrl-names.d: New file.
* gas/z8k/ctrl-names.s: New file.
* gas/z8k/z8k.exp: Run new tests.

20 years agodaily update
amodra [Fri, 5 Dec 2003 23:00:09 +0000 (23:00 +0000)]
daily update

20 years ago2003-12-02 Alexandre Oliva <aoliva@redhat.com>
msnyder [Fri, 5 Dec 2003 22:16:11 +0000 (22:16 +0000)]
2003-12-02  Alexandre Oliva  <aoliva@redhat.com>

* sh-opc.h: Add support for sh4a and no-fpu variants.
        * sh-dis.c: Ditto.

20 years agoDon't blame aoliva for my work.
msnyder [Fri, 5 Dec 2003 22:00:39 +0000 (22:00 +0000)]
Don't blame aoliva for my work.

20 years agoFrom Ulrich Weigand <weigand@informatik.uni-erlangen.de>:
kettenis [Fri, 5 Dec 2003 21:14:48 +0000 (21:14 +0000)]
From Ulrich Weigand  <weigand@informatik.uni-erlangen.de>:
* dwarf2-frame.c (dwarf2_frame_cache): Use the untranslated RA
column instead of translating it.

20 years ago2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 5 Dec 2003 21:09:12 +0000 (21:09 +0000)]
2003-12-05  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/stat.h: No longer include stat-dj.h.
        * libc/include/sys/stat-dj.h: Removed.

20 years ago2003-12-05 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 5 Dec 2003 20:51:57 +0000 (20:51 +0000)]
2003-12-05  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/wchar.h: Include <sys/reent.h>.

20 years agoFix SH compilation problems introduced by previous delta
nickc [Fri, 5 Dec 2003 11:55:00 +0000 (11:55 +0000)]
Fix SH compilation problems introduced by previous delta

20 years agoFixes for use of ARM_26D reloc in arm-wince toolchain.
nickc [Fri, 5 Dec 2003 11:30:18 +0000 (11:30 +0000)]
Fixes for use of ARM_26D reloc in arm-wince toolchain.

20 years agoRevert accidental checkin.
cgf [Fri, 5 Dec 2003 06:15:18 +0000 (06:15 +0000)]
Revert accidental checkin.

20 years ago* libc/stdlib/mbrlen.c: Change include order to prevent compiler errors when
cgf [Fri, 5 Dec 2003 06:13:43 +0000 (06:13 +0000)]
* libc/stdlib/mbrlen.c: Change include order to prevent compiler errors when
defining _mbrtowc.
* libc/stdlib/mbsinit.c: Ditto.
* libc/stdlib/mbsrtowcs.c: Ditto.
* libc/stdlib/wcrtomb.c: Ditto.
* libc/stdlib/wcsrtombs.c: Ditto.
* libc/stdlib/wctob.c: Ditto.
* libc/stdlib/mbrlen.c: Change include order to prevent compiler errors when
defining _mbrtowc.
* libc/stdlib/mbsinit.c: Ditto.
* libc/stdlib/mbsrtowcs.c: Ditto.

20 years ago* libc/stdlib/mbrtowc.c: Change include order to prevent compiler errors when
cgf [Fri, 5 Dec 2003 06:02:30 +0000 (06:02 +0000)]
* libc/stdlib/mbrtowc.c: Change include order to prevent compiler errors when
defining _mbrtowc.

20 years ago* cygthread.cc (cygthread::stub2): Remove myself from the list of threads
cgf [Fri, 5 Dec 2003 05:29:17 +0000 (05:29 +0000)]
* cygthread.cc (cygthread::stub2): Remove myself from the list of threads
monitored by signals since this thread will never call raise or sigwait.
(cygthread::simplestub2): Ditto.  Set ev here.
(cygthread::cygthread): Don't set ev here for freerange thread.

20 years ago* path.cc (slash_unc_prefix_p): Allow '.' as a valid character after '\\' in a
cgf [Fri, 5 Dec 2003 04:33:39 +0000 (04:33 +0000)]
* path.cc (slash_unc_prefix_p): Allow '.' as a valid character after '\\' in a
UNC path.

20 years ago2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
chastain [Fri, 5 Dec 2003 04:25:09 +0000 (04:25 +0000)]
2003-12-04  Michael Chastain  <mec.gnu@mindspring.com>

Partial fix for PR c++/1465.
Fix for PR c++/1377.
* cp-support.h (cp_lookup_rtti_type): New function.
* cp-support.c (cp_lookup_rtti_type): New function.
* gnu-v2-abi.c: Update copyright years.
(gnuv2_rtti_type): Call cp_lookup_rtti_type.
* gnu-v3-abi.c: Update copyright years.
(gnuv3_rtti_type): Call cp_lookup_rtti_type.

20 years ago* exceptions.cc (setup_handler): Remove ill-advised debugging output.
cgf [Fri, 5 Dec 2003 04:20:48 +0000 (04:20 +0000)]
* exceptions.cc (setup_handler): Remove ill-advised debugging output.

20 years ago2003-12-02 Alexandre Oliva <aoliva@redhat.com>
msnyder [Fri, 5 Dec 2003 02:02:32 +0000 (02:02 +0000)]
2003-12-02  Alexandre Oliva  <aoliva@redhat.com>

* sh-opc.h: Add support for sh4a and no-fpu variants.
* sh-dis.c: Ditto.

20 years ago2003-12-03 Alexandre Oliva <aoliva@redhat.com>
msnyder [Fri, 5 Dec 2003 01:59:53 +0000 (01:59 +0000)]
2003-12-03  Alexandre Oliva  <aoliva@redhat.com>

* config/tc-sh.c: Add support for sh4a and no-fpu variants,
with appropriate additions to md_show_usage.
* testsuite/gas/sh/basic.exp: Call tests for sh4a.
* testsuite/gas/sh/{err-sh4a-fp.s, err-sh4a.s,
err-sh4al-dsp.s, sh4a-dsp.d, sh4a-dsp.s, sh4a-fp.d,
sh4a-fp.s, sh4a.d, sh4a.s, sh4al-dsp.d, sh4al-dsp.s:
New files, tests for sh4a and related variants.
* doc/c-sh.texi: Document new -isa options.
* doc/c-sh64.texi: Ditto.
* NEWS: Mention new support for sh4a.

20 years ago2003-12-04 Michael Chastain <mec.gnu@mindspring.com>
chastain [Fri, 5 Dec 2003 01:53:45 +0000 (01:53 +0000)]
2003-12-04  Michael Chastain  <mec.gnu@mindspring.com>

Partial fix for PR testsuite/1456.
* gdb.base/so-impl-ld.exp: Replace reference to gcc_compiled with call
to test_compiler_info.

20 years ago2003-12-04 Artem B. Bityuckiy <abitytsky@softminecorp.com>
jjohnstn [Fri, 5 Dec 2003 01:42:25 +0000 (01:42 +0000)]
2003-12-04  Artem B. Bityuckiy  <abitytsky@softminecorp.com>

        * libc/stdio/vfprintf.c (_VFPRINTF_R): Use _r versions
        of mb routines for %lc and %ls support.
        * libc/stdio/vfscanf.c (_svfscanf_r): Add %lc, %C,
        %ls, and %S support.  Remove CYGNUS_NEC markers and
        code within.

20 years ago2003-12-04 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 5 Dec 2003 01:36:32 +0000 (01:36 +0000)]
2003-12-04  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/wchar.h: Add prototypes for _mbrtowc_r,
        _wcrtomb_r, and _wcsrtombs_r.

20 years ago * stabsread.c (read_type): Save a reference to types that are defined
brobecke [Fri, 5 Dec 2003 00:45:38 +0000 (00:45 +0000)]
    * stabsread.c (read_type): Save a reference to types that are defined
        as cross references to other types.

20 years ago*** empty log message ***
gdbadmin [Fri, 5 Dec 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
amodra [Thu, 4 Dec 2003 23:00:07 +0000 (23:00 +0000)]
daily update

20 years ago2003-12-04 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 4 Dec 2003 22:48:20 +0000 (22:48 +0000)]
2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>

* elf32-ppc.c (ppc_elf_relax_section): Don't check relax_finalizing.

20 years agobfd/
hjl [Thu, 4 Dec 2003 22:43:33 +0000 (22:43 +0000)]
bfd/

2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_relax_section): Use the
need_relax_finalize field in link_info instead of
relax_finalizing to check if the relax finalize pass is being
done.

include/

2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>

* bfdlink.h (bfd_link_info): Change relax_finalizing to
need_relax_finalize.

ld/

2003-12-04  H.J. Lu  <hongjiu.lu@intel.com>

* emultempl/ia64elf.em (gld${EMULATION_NAME}_after_parse): Set
link_info.need_relax_finalize to TRUE.

* ldlang.c (lang_process): Use link_info.need_relax_finalize
instead of link_info.relax_finalizing.
* ldmain.c (main): Likewise.

20 years agomerge from gcc
dj [Thu, 4 Dec 2003 20:03:39 +0000 (20:03 +0000)]
merge from gcc

20 years agomerge from gcc
dj [Thu, 4 Dec 2003 20:03:27 +0000 (20:03 +0000)]
merge from gcc

20 years agoDo not copy the object if the output file's format cannot be set to that of
nickc [Thu, 4 Dec 2003 18:24:06 +0000 (18:24 +0000)]
Do not copy the object if the output file's format cannot be set to that of
the input file.  If the input file's format is unknown, fail.

20 years agoDefine RELOCATEABLE_OUTPUT_FORMAT
nickc [Thu, 4 Dec 2003 17:51:43 +0000 (17:51 +0000)]
Define RELOCATEABLE_OUTPUT_FORMAT

20 years agoChange ARM26* to ARM_26* in comments to match definitions.
nickc [Thu, 4 Dec 2003 17:46:24 +0000 (17:46 +0000)]
Change ARM26* to ARM_26* in comments to match definitions.
Replace hard-coded constants with appropriate definitions (ARM_26*).

20 years ago * ldlang.c (lang_do_assignments): Function return is void.
amodra [Thu, 4 Dec 2003 12:09:25 +0000 (12:09 +0000)]
* ldlang.c (lang_do_assignments): Function return is void.
* ldlang.h (lang_do_assignments): Ditto.
* emultempl/netbsd.em (gld${EMULATION_NAME}_before_parse): Declare.
* Makefile.am (ens32knbsd.c): Depend on netbsd.em.
* Makefile.in: Regenerate.

20 years ago * coff-i860.c (coff_i860_reloc_nyi): Return bfd_reloc_not_supported.
amodra [Thu, 4 Dec 2003 12:08:42 +0000 (12:08 +0000)]
* coff-i860.c (coff_i860_reloc_nyi): Return bfd_reloc_not_supported.
* elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Warning fixes.
(mn10300_elf_relax_section): Likewise.
* nlm32-alpha.c (ONES): Define.
(nlm32_alpha_howto_table): Use it to avoid warnings.

20 years ago * openrisc-asm.c: Regenerate.
amodra [Thu, 4 Dec 2003 11:07:22 +0000 (11:07 +0000)]
* openrisc-asm.c: Regenerate.
* pj-opc.c: Update copyright date.

20 years ago * include/cygwin/types.h (struct __fcntl64): Fix datatype of l_start.
corinna [Thu, 4 Dec 2003 09:37:54 +0000 (09:37 +0000)]
* include/cygwin/types.h (struct __fcntl64): Fix datatype of l_start.

20 years ago * cpu/openrisc.opc (openrisc_sign_extend_16bit): Don't rely on
amodra [Thu, 4 Dec 2003 08:33:25 +0000 (08:33 +0000)]
* cpu/openrisc.opc (openrisc_sign_extend_16bit): Don't rely on
"short" being 16 bit.
(parse_hi16): Likewise.  Fix type-punned pointer warnings too, and
internationalize error message.
(parse_lo16): Likewise.  Remove useless code.

20 years ago2003-12-03 Michael Chastain <mec.gnu@mindspring.com>
chastain [Thu, 4 Dec 2003 04:37:54 +0000 (04:37 +0000)]
2003-12-03  Michael Chastain  <mec.gnu@mindspring.com>

* gdb.base/so-impl-ld.exp: Update copyright notice.

20 years ago * elf32-i386.c (elf_i386_object_p): Delete.
amodra [Thu, 4 Dec 2003 03:03:26 +0000 (03:03 +0000)]
* elf32-i386.c (elf_i386_object_p): Delete.
(elf_backend_object_p): Don't define.
* elf32-s390.c (elf_s390_object_p): No need to alloc tdata here.
* elf32-sh.c (sh_elf_object_p): Likewise.
* elf32-sparc.c (elf32_sparc_object_p): Likewise.
* elf64-alpha.c (elf64_alpha_object_p): Likewise.
* elf64-s390.c (elf_s390_object_p): Likewise.
* elf64-x86-64.c (elf64_x86_64_elf_object_p): Likewise.

20 years ago2003-11-24 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 4 Dec 2003 00:54:15 +0000 (00:54 +0000)]
2003-11-24  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-alpha.c (s_alpha_end): Don't crash if there is no
matching .ent.

20 years ago.
roland [Thu, 4 Dec 2003 00:20:51 +0000 (00:20 +0000)]
.

20 years ago2003-12-02 Roland McGrath <roland@redhat.com>
roland [Thu, 4 Dec 2003 00:20:25 +0000 (00:20 +0000)]
2003-12-02  Roland McGrath  <roland@redhat.com>

* thread-db.c (enable_thread_event): Change return type to
td_err_e.  Return TD_OK or error code.
(enable_thread_event_reporting): Update callers.

20 years ago*** empty log message ***
gdbadmin [Thu, 4 Dec 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * tc.h (md_pcrel_from): Don't declare if defined as a macro.
amodra [Wed, 3 Dec 2003 23:39:38 +0000 (23:39 +0000)]
* tc.h (md_pcrel_from): Don't declare if defined as a macro.

20 years agodaily update
amodra [Wed, 3 Dec 2003 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago * NEWS: Mention new C++ demangler code.
ian [Wed, 3 Dec 2003 19:53:09 +0000 (19:53 +0000)]
* NEWS: Mention new C++ demangler code.

20 years ago2003-12-03 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 3 Dec 2003 19:37:02 +0000 (19:37 +0000)]
2003-12-03  Andrew Cagney  <cagney@redhat.com>

* ppc-linux-nat.c (store_register, fetch_register): Convert
between ptrace and regcache's wordsize.
(ppc_register_u_addr): Use the ptrace wordsize.

20 years agomerge from gcc
dj [Wed, 3 Dec 2003 19:03:29 +0000 (19:03 +0000)]
merge from gcc

20 years agooops - forogot to mention the new support here.
nickc [Wed, 3 Dec 2003 17:42:11 +0000 (17:42 +0000)]
oops - forogot to mention the new support here.

20 years agoAdd support for the M32R2 processor.
nickc [Wed, 3 Dec 2003 17:38:44 +0000 (17:38 +0000)]
Add support for the M32R2 processor.

20 years ago Substitute 0x7fffffff and 0xffffffff by INT32_MAX and UINT32_MAX
corinna [Wed, 3 Dec 2003 16:35:51 +0000 (16:35 +0000)]
Substitute 0x7fffffff and 0xffffffff by INT32_MAX and UINT32_MAX
throughout, except in assembler code.

20 years agoAdd vax-linux-gnu target
nickc [Wed, 3 Dec 2003 15:07:14 +0000 (15:07 +0000)]
Add vax-linux-gnu target

20 years ago * fhandler_disk_file.cc (fhandler_disk_file::lock): Use UINT32_MAX
corinna [Wed, 3 Dec 2003 11:22:49 +0000 (11:22 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::lock): Use UINT32_MAX
instead of 0xffffffff.  Accomodate Win 9x bug in evaluating length
of area to lock when given length is 0.

20 years agoAdd "msp" to list of expected architectures.
nickc [Wed, 3 Dec 2003 10:48:52 +0000 (10:48 +0000)]
Add "msp" to list of expected architectures.

20 years ago(HEAP_SECTION_MSP430): New section for forthcoming devices.
nickc [Wed, 3 Dec 2003 10:44:48 +0000 (10:44 +0000)]
(HEAP_SECTION_MSP430): New section for forthcoming devices.
(_etext): provide this defenition for all scripts.

20 years ago * fhandler_disk_file.cc (fhandler_disk_file::lock): Interchange
corinna [Wed, 3 Dec 2003 09:58:23 +0000 (09:58 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::lock): Interchange
values of off_low and off_high.

20 years ago * fcntl.cc (fcntl_worker): Remove static storage class.
corinna [Wed, 3 Dec 2003 09:55:41 +0000 (09:55 +0000)]
* fcntl.cc (fcntl_worker): Remove static storage class.
* flock.cc (flock): Use struct __flock64. Call fcntl_worker.
Use Cygwin errno functions instead of accessing errno directly.
* winsup.h: Declare fcntl_worker.

20 years ago * fcntl.cc (_fcntl): Whitespace cleanup.
corinna [Wed, 3 Dec 2003 09:16:37 +0000 (09:16 +0000)]
* fcntl.cc (_fcntl): Whitespace cleanup.

20 years ago* cygthread.cc (cygthread::stub): Properly establish _threadinfo environment.
cgf [Wed, 3 Dec 2003 05:21:54 +0000 (05:21 +0000)]
* cygthread.cc (cygthread::stub): Properly establish _threadinfo environment.
(cygthread::stub2): New function.
(cygthread::simplestub): Ditto.
(cygthread::simplestub2): New function.
* cygthread.h (cygthread::stub2): Declare new function.
(cygthread::simplestub2): Ditto.
* cygtls.h (_threadinfo::call): Declare new function.
(_threadinfo::call2): Ditto.
* dcrt0.cc (dll_crt0_1): Accommodate new _threadinfo::init which doesn't return
pointer to tls.
(_dll_crt0): Remove obsolete DECLARE_TLS_STORAGE.
(dll_crt0): Ditto.
* exceptions.cc (_threadinfo::call): New function.
(_threadinfo::call2): Ditto.
(_threadinfo::init): Don't return pointer.
* thread.cc (pthread::thread_init_wrapper): Properly establish _threadinfo
environment.
(pthread::thread_init_wrapper2): New function.
* thread.h (pthread::thread_init_wrapper): Remove noreturn attribute
(pthread::thread_init_wrapper2): Declare new function.
* winbase.h: Remove obsolete code.

20 years ago * frv-tdep.c (frv_gdbarch_init): Add case for fr550.
kevinb [Wed, 3 Dec 2003 04:50:31 +0000 (04:50 +0000)]
* frv-tdep.c (frv_gdbarch_init): Add case for fr550.

20 years ago * messages.c: Convert to ISO-C.
kazu [Wed, 3 Dec 2003 03:39:58 +0000 (03:39 +0000)]
* messages.c: Convert to ISO-C.
* obj.h: Likewise.
* output-file.c: Likewise.
* output-file.h: Likewise.
* sb.c: Likewise.
* sb.h: Likewise.
* stabs.c: Likewise.
* subsegs.c: Likewise.
* subsegs.h: Likewise.
* tc.h: Likewise.

20 years ago * emultempl/beos.em: Remove ARGSUSED.
kazu [Wed, 3 Dec 2003 03:25:36 +0000 (03:25 +0000)]
* emultempl/beos.em: Remove ARGSUSED.

20 years ago * config/obj-elf.c: Remove ARGSUSED.
kazu [Wed, 3 Dec 2003 03:20:13 +0000 (03:20 +0000)]
* config/obj-elf.c: Remove ARGSUSED.

20 years ago * alpha-opc.c: Remove ARGSUSED.
kazu [Wed, 3 Dec 2003 03:15:14 +0000 (03:15 +0000)]
* alpha-opc.c: Remove ARGSUSED.
* i370-opc.c: Likewise.
* ppc-opc.c: Likewise.

20 years ago* Makefile.in: Change the way that -f options are appended to CFLAGS, slightly.
cgf [Wed, 3 Dec 2003 00:21:21 +0000 (00:21 +0000)]
* Makefile.in: Change the way that -f options are appended to CFLAGS, slightly.