OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
23 years ago2001-05-21 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 24 May 2001 18:30:08 +0000 (18:30 +0000)]
2001-05-21  Michael Snyder  <msnyder@redhat.com>

* gdb.base/long_long.exp: Allow for targets with 4-byte short.

23 years ago * write.c (write_object_file): Set finalize_syms = 1 before
amodra [Thu, 24 May 2001 08:19:32 +0000 (08:19 +0000)]
* write.c (write_object_file): Set finalize_syms = 1 before
size_seg is called.

23 years ago* exceptions.cc (handle_exceptions): Bump repeat count for debugging kick out.
cgf [Thu, 24 May 2001 05:20:17 +0000 (05:20 +0000)]
* exceptions.cc (handle_exceptions): Bump repeat count for debugging kick out.
* fhandler.h (fhandler_dev_dsp): Add a fixup_after_exec.
* fhandler_dsp.cc (class Audio): Add TOT_BLOCK_SIZE to enum.
(operator new): New.
(bigwavebuffer): Declare using TOT_BLOCK_SIZE to avoid buffer overruns.
(Audio::Audio): Optimize slightly.
(fhandler_dev_dsp::open): Allocate s_audio using static buffer.
(fhandler_dev_dsp::fixup_after_exec): New function.  Ditto.

23 years ago* emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
aoliva [Thu, 24 May 2001 02:44:04 +0000 (02:44 +0000)]
* emultempl/elf32.em (ELF_INTERPRETER_SET_DEFAULT): Use this new
variable to avoid non-portable shell construct.

23 years ago * gdb.base/finish.exp (finish_void): Revise pattern for
kevinb [Thu, 24 May 2001 01:14:14 +0000 (01:14 +0000)]
* gdb.base/finish.exp (finish_void): Revise pattern for
stopping on the call statement to not permit stopping at
the start of the instructions comprising the call sequence.

23 years ago2001-05-24 Ben Elliston <bje@redhat.com>
bje [Thu, 24 May 2001 00:00:40 +0000 (00:00 +0000)]
2001-05-24  Ben Elliston  <bje@redhat.com>

* sidcpuutil.h (basic_cpu::create_gdb_register_attrs): Document
the meaning of the expedited_regno_list argument.

23 years ago* elf64-sparc.c (sparc64_elf_slurp_reloc_table): Fix typo
aoliva [Wed, 23 May 2001 23:56:21 +0000 (23:56 +0000)]
* elf64-sparc.c (sparc64_elf_slurp_reloc_table): Fix typo
s/ENTIRES/ENTRIES/.

23 years ago2001-05-19 Michael Chastain <chastain@redhat.com>
chastain [Wed, 23 May 2001 19:04:13 +0000 (19:04 +0000)]
2001-05-19  Michael Chastain  <chastain@redhat.com>

* gdb.base/callfuncs.exp: Make all test names unique.
* gdb.base/commands.exp: Make all test names unique.
* gdb.base/condbreak.exp: Make all test names unique.
* gdb.base/dbx.exp: Make all test names unique.
* gdb.base/default.exp: Make all test names unique.
* gdb.base/define.exp: Make all test names unique.  Conform some FAIL
and TIMEOUT messages to their corresponding PASS message.
* gdb.base/ending-run.exp: Make all test names unique.
* gdb.base/long_long.exp: Remove duplicate test.

23 years agoAdd MIPS ELF64 relocs
nickc [Wed, 23 May 2001 17:36:37 +0000 (17:36 +0000)]
Add MIPS ELF64 relocs

23 years agoAdd MIPS r12k support
nickc [Wed, 23 May 2001 17:26:34 +0000 (17:26 +0000)]
Add MIPS r12k support

23 years agoChange PLT code to avoid using r2 - it used by GCC to return large startures
nickc [Wed, 23 May 2001 16:38:36 +0000 (16:38 +0000)]
Change PLT code to avoid using r2 - it used by GCC to return large startures

23 years ago * syscalls.cc (seteuid): Restrict overriding external provided
corinna [Wed, 23 May 2001 15:49:22 +0000 (15:49 +0000)]
    * syscalls.cc (seteuid): Restrict overriding external provided
        user tokens to ntsec. Don't test external tokens for primary
        group to evaluate if it should be overridden. Restrict creating
        internal tokens to ntsec.

23 years ago2001-05-23 John Healy <jhealy@redhat.com>
jhealy [Wed, 23 May 2001 15:34:43 +0000 (15:34 +0000)]
2001-05-23  John Healy  <jhealy@redhat.com>

        * cgen.h: Increased CGEN_MAX_SYNTAX_ELEMENTS to 48.

23 years ago2001-05-23 Ben Elliston <bje@redhat.com>
bje [Wed, 23 May 2001 11:06:16 +0000 (11:06 +0000)]
2001-05-23  Ben Elliston  <bje@redhat.com>

* cgen-types.h (cgen::VOID): Typedef for void.

23 years agoReplace sh_size/sh_entsize with NUM_SHDR_ENTRIES
nickc [Wed, 23 May 2001 08:23:26 +0000 (08:23 +0000)]
Replace sh_size/sh_entsize with NUM_SHDR_ENTRIES

23 years ago * syscalls.cc (chown_worker): Don't check for ENOSYS.
corinna [Wed, 23 May 2001 08:12:49 +0000 (08:12 +0000)]
    * syscalls.cc (chown_worker): Don't check for ENOSYS.

23 years ago * gas/elf/ehopt0.d: Tweak for bigendian targets.
amodra [Wed, 23 May 2001 05:33:31 +0000 (05:33 +0000)]
* gas/elf/ehopt0.d: Tweak for bigendian targets.

23 years agoMore whitespace fixes.
amodra [Wed, 23 May 2001 03:25:03 +0000 (03:25 +0000)]
More whitespace fixes.

23 years ago * arc-opc.c: Whitespace changes.
amodra [Wed, 23 May 2001 03:12:14 +0000 (03:12 +0000)]
* arc-opc.c: Whitespace changes.

23 years ago * breakpoint.c (breakpoint_address_is_meaningful): New function.
kevinb [Wed, 23 May 2001 00:52:44 +0000 (00:52 +0000)]
* breakpoint.c (breakpoint_address_is_meaningful): New function.
(check_duplicates): Don't compare non-meaningful addresses.

23 years ago2001-05-22 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 23 May 2001 00:06:13 +0000 (00:06 +0000)]
2001-05-22  Michael Snyder  <msnyder@redhat.com>

* thread-db.c: Allow for defunct zombie threads.
(attach_thread): Do not attempt to attach zombie thread.
(thread_db_thread_alive): Return false for defunct zombie thread.
(find_new_threads_callback): Don't add defunct zombie thread to list.

23 years ago* lib/mapi32.def: Add MAPISendMail.
cgf [Tue, 22 May 2001 23:03:25 +0000 (23:03 +0000)]
* lib/mapi32.def: Add MAPISendMail.

23 years agoAdd support for the GNU V3 C++ ABI.
jimb [Tue, 22 May 2001 21:02:41 +0000 (21:02 +0000)]
Add support for the GNU V3 C++ ABI.
(Includes changes by Dan Berlin.)

* gnu-v3-abi.c: New file.
* minsyms.c: #include "value.h" and "cp-abi.h".
(install_minimal_symbols): Check the minimal symbol table for
symbols that look mangled in the V3 style, and select the V3 ABI
if we find any.
* Makefile.in (SFILES): Add gnu-v3-abi.c.
(COMMON_OBS): Add gnu-v3-abi.o.
(gnu-v3-abi.o): Add new rule.
(minsyms.o): Depend on $(cp_abi_h) and $(value_h).

23 years ago * include/w32api.h: Update version.
earnie [Tue, 22 May 2001 20:51:46 +0000 (20:51 +0000)]
* include/w32api.h: Update version.
* Makefile.in: Ditto.

23 years ago Update copyright info.
kseitz [Tue, 22 May 2001 19:10:06 +0000 (19:10 +0000)]
Update copyright info.

23 years ago * memwin.ith (error_dialog): Declare public method.
kseitz [Tue, 22 May 2001 19:02:54 +0000 (19:02 +0000)]
* memwin.ith (error_dialog): Declare public method.
* memwin.itb (error_dialog): Define.
(edit): When attempting to set memory, post an error dialog
if gdb told us an error occurred while writing the memory.

23 years ago * library/interface.tcl (gdbtk_tcl_file_changed): Handle
kseitz [Tue, 22 May 2001 18:24:17 +0000 (18:24 +0000)]
* library/interface.tcl (gdbtk_tcl_file_changed): Handle
the case of empty-string files, sent by gdb when the
user requests to reset the file.
(_close_file): New proc to deal with closing an exe.
* library/srcbar.itcl (create_file_menu): Add "Close" menu
option.
(create_view_menu): Change key binding for Watch Window to
Ctrl+T to accomodate "Close" going to Ctrl+W.
* library/srctextwin.itb (config_win): Update key binding
for Watch Window.
Add key binding for Close.
(do_key): Add "close".
(_clear_cache): Finally implement. I think this works now.

23 years ago* signal.cc (sleep): Protect with sigframe.
cgf [Tue, 22 May 2001 16:22:35 +0000 (16:22 +0000)]
* signal.cc (sleep): Protect with sigframe.

23 years ago * security.cc (get_file_attribute): Don't set errno.
corinna [Tue, 22 May 2001 15:59:36 +0000 (15:59 +0000)]
    * security.cc (get_file_attribute): Don't set errno.

23 years ago * library/variables.tcl (postMenu): Add mysterious workaround
kseitz [Tue, 22 May 2001 15:46:02 +0000 (15:46 +0000)]
* library/variables.tcl (postMenu): Add mysterious workaround
for popup menu bug in Tk for windows.
Highlight the selection, too.

23 years agoImprove Solaris compatability
nickc [Tue, 22 May 2001 14:00:18 +0000 (14:00 +0000)]
Improve Solaris compatability

23 years ago2001-05-22 Ben Elliston <bje@redhat.com>
bje [Tue, 22 May 2001 12:17:13 +0000 (12:17 +0000)]
2001-05-22  Ben Elliston  <bje@redhat.com>

* compConfig.cxx (cfgroot_component::num_invalid_chars): New.
(cfgroot_component::configure): Initialise it.
(cfgroot_component::max_invalid_chars): New enumerator.
(cfgroot_component::emit_invalid_char_error): New method.
(cfgroot_component::consume_token): Factor out common error
handling code into cfgroot_component::emit_invalid_char_error.
(cfgroot_component::parse): Stop parsing if too many invalid
character codes are encountered and emit an error message.

23 years ago * config/tc-arc.c (md_assemble): Use is_end_of_line instead of
amodra [Tue, 22 May 2001 11:03:31 +0000 (11:03 +0000)]
* config/tc-arc.c (md_assemble): Use is_end_of_line instead of
testing for NULs.

23 years ago* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
aoliva [Tue, 22 May 2001 10:40:28 +0000 (10:40 +0000)]
* ltcf-cxx.sh (allow_undefined_flag, no_undefined_flag)
[aix4*|aix5*]: Prepend blank.

23 years ago * symbols.c (resolve_symbol_value): Remove "finalize" param,
amodra [Tue, 22 May 2001 10:23:47 +0000 (10:23 +0000)]
* symbols.c (resolve_symbol_value): Remove "finalize" param,
instead use finalize_syms directly.  Don't treat expressions
specially with regard to finalize_syms.  Update calls to self.
(resolve_local_symbol): Update call to resolve_symbol_value.
(S_GET_VALUE): Likewise.  Return resolve_symbol_value if
!finalize_syms.
* symbols.h (resolve_symbol_value): Update prototype.
* config/obj-aout.c (obj_crawl_symbol_chain): Update call
to resolve_symbol_value.
* config/obj-bout.c (obj_crawl_symbol_chain): Likewise.
* config/obj-coff.c (do_relocs_for): Likewise.
(yank_symbols): Likewise.
(fixup_segment): Likewise.
* config/obj-vms.c (obj_crawl_symbol_chain): Likewise.
* config/tc-mips.c (md_convert_frag): Likewise.
* config/tc-ppc.c (ppc_frob_symbol): Likewise.
(ppc_fix_adjustable): Likewise.
* dwarf2dbg.c (dwarf2dbg_estimate_size_before_relax): Likewise.
(dwarf2dbg_convert_frag): Likewise.
* ehopt.c (eh_frame_estimate_size_before_relax): Likewise.
(eh_frame_convert_frag): Likewise.
* expr.c (make_expr_symbol): Likewise.
* write.c (adjust_reloc_syms): Likewise.
(write_object_file): Likewise.
(relax_segment): Likewise.
(fixup_segment): Likewise.
(finalize_syms): Init to zero, and update comment.
(write_object_file): Set finalize_syms to 1 rather than 2.
* doc/internals.texi (sy_value): Mention finalize_syms.
(S_GET_VALUE): Remove restriction on when S_GET_VALUE can be called.

23 years ago * config/tc-m68k.c (relaxable_symbol): Only treat external symbols
amodra [Tue, 22 May 2001 09:01:52 +0000 (09:01 +0000)]
* config/tc-m68k.c (relaxable_symbol): Only treat external symbols
as relaxable if embedded system, make weak syms non-relaxable.
Move definition..
(tc_m68k_fix_adjustable): ..so it can be used here.
(md_apply_fix_2): Sign extend without conditional.

23 years agoUpdate copyright date.
amodra [Tue, 22 May 2001 08:41:09 +0000 (08:41 +0000)]
Update copyright date.

23 years ago2001-05-22 Ben Elliston <bje@redhat.com>
bje [Tue, 22 May 2001 03:49:20 +0000 (03:49 +0000)]
2001-05-22  Ben Elliston  <bje@redhat.com>

* compConfig.cxx (cfgroot_component::run): Remove timebomb logic.
* configure.in (--enable-timebomb): Remove.
* configure: Regenerate.
* config.in: Likewise.

23 years ago * gdb.base/finish.exp (finish_void): Allow "finish" command to
kevinb [Tue, 22 May 2001 00:25:26 +0000 (00:25 +0000)]
* gdb.base/finish.exp (finish_void): Allow "finish" command to
stop on the call statement as well as the statement after the
call.

23 years ago* values.c (value_primitive_field): If we're extracting a base
jimb [Mon, 21 May 2001 20:08:59 +0000 (20:08 +0000)]
* values.c (value_primitive_field): If we're extracting a base
class, then the type of the result should be the base class being
extracted, not the type of which it is a base class.

23 years ago* value.h (struct value): Doc fix, and rearrange members to place
jimb [Mon, 21 May 2001 20:02:21 +0000 (20:02 +0000)]
* value.h (struct value): Doc fix, and rearrange members to place
them near their explanations.

23 years ago* configure.in: Allow --enable-newvfork to turn NEWVFORK on and off.
cgf [Mon, 21 May 2001 19:13:47 +0000 (19:13 +0000)]
* configure.in: Allow --enable-newvfork to turn NEWVFORK on and off.
* configure: Regenerate.

23 years ago2001-05-21 Michael Snyder <msnyder@redhat.com>
msnyder [Mon, 21 May 2001 18:48:25 +0000 (18:48 +0000)]
2001-05-21  Michael Snyder  <msnyder@redhat.com>

* remote.c (remote_async_wait): Added new variable fieldsize.
Add fieldsize (return value of hex2bin) to string pointer p.

23 years ago* include/cygwin/version.h: Bump minor version number.
cgf [Mon, 21 May 2001 15:50:36 +0000 (15:50 +0000)]
* include/cygwin/version.h: Bump minor version number.

23 years ago * dwarf2.c (decode_line_info): Fix error message.
aj [Mon, 21 May 2001 11:52:41 +0000 (11:52 +0000)]
* dwarf2.c (decode_line_info): Fix error message.
(read_abbrevs): Fix test for offset as suggested by Alan Modra and
adjust error message.

23 years ago * winsup.api/mmaptest01.c: Add log output.
corinna [Mon, 21 May 2001 09:03:37 +0000 (09:03 +0000)]
    * winsup.api/mmaptest01.c: Add log output.
        * winsup.api/mmaptest02.c: Write log output to stdout.
        * winsup.api/mmaptest03.c: Ditto.

23 years agoFormatting tweak.
jimb [Mon, 21 May 2001 05:30:59 +0000 (05:30 +0000)]
Formatting tweak.

23 years ago* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
aoliva [Sun, 20 May 2001 19:02:54 +0000 (19:02 +0000)]
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254.  Rebuilt a number
of subdir/configure scripts to use the new libtool.m4.

23 years ago* fhandler_dsp.cc: Reformat to GNU standards.
cgf [Sun, 20 May 2001 17:31:06 +0000 (17:31 +0000)]
* fhandler_dsp.cc: Reformat to GNU standards.
(s_audio): Change to a pointer throughout.
(fhandler_dev_dsp::open): Initialize s_audio, if required.

23 years agoImprove HC11 simulator to support HC12
ciceron [Sun, 20 May 2001 15:40:27 +0000 (15:40 +0000)]
Improve HC11 simulator to support HC12

23 years ago * dv-m68hc11sio.c (m68hc11sio_tx_poll): Always check for
ciceron [Sun, 20 May 2001 15:36:29 +0000 (15:36 +0000)]
* dv-m68hc11sio.c (m68hc11sio_tx_poll): Always check for
pending interrupts.
* interrupts.c (interrupts_process): Keep track of the last number
of masked insn cycles.
(interrupts_initialize): Clear last number of masked insn cycles.
(interrupts_info): Report them.
(interrupts_update_pending): Compute clear and set masks of
interrupts and clear the interrupt bits before setting them
(due to SCI interrupt sharing).
* interrupts.h (struct interrupts): New members last_mask_cycles
and xirq_last_mask_cycles.

23 years ago * m68hc11-tdep.c (m68hc11_pop_frame): Fix stack pointer computation.
ciceron [Sun, 20 May 2001 11:53:41 +0000 (11:53 +0000)]
* m68hc11-tdep.c (m68hc11_pop_frame): Fix stack pointer computation.
(m68hc11_analyze_instruction): Update the pc correctly.
(m68hc11_guess_from_prologue): Take into account the stack correction
for the saving address.

23 years ago * autoload.cc: Add load statements for `LookupAccountNameW',
corinna [Sun, 20 May 2001 08:10:47 +0000 (08:10 +0000)]
    * autoload.cc: Add load statements for `LookupAccountNameW',
        `LsaClose', `LsaEnumerateAccountRights', `LsaFreeMemory',
        `LsaOpenPolicy', `LsaQueryInformationPolicy', `NetLocalGroupEnum',
        `NetLocalGroupGetMembers', `NetServerEnum', `NetUserGetGroups' and
        `NtCreateToken'.
        * ntdll.h: Add declaration for `NtCreateToken'.
        * sec_helper.cc: Add `well_known_local_sid', `well_known_dialup_sid',
        `well_known_network_sid', `well_known_batch_sid',
        `well_known_interactive_sid', `well_known_service_sid' and
        `well_known_authenticated_users_sid'.
        (cygsid::string): Define as const method.
        (cygsid::get_sid): Set psid to NO_SID on error.
        (cygsid::getfromstr): Ditto.
        (cygsid::getfrompw): Simplify.
        (cygsid::getfromgr): Check for gr == NULL.
        (legal_sid_type): Move to security.h.
        (set_process_privilege): Return -1 on error, otherwise 0 or 1 related
        to previous privilege setting.
        * security.cc (extract_nt_dom_user): Remove `static'.
        (lsa2wchar): New function.
        (open_local_policy): Ditto.
        (close_local_policy): Ditto.
        (get_lsa_srv_inf): Ditto.
        (get_logon_server): Ditto.
        (get_logon_server_and_user_domain): Ditto.
        (get_user_groups): Ditto.
        (is_group_member): Ditto.
        (get_user_local_groups): Ditto.
        (sid_in_token_groups): Ditto.
        (get_user_primary_group): Ditto.
        (get_group_sidlist): Ditto.
        (get_system_priv_list): Ditto.
        (get_priv_list): Ditto.
        (get_dacl): Ditto.
        (create_token): Ditto.
        (subauth): Return immediately if SE_TCB_NAME can't be assigned.
        Change all return statements in case of error to jumps to `out'
        label. Add `out' label to support cleanup.
        * security.h: Add extern declarations for `well_known_local_sid',
        `well_known_dialup_sid', `well_known_network_sid',
        `well_known_batch_sid', `well_known_interactive_sid',
        `well_known_service_sid' and `well_known_authenticated_users_sid'.
        Add extern declarations for functions `create_token',
        `extract_nt_dom_user' and `get_logon_server_and_user_domain'.
        (class cygsid): Add method `assign'. Change operator= to call new
        `assign' method. Add `debug_print' method.
        (class cygsidlist): New class.
        (legal_sid_type): Moved from sec_helper.cc to here.
        * spawn.cc (spawn_guts) Revert reversion of previous patch.
        Call `RevertToSelf' and `ImpersonateLoggedOnUser' instead of `seteuid'
        again.
        * syscalls.cc (seteuid): Rearranged. Call `create_token' now when
        needed. Call `subauth' if `create_token' fails. Try setting token
        owner and primary group only if token was not explicitely created
        by `create_token'.
        * uinfo.cc (internal_getlogin): Try harder to generate correct user
        information. Especially don't trust return value of `GetUserName'.

23 years ago* Makefile.in: Use 'rm -f' when cleaning.
cgf [Sun, 20 May 2001 04:25:02 +0000 (04:25 +0000)]
* Makefile.in: Use 'rm -f' when cleaning.

23 years ago* fork.cc (fork_parent): Move atforkprepare call here.
cgf [Sun, 20 May 2001 01:19:20 +0000 (01:19 +0000)]
* fork.cc (fork_parent): Move atforkprepare call here.
(fork): From here.

23 years ago * autoload.cc: Add missing load statement for `CancelIo'.
corinna [Sat, 19 May 2001 16:36:58 +0000 (16:36 +0000)]
    * autoload.cc: Add missing load statement for `CancelIo'.

23 years ago2001-05-07 Daniel Berlin <dan@cgsoftware.com>
dberlin [Sat, 19 May 2001 15:20:14 +0000 (15:20 +0000)]
2001-05-07  Daniel Berlin  <dan@cgsoftware.com>

Changes by Jim Ingham:

* values.c (value_change_enclosing_type): New function.  If the
new enclosing type is larger than the old one, we need to allocate
more space.
* value.h: Add value_change_enclosing_type prototype.
* valops.c (value_cast): Use it.
(value_assign): Use it.
(value_addr): Use it.
(value_ind): Use it.
(value_full_object): Use it.

2001-05-07  Daniel Berlin  <dan@cgsoftware.com>

* values.c (value_static_field): Handle static fields that have a constant value.

23 years ago* grp.cc (read_etc_group): Don't copy mutex on fork.
cgf [Sat, 19 May 2001 05:28:59 +0000 (05:28 +0000)]
* grp.cc (read_etc_group): Don't copy mutex on fork.
* pwd.cc (read_etc_passwd): Ditto.
* autoload.cc (LoadDLLfuncEx): Use LoadDLLprime to initialize DLL specific
area.

23 years ago * library/managedwin.ith (_geometry): Use a protected variable
kseitz [Fri, 18 May 2001 22:57:30 +0000 (22:57 +0000)]
* library/managedwin.ith (_geometry): Use a protected variable
instead of a global from ManagedWin::reveal.
(open): Make arg list reflect managedwin.itb.
* library/managedwin.itb (window_name): Use class variable
_top instead of recomputing the toplevel every time.
(reveal): Ditto.
Use class variable "_geometry" instead of global variable.
(shutdown): Do not save ModalDialogs.
(_create): If centering the new window, use libgui's
center_window to do it.

23 years agoIt appears that I forgot to check this in!
kseitz [Fri, 18 May 2001 22:49:33 +0000 (22:49 +0000)]
It appears that I forgot to check this in!

* generic/gdbtk-hooks.c (gdbtk_wait): Change integer pid
argument to match gdb's new "ptid_t" pids.

23 years ago * library/center.tcl (center_window): Allow centering
kseitz [Fri, 18 May 2001 21:28:42 +0000 (21:28 +0000)]
* library/center.tcl (center_window): Allow centering
the toplevel on a window, too.

23 years ago2001-05-18 H.J. Lu <hjl@gnu.org>
hjl [Fri, 18 May 2001 16:15:41 +0000 (16:15 +0000)]
2001-05-18  H.J. Lu  <hjl@gnu.org>

* ld-elfvers/vers.exp: Revert the last change.

* ld-elfvers/vers2.ver: Put back "tmpdir/" the version
references.
* ld-elfvers/vers3.ver: Likewise.
* ld-elfvers/vers6.ver: Likewise.
* ld-elfvers/vers18.ver: Likewise.

23 years ago2001-05-18 H.J. Lu <hjl@gnu.org>
hjl [Fri, 18 May 2001 16:06:42 +0000 (16:06 +0000)]
2001-05-18  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_link_add_object_symbols): Revert the last
change.

23 years ago * cris-opc.c (cris_spec_regs): Add missing initializer field for
hp [Fri, 18 May 2001 15:21:59 +0000 (15:21 +0000)]
* cris-opc.c (cris_spec_regs): Add missing initializer field for
last element.

23 years ago * net.cc (wsock_event::wait): Explicitely cancel IO when a signal
corinna [Fri, 18 May 2001 08:33:33 +0000 (08:33 +0000)]
    * net.cc (wsock_event::wait): Explicitely cancel IO when a signal
        arrived to avoid data loss. Fallback to blocking IO when canceling
        fails.

23 years ago * elf32-hppa.c (clobber_millicode_symbols): Temporarily set
amodra [Fri, 18 May 2001 03:11:12 +0000 (03:11 +0000)]
* elf32-hppa.c (clobber_millicode_symbols): Temporarily set
ELF_LINK_FORCED_LOCAL to suit 2001-04-30 change.
(hppa_build_one_stub): Add an assert to check plt.offset.

23 years ago2001-05-17 H.J. Lu <hjl@gnu.org>
hjl [Fri, 18 May 2001 01:25:33 +0000 (01:25 +0000)]
2001-05-17  H.J. Lu  <hjl@gnu.org>

* ld-elfvers/vers.exp: Pass "-rpath .:$tmpdir" to "vers19".

* ld-elfvers/vers1.ver: Remove "tmpdir/" from the version
definition.
* ld-elfvers/vers2.ver: Likewise.
* ld-elfvers/vers3.ver: Likewise.
* ld-elfvers/vers4a.ver: Likewise.
* ld-elfvers/vers6.ver: Likewise.
* ld-elfvers/vers7a.ver: Likewise.
* ld-elfvers/vers8.ver: Likewise.
* ld-elfvers/vers9.ver: Likewise.
* ld-elfvers/vers15.ver: Likewise.
* ld-elfvers/vers16a.ver: Likewise.
* ld-elfvers/vers17.ver: Likewise.
* ld-elfvers/vers18.ver: Likewise.

23 years ago2001-05-17 H.J. Lu <hjl@gnu.org>
hjl [Fri, 18 May 2001 01:20:01 +0000 (01:20 +0000)]
2001-05-17  H.J. Lu  <hjl@gnu.org>

* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set the
version definition to basename of the output filename.

23 years ago * include/winnt.h: Define SE_GROUP_LOGON_ID as unsigned to avoid
corinna [Thu, 17 May 2001 21:13:09 +0000 (21:13 +0000)]
    * include/winnt.h: Define SE_GROUP_LOGON_ID as unsigned to avoid
        compiler warnings.

23 years ago2001-05-17 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 17 May 2001 20:04:45 +0000 (20:04 +0000)]
2001-05-17  Michael Snyder  <msnyder@redhat.com>

* blockframe.c (create_new_frame): Zero all the fields via memset,
rather than zeroing them one by one.

23 years ago2001-05-17 H.J. Lu <hjl@gnu.org>
hjl [Thu, 17 May 2001 19:08:45 +0000 (19:08 +0000)]
2001-05-17  H.J. Lu  <hjl@gnu.org>

* elflink.h (elf_link_add_object_symbols): Set DT_NEEDED to
basename of the bfd filename.

23 years ago * include/ntdef.h: Protect definition of OBJECT_ATTRIBUTES against
corinna [Thu, 17 May 2001 15:16:36 +0000 (15:16 +0000)]
    * include/ntdef.h: Protect definition of OBJECT_ATTRIBUTES against
        previous definition in include/ntsecapi.h.
        * include/ntsecapi.h: Vice versa.

23 years ago * top.c (user_args): Remove unused declaration.
eliz [Thu, 17 May 2001 15:05:32 +0000 (15:05 +0000)]
* top.c (user_args): Remove unused declaration.

23 years ago * security.cc (cygwin_set_impersonation_token): Never destroy
corinna [Thu, 17 May 2001 13:31:42 +0000 (13:31 +0000)]
    * security.cc (cygwin_set_impersonation_token): Never destroy
        previous token object.
        (subauth): Create token source with well defined identifier.

23 years ago Revert accidentally checked in ChangeLog.
corinna [Thu, 17 May 2001 13:28:32 +0000 (13:28 +0000)]
Revert accidentally checked in ChangeLog.

23 years ago * cygsuba.c: Create token source with well defined identifier.
corinna [Thu, 17 May 2001 13:26:15 +0000 (13:26 +0000)]
* cygsuba.c: Create token source with well defined identifier.

23 years ago Add missing ChangeLog entry.
corinna [Thu, 17 May 2001 08:23:47 +0000 (08:23 +0000)]
Add missing ChangeLog entry.

23 years agoAdd a flag to asection, linker_has_input, and use it to reliably
amodra [Thu, 17 May 2001 03:58:45 +0000 (03:58 +0000)]
Add a flag to asection, linker_has_input, and use it to reliably
determine whether an input section is the first one assigned to
an output section.

23 years ago * sidcomp.cfgroot/dupName.badconf: Remove ARM-specific components.
bje [Wed, 16 May 2001 23:21:44 +0000 (23:21 +0000)]
* sidcomp.cfgroot/dupName.badconf: Remove ARM-specific components.
* sidcomp.cfgroot/multiDso.badconf: Likewise.
* sidcomp.cfgroot/CBinvaComp.badconf: Likewise.
* sidcomp.cfgroot/dupName.expect: Update to reflect new inputs.
* sidcomp.cfgroot/multiDso.expect: Likewise.

23 years ago2001-05-16 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 16 May 2001 23:06:02 +0000 (23:06 +0000)]
2001-05-16  Jeff Johnston  <jjohnstn@redhat.com>

        * cgen.c (gas_cgen_tc_gen_reloc): Changed error message when
        howto entry is not found.

Fix for 105023-CR-1.

23 years ago * uinfo.cc (uinfo_init): Just set user token to INVALID_HANDLE_VALUE.
corinna [Wed, 16 May 2001 21:53:18 +0000 (21:53 +0000)]
    * uinfo.cc (uinfo_init): Just set user token to INVALID_HANDLE_VALUE.
        Token value is already invalid at that point.

23 years agomerge from gcc
dj [Wed, 16 May 2001 21:04:30 +0000 (21:04 +0000)]
merge from gcc

23 years agomerge from gcc
dj [Wed, 16 May 2001 21:03:31 +0000 (21:03 +0000)]
merge from gcc

23 years ago2001-05-15 John S Kallal <jskallal@home.com>
msnyder [Wed, 16 May 2001 20:10:51 +0000 (20:10 +0000)]
2001-05-15  John S Kallal  <jskallal@home.com>

        * remote.c (remote_wait): Added new variable fieldsize.
        Add fieldsize (return value of hex2bin) to string pointer p.

23 years ago2001-05-16 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 16 May 2001 20:05:49 +0000 (20:05 +0000)]
2001-05-16  Michael Snyder  <msnyder@redhat.com>

* infcmd.c (do_registers_info): Move alloca outside of loop.

23 years ago * net.cc (errmap): Add missing mapping from WSAEINTR to EINTR.
corinna [Wed, 16 May 2001 19:40:45 +0000 (19:40 +0000)]
    * net.cc (errmap): Add missing mapping from WSAEINTR to EINTR.

23 years ago * readelf.c (do_debug_frames_interp): New.
rth [Wed, 16 May 2001 16:20:26 +0000 (16:20 +0000)]
    * readelf.c (do_debug_frames_interp): New.
        (byte_get_little_endian): If BFD64, always read entire 8-byte fields.
        (byte_get_big_endian): Likewise.
        (parse_args) ['F']: Set do_debug_frames_interp.
        (Frame_Chunk): Make data_factor signed, add fde_encoding.
        (frame_display_row): Don't trunc pc_begin to int.
        (size_of_encoded_value): New.
        (display_debug_frames): Handle 64-bit targets.  Print raw data
        unless do_debug_frames_interp.
        (debug_displays): Remove duplicate .debug_frame.

23 years ago * include/winnt.h: Add defines for group attributes.
corinna [Wed, 16 May 2001 16:01:45 +0000 (16:01 +0000)]
    * include/winnt.h: Add defines for group attributes.
        Add define for SYSTEM_LUID.
        Add missing types `PTOKEN_DEFAULT_DACL', `PTOKEN_OWNER' and
        `PTOKEN_PRIMARY_GROUP'.

23 years ago * sec_helper.cc (legal_sid_type): Fix conditional. Change to
corinna [Wed, 16 May 2001 07:25:31 +0000 (07:25 +0000)]
    * sec_helper.cc (legal_sid_type): Fix conditional. Change to
        inline function.

23 years ago* gmon_io.c (gmon_io_read, gmon_io_write_vma,
aoliva [Wed, 16 May 2001 05:26:57 +0000 (05:26 +0000)]
* gmon_io.c (gmon_io_read, gmon_io_write_vma,
gmon_io_write_32, gmon_io_write_8, gmon_io_write): Adjust
argument list for K&R C.

23 years ago* autoload.h: Eliminate.
cgf [Wed, 16 May 2001 05:07:49 +0000 (05:07 +0000)]
* autoload.h: Eliminate.
* autoload.cc: Pull in autoload.h.  Eliminate many macros.  Rewrite to avoid
necessity of initialization routines.  Just use a standard one.
(wsock_init): New function.  Moved from net.cc.
* net.cc (wsock_init): Move to autoload.cc.
(wsadata): Make global.
* dtable.cc (dtable::build_fhandler): Use more reliable method for checking if
net stuff has been loaded.

23 years ago* config/tc-mn10300.c (mn10300_force_relocation): Don't
aoliva [Wed, 16 May 2001 01:48:51 +0000 (01:48 +0000)]
* config/tc-mn10300.c (mn10300_force_relocation): Don't
optimize differences between symbols in code sections to
constants.
(mn10300_fix_adjustable): Don't adjust to section+offset
relocations pointing at symbols in code sections.

23 years ago* elf-m10300.c (mn10300_elf_relax_section): Don't relax
aoliva [Wed, 16 May 2001 01:48:13 +0000 (01:48 +0000)]
* elf-m10300.c (mn10300_elf_relax_section): Don't relax
negative 32-bit operands to 16 operands when the operand is
going to be zero-extended by the modified opcode.

23 years agoFix dwarf2_emit_insn calls when frag_var breaks things.
amodra [Wed, 16 May 2001 01:08:20 +0000 (01:08 +0000)]
Fix dwarf2_emit_insn calls when frag_var breaks things.
Put back an old entry in ChangeLog-9899, deleted when ChangeLog split.

23 years ago * fork.cc (fork): Eliminate superfluous call to getuid().
corinna [Tue, 15 May 2001 19:23:30 +0000 (19:23 +0000)]
    * fork.cc (fork): Eliminate superfluous call to getuid().
        * security.h: New define `NO_SID'. Remove declarations of functions
        moved to methods into class cygsid.
        (class cygsid): Declare new methods `getfromstr', `get_sid',
        `getfrompw', `getfromgr', `get_rid', `get_uid', `get_gid', `string'
        and new constructors and operators =, == and !=.
        Declare new global cygsids `well_known_XXX_sid' substituting the
        corresponding `get_XXX_sid' functions. Remove declarations of
        these functions.
        * sec_helper.cc (well_known_admin_sid): New global variable.
        (well_known_system_sid): Ditto
        (well_known_creator_owner_sid): Ditto
        (well_known_world_sid): Ditto
        (cygsid::string): New method, substituting `convert_sid_to_string_sid'.
        (cygsid::get_sid): New method, substituting `get_sid'.
        (cygsid::getfromstr): New method, substituting
        `convert_string_sid_to_sid'.
        (cygsid::getfrompw): New method, substituting `get_pw_sid'.
        (cygsid::getfromgr): New method, substituting `get_gr_sid'.
        (cygsid::get_id): New method, substituting `get_id_from_sid'.
        (get_admin_sid): Eliminated.
        (get_system_sid): Ditto.
        (get_creator_owner_sid): Ditto.
        (get_world_sid): Ditto.
        * grp.cc: Use new cygsid methods and well known sids throughout.
        * registry.cc: Ditto.
        * sec_acl.cc: Ditto.
        * security.cc: Ditto.
        * shared.cc: Ditto.
        * syscalls.cc (seteuid): Ditto. Eliminate redundant conditional.
        * uinfo.cc (internal_getlogin): Ditto.
        * spawn.cc (spawn_guts) Revert previous patch.

23 years ago* cgen disasm bug fix
fche [Tue, 15 May 2001 18:10:05 +0000 (18:10 +0000)]
* cgen disasm bug fix

2001-05-15  Frank Ch. Eigler  <fche@redhat.com>

* cgen-dis.in (extract_normal): Complete support for min<base case.

23 years agoRemove definition of EM_MIPS_RS4_BE. The constant was never in active use
nickc [Tue, 15 May 2001 12:24:29 +0000 (12:24 +0000)]
Remove definition of EM_MIPS_RS4_BE.  The constant was never in active use
and is used otherwise by the ABI.

23 years agoFix MIPS disassembler so that it produces reassemblable code.
nickc [Tue, 15 May 2001 12:11:11 +0000 (12:11 +0000)]
Fix MIPS disassembler so that it produces reassemblable code.

23 years ago* sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
kettenis [Tue, 15 May 2001 11:38:25 +0000 (11:38 +0000)]
* sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
info.bfd_arch_info.

23 years ago * winsup.api/winsup.exp: Force linking all tests against binmode.o.
corinna [Tue, 15 May 2001 10:03:00 +0000 (10:03 +0000)]
    * winsup.api/winsup.exp: Force linking all tests against binmode.o.