OSDN Git Service

pf3gnuchains/sourceware.git
21 years agoSource Navigator is now on sourceforge...
kseitz [Thu, 6 Feb 2003 20:36:19 +0000 (20:36 +0000)]
Source Navigator is now on sourceforge...

        * Makefile.def: Remove "snavigator", "grep", and "db" modules.
        * Makefile.tpl: Remove "all-snavigator" and "all-grep".
        * Makefile.in: Regenerated.
        * configure.in: Remove all traces of snavigator, db, and grep.
        * configure: Regenerated.

21 years ago2003-02-06 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 6 Feb 2003 20:29:20 +0000 (20:29 +0000)]
2003-02-06  Frank Ch. Eigler  <fche@redhat.com>

* compSched.cxx (operator <<,>>): Clean up decls of these templates.
(apprx_host_time_keeper get_now): Warning cleanup.

21 years ago2003-02-06 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 6 Feb 2003 20:27:48 +0000 (20:27 +0000)]
2003-02-06  Frank Ch. Eigler  <fche@redhat.com>

* sidbusutil.h (control_register_bus word_read,write): C++ cleanup.

21 years ago2003-02-06 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 6 Feb 2003 20:27:37 +0000 (20:27 +0000)]
2003-02-06  Frank Ch. Eigler  <fche@redhat.com>

* configure.in: Look for tcl/tk 8.4 instead of 8.3.
* configure: Regenerated.

21 years ago* win32-nat.c (get_relocated_section_addrs): New function. Find section load
cgf [Thu, 6 Feb 2003 19:51:23 +0000 (19:51 +0000)]
* win32-nat.c (get_relocated_section_addrs): New function.  Find section load
addresses for symbol handling in relocated DLLs.
(solib_symbols_add): Open a bfd and call get_relocated_section_addrs.

21 years ago2003-02-06 Jason Molenda (jason-cl@molenda.com)
jsm [Thu, 6 Feb 2003 18:26:19 +0000 (18:26 +0000)]
2003-02-06  Jason Molenda  (jason-cl@molenda.com)

* gdb.mi/mi-syn-frame.c (subroutine): Add a comment explaining
why the code is written that way.

21 years agoChecked in as obvious fixes. Also updated FSF copyright year to 2003
fnf [Thu, 6 Feb 2003 17:58:00 +0000 (17:58 +0000)]
Checked in as obvious fixes.  Also updated FSF copyright year to 2003
for remote-e7000.c and infttrace.c.

2003-02-05  Fred Fish  <fnf@intrinsity.com>
* remote-e7000.c (e7000_drain_command): Fix precedence problem with
'=' and '!='.
* rdi-share/ardi.c (wait_for_debug_message): Fix precedence problem
with '&' and '=='.
(angel_RDI_info): Ditto.
* infttrace.c (threads_continue_all_but_one): Fix precedence problem
with '&' and '!='.
(threads_continue_all_with_signals): Ditto.

21 years ago * emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64.
jakub [Thu, 6 Feb 2003 14:45:03 +0000 (14:45 +0000)]
* emulparams/elf64_s390.sh (LIBPATH_SUFFIX): Set to 64.
* emulparams/elf_x86_64.sh (LIBPATH_SUFFIX): Likewise.
* emulparams/elf64_sparc.sh (LIBPATH_SUFFIX): Set instead of suffix.

21 years ago * security.h: Introduce names UNKNOWN_UID and UNKNOWN_GID and delete
corinna [Thu, 6 Feb 2003 14:01:53 +0000 (14:01 +0000)]
* security.h: Introduce names UNKNOWN_UID and UNKNOWN_GID and delete
declaration of is_grp_member.
* uinfo.cc (internal_getlogin): Use UNKNOWN_GID.
* passwd.cc (pwdgrp::read_passwd): Use UNKNOWN_UID.
* grp.cc (pwdgrp::read_group): Change group name to provide better
feedback.
(getgrgid): Use gid16togid32.
* sec_helper.cc (is_grp_member): Delete.

21 years agoCommit Sh2E addition
nickc [Thu, 6 Feb 2003 10:42:33 +0000 (10:42 +0000)]
Commit Sh2E addition

21 years ago2003-02-05 Michael Chastain <mec@shout.net>
chastain [Thu, 6 Feb 2003 06:39:38 +0000 (06:39 +0000)]
2003-02-05  Michael Chastain  <mec@shout.net>

* gdb.base/dump.exp: Add missing copyright line.

21 years ago2003-02-05 Michael Chastain <mec@shout.net>
chastain [Thu, 6 Feb 2003 06:36:24 +0000 (06:36 +0000)]
2003-02-05  Michael Chastain  <mec@shout.net>

* gdb.base/dump.exp: Add missing copyright line.

21 years agotypeo
jsm [Thu, 6 Feb 2003 06:30:18 +0000 (06:30 +0000)]
typeo

21 years ago2003-02-05 Jason Molenda (jason-cl@molenda.com)
jsm [Thu, 6 Feb 2003 06:27:01 +0000 (06:27 +0000)]
2003-02-05  Jason Molenda  (jason-cl@molenda.com)

* gdb.mi/mi-syn-frames.c (subroutine): Add an extra statement
at the beginning so the breakpoint doesn't get set on the loop.

21 years agoAdd missing files from last commit :-(
cagney [Thu, 6 Feb 2003 05:30:16 +0000 (05:30 +0000)]
Add missing files from last commit :-(

21 years ago * setup-net.sgml: Add "setup-maxmem" section
joshuadfranklin [Thu, 6 Feb 2003 02:52:14 +0000 (02:52 +0000)]
 * setup-net.sgml: Add "setup-maxmem" section

21 years ago2003-02-05 Michael Chastain <mec@shout.net>
chastain [Thu, 6 Feb 2003 02:11:01 +0000 (02:11 +0000)]
2003-02-05  Michael Chastain  <mec@shout.net>

* gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
output for configurations with gcc 2.95.3.

21 years ago2003-02-05 Michael Chastain <mec@shout.net>
chastain [Thu, 6 Feb 2003 02:04:21 +0000 (02:04 +0000)]
2003-02-05  Michael Chastain  <mec@shout.net>

* gdb.c++/local.exp: Relax the test for PR gdb/825 to accept
output for configurations with gcc 2.95.3.

21 years ago * gas/i386/x86-64-opcode.s: More tests for x86-64 MOVD opcodes.
amodra [Thu, 6 Feb 2003 01:49:39 +0000 (01:49 +0000)]
* gas/i386/x86-64-opcode.s: More tests for x86-64 MOVD opcodes.
* gas/i386/x86-64-opcode.d: Adjust to suit.

21 years ago * i386-dis.c (dq_mode, Edq): Define.
amodra [Thu, 6 Feb 2003 01:48:41 +0000 (01:48 +0000)]
* i386-dis.c (dq_mode, Edq): Define.
(dis386_twobyte): Correct movd operands.
(OP_E): Handle dq_mode case.

21 years ago * config/tc-ppc.c (ppc_elf_suffix): Undo part of last change so that
amodra [Thu, 6 Feb 2003 01:24:17 +0000 (01:24 +0000)]
* config/tc-ppc.c (ppc_elf_suffix): Undo part of last change so that
x@toc+off works.

21 years ago2003-02-05 Keith Seitz <keiths@redhat.com>
cagney [Thu, 6 Feb 2003 01:22:06 +0000 (01:22 +0000)]
2003-02-05  Keith Seitz  <keiths@redhat.com>
    Andrew Cagney  <ac131313@redhat.com>

* gdb.mi/mi-cli.exp: New file.

21 years ago2003-02-05 Jim Ingham <jingham@apple.com>
cagney [Thu, 6 Feb 2003 01:19:11 +0000 (01:19 +0000)]
2003-02-05  Jim Ingham <jingham@apple.com>
            Keith Seitz  <keiths@redhat.com>
            Elena Zannoni  <ezannoni@redhat.com>
            Andrew Cagney  <ac131313@redhat.com>

* Makefile.in (SUBDIR_CLI_OBS): Add "cli-interp.o".
(SUBDIR_CLI_SRCS): Add "cli/cli-interp.c".
(SUBDIR_MI_OBS): Add "mi-interp.o".
(SUBDIR_MI_SRCS): Add "mi/mi-interp.c".
(SFILES): Add "interps.c".
(COMMON_OBS): Add "interps.o".
(interps_h, mi_main_h): Define.
(interps.o, cli-interp.o, mi-interp.o): Add dependencies.
(mi-main.o, main.o, event-top.o): Update dependencies.
* cli/cli-interp.c: New file.
* interps.h, interps.c: New files.
* top.c: (gdb_init): Don't install the default interpreter, handed
by captured_main.
* main.c: Include "interps.h".
(interpreter_p): Note that it should malloc'ed.
(captured_command_loop): Call current_interp_command_loop.
(captured_main): Initialize interpreter_p to INTERP_CONSOLE.  Use
xfree and xstrdup when updating interpreter_p.  Install the
default interpreter.  Add hack to stop mi1's copyright notice
being encoded.
* event-top.h (gdb_setup_readline): Declare.
(gdb_disable_readline): Declare.
* event-top.c: Include "interps.h".
(display_gdb_prompt): Call current_interp_display_prompt_p.
(gdb_setup_readline): Initialize gdb_stdout, gdb_stderr,
gdb_stdlog, and gdb_stdtarg.
(_initialize_event_loop): Don't call gdb_setup_readline.
* cli-out.c (cli_out_set_stream): New function.
* cli-out.h (cli_out_set_stream): Declare.

21 years ago*** empty log message ***
gdbadmin [Thu, 6 Feb 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
kettenis [Wed, 5 Feb 2003 23:14:46 +0000 (23:14 +0000)]
* configure.tgt (i[3456]86-*-sysv4.2*, i[3456]86-*-sysv4*,
i[3456]86-*-sysv5*, i[3456]86-*-sco3.2v5*): Remove.  These are all
handled fine by i[3456]86-*sco* and i[3456]86-sysv*.
* config/i386/i386sco5.mt, config/i386/i386v4.mt,
config/i386/i386v42mp.mt: Removed.

21 years ago * compile.c (init_pointers): Abort if wreg never gets initialized.
kazu [Wed, 5 Feb 2003 23:10:27 +0000 (23:10 +0000)]
* compile.c (init_pointers): Abort if wreg never gets initialized.
(sim_resume): Fix the handling of exts.w and extu.w.

21 years ago* configure.tgt (*-*-solaris*): Set gdb_osabi to
kettenis [Wed, 5 Feb 2003 23:04:15 +0000 (23:04 +0000)]
* configure.tgt (*-*-solaris*): Set gdb_osabi to
GDB_OSABI_SOLARIS.

21 years agodaily update
amodra [Wed, 5 Feb 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago* path.cc: Change 'to_posix_p' to 'to_posix' throughout.
cgf [Wed, 5 Feb 2003 21:12:57 +0000 (21:12 +0000)]
* path.cc: Change 'to_posix_p' to 'to_posix' throughout.
(conv_path_list_buf_size): Accommodate relative paths.

21 years ago2003-02-05 Michael Chastain <mec@shout.net>
chastain [Wed, 5 Feb 2003 17:45:14 +0000 (17:45 +0000)]
2003-02-05  Michael Chastain  <mec@shout.net>

* PROBLEMS (i[3456]86-*-linux*): Warn about binutils
2.12.1 and earlier versions.

21 years ago2003-02-05 Chris Demetriou <cgd@broadcom.com>
jjohnstn [Wed, 5 Feb 2003 17:10:43 +0000 (17:10 +0000)]
2003-02-05  Chris Demetriou  <cgd@broadcom.com>

* mips/configure.in (mipsisa32el-*-*): Handle in the same way
as mipsisa32-*-*.
(mipsisa32r2-*-*, mipsisa32r2el-*-*): New, handled in the same
way as mipsisa32-*-*.
* mips/configure: Regenerate.

21 years ago2003-02-05 Chris Demetriou <cgd@broadcom.com>
jjohnstn [Wed, 5 Feb 2003 17:01:33 +0000 (17:01 +0000)]
2003-02-05  Chris Demetriou  <cgd@broadcom.com>

* mips/cfe.c (hardware_hazard_hook): Move...
* mips/cfe_prestart.S (hardware_hazard_hook): To here,
and translate into assembly.

21 years ago2003-02-05 Jonathan Larmour <jifl@eCosCentric.com>
jjohnstn [Wed, 5 Feb 2003 16:52:34 +0000 (16:52 +0000)]
2003-02-05  Jonathan Larmour  <jifl@eCosCentric.com>

    * libc/stdio/vsprintf.c (vsprintf, _vsprintf_r): Set _file fd to
    -1 to be sure it cannot later match a valid file fd causing
    isatty() to return 1.
    * libc/stdio/asprintf.c (asprintf, _asprintf_r): Ditto.
    * libc/stdio/sprintf.c (sprintf, _sprintf_r): Ditto.
    * libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Ditto.

21 years ago* path.cc (etc::dir_changed): Fix debug printf.
cgf [Wed, 5 Feb 2003 16:40:51 +0000 (16:40 +0000)]
* path.cc (etc::dir_changed): Fix debug printf.

21 years ago * sec_acl.cc (setacl): Move all permission settings to beginning of
corinna [Wed, 5 Feb 2003 16:15:22 +0000 (16:15 +0000)]
* sec_acl.cc (setacl): Move all permission settings to beginning of
loop.  Set default rights to same values as in alloc_sd().  Set DELETE
for owner and default owner only if S_IWOTH is given.

* sec_acl.cc: Change all  __aclent16_t to  __aclent32_t except in
wrapper function definitions. Replace call to the aclXYZ functions by
calls aclXYZ32.
(searchace): Change type of third argument to __uid32_t and use
ILLEGAL_UID instead of -1;
(setacl): Remove some initializations. Only give STANDARD_RIGHTS_WRITE
for S_IWOTH. Replace -1 by ILLEGAL_UID.
(getacl): Change type of owner_sid, group_sid and ace_sid to cygpsid.
In last else clause, suppress second call to ace_sid.get_id and use
TRUE in first call. Replace EqualSid by ==.
(acl_access): Call internal_getgroups in USER and GROUP cases.
(acecmp: Define static.
(acl32): Create from 16 bit type.
(facl32): Ditto.
(lacl32): Ditto.
(aclcheck32): Ditto.
(aclsort32): Ditto.
(acltomode32): Ditto.
(aclfrommode32): Ditto.
(acltopbits32): Ditto.
(aclfrompbits32): Ditto.
(acltotext32): Ditto.
(aclfromtext32): Ditto, and use strechr.
(acl16to32): Create.
(acl): Make it a wrapper function.
(facl): Ditto.
(lacl): Ditto.
(aclcheck): Ditto.
(aclsort): Ditto.
(acltomode): Ditto.
(aclfrommode): Ditto.
(acltopbits): Ditto.
(aclfrompbits): Ditto.
(acltotext): Ditto.
(aclfromtext): Ditto.
* security.cc (write_sd): Call set_process_privilege and check
ownership.
(alloc_sd): Remove call to set_process_privilege and the owner check.

21 years ago * include/basetypes.h (_GUID_DEFINED): Add deprecation warning, start
earnie [Wed, 5 Feb 2003 15:51:27 +0000 (15:51 +0000)]
* include/basetypes.h (_GUID_DEFINED): Add deprecation warning, start
using GUID_DEFINED instead.
* include/sqltypes.h: Ditto.
* include/winnt.h: Ditto.
* include/ddk/scsiwmi.h: Ditto.

21 years ago * elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Don't copy got and
amodra [Wed, 5 Feb 2003 15:49:04 +0000 (15:49 +0000)]
* elf64-ppc.c (ppc64_elf_copy_indirect_symbol): Don't copy got and
plt info when called to transfer weak sym info.

21 years ago2003-02-05 Andrew Cagney <ac131313@redhat.com>
cagney [Wed, 5 Feb 2003 15:31:54 +0000 (15:31 +0000)]
2003-02-05  Andrew Cagney  <ac131313@redhat.com>

Remove orphaned hosts, targets and files.
* config/i386/gdbserve.mt, config/m68k/nm-apollo68b.h: Delete.
* config/m68k/nm-hp300bsd.h, config/m68k/tm-apollo68b.h: Delete.
* config/m68k/tm-es1800.h, config/m68k/tm-hp300bsd.h: Delete.
* config/m68k/tm-mac.h, config/m68k/xm-apollo68b.h: Delete.
* config/pa/hpux1020.mt, config/pa/hpux11.mt: Delete.
* config/pa/hpux11w.mt, config/powerpc/gdbserve.mt: Delete.
* config/powerpc/ppcle-eabi.mt, config/powerpc/ppcle-sim.mt: Delete.
* config/powerpc/tm-ppc-sim.h, config/sparc/sp64sim.mt: Delete.
* config/sparc/tm-sp64sim.h: Delete.
* configure.host: Delete strongarm-*-*, xscale-*-*, and arm*-*-*
hosts.
* configure.tgt: Delete i[3456]86-*-sco3.2v4*, and
mips*-dec-mach3* targets.

21 years ago* include/sys/cygwin.h: Use C-style comments.
cgf [Wed, 5 Feb 2003 14:14:25 +0000 (14:14 +0000)]
* include/sys/cygwin.h: Use C-style comments.

21 years ago * sec_helper.cc (get_sids_info): New function.
corinna [Wed, 5 Feb 2003 13:47:47 +0000 (13:47 +0000)]
* sec_helper.cc (get_sids_info): New function.
* security.cc (extract_nt_dom_user): Simplify with strechr.
(get_user_groups): Initialize glen to MAX_SID_LEN.
(get_user_local_groups): Ditto.
(get_attribute_from_acl): Define ace_sid as cygpsid.
(get_nt_attribute): Define owner_sid and group_sid as cygpsid.
Call get_sids_info instead of cygsid.get_{u,g}id and is_grp_member.
(get_nt_object_attribute): Ditto.
(alloc_sd): Define ace_sid as cygpsid.

21 years ago2003-02-04 Michael Chastain <mec@shout.net>
chastain [Wed, 5 Feb 2003 07:58:40 +0000 (07:58 +0000)]
2003-02-04  Michael Chastain  <mec@shout.net>

* NEWS: Fix typo: sepcifying -> specifying.

21 years ago2003-02-04 Michael Chastain <mec@shout.net>
chastain [Wed, 5 Feb 2003 07:25:00 +0000 (07:25 +0000)]
2003-02-04  Michael Chastain  <mec@shout.net>

* gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
Call perror and then continue.

21 years ago2003-02-04 Michael Chastain <mec@shout.net>
chastain [Wed, 5 Feb 2003 07:23:11 +0000 (07:23 +0000)]
2003-02-04  Michael Chastain  <mec@shout.net>

* gdb.c++/anon-union.exp: Do not call gdb_suppress_entire_file.
Call perror and then continue.

21 years ago2003-02-04 Michael Chastain <mec@shout.net>
chastain [Wed, 5 Feb 2003 06:48:55 +0000 (06:48 +0000)]
2003-02-04  Michael Chastain  <mec@shout.net>

* dwarfread.c: Add documentation on the state of dwarf-1,
looking towards obsoletion.

21 years ago2003-02-03 Michael Chastain <mec@shout.net>
chastain [Wed, 5 Feb 2003 06:42:08 +0000 (06:42 +0000)]
2003-02-03  Michael Chastain  <mec@shout.net>

* config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
gdb/testsuite/gdb.c++/pr-1023.exp.

21 years ago2003-02-03 Michael Chastain <mec@shout.net>
chastain [Wed, 5 Feb 2003 06:41:15 +0000 (06:41 +0000)]
2003-02-03  Michael Chastain  <mec@shout.net>

* config/djgpp/fnchange.lst: Add gdb/testsuite/gdb.c++/pr-1023.cc,
gdb/testsuite/gdb.c++/pr-1023.exp.

21 years ago2003-02-03 Michael Chastain <mec@shout.net>
chastain [Wed, 5 Feb 2003 06:38:33 +0000 (06:38 +0000)]
2003-02-03  Michael Chastain  <mec@shout.net>

* gdb.c++/pr-1023.cc: New file.
* gdb.c++/pr-1023.exp: New file.

21 years ago2003-02-03 Michael Chastain <mec@shout.net>
chastain [Wed, 5 Feb 2003 06:33:35 +0000 (06:33 +0000)]
2003-02-03  Michael Chastain  <mec@shout.net>

* gdb.c++/pr-1023.cc: New file.
* gdb.c++/pr-1023.exp: New file.

21 years ago* gdb.c++/local.exp: Don't expect Local to be in scope in main;
jimb [Wed, 5 Feb 2003 05:48:46 +0000 (05:48 +0000)]
* gdb.c++/local.exp: Don't expect Local to be in scope in main;
it's local to foobar.  Check for it there, and check that it's not
present in main.
* gdb.c++/local.cc (marker2): New function.
(foobar): Call marker1.
(main): Call marker2 instead of marker1.

21 years ago*** empty log message ***
gdbadmin [Wed, 5 Feb 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-02-04 Andrew Cagney <ac131313@redhat.com>
cagney [Tue, 4 Feb 2003 23:59:25 +0000 (23:59 +0000)]
2003-02-04  Andrew Cagney  <ac131313@redhat.com>

* values.c: Delete code conditional on IS_TRAPPED_INTERNALVAR.
* TODO: Delete reference to IS_TRAPPED_INTERNALVAR.
* utils.c (init_page_info): Delete reference to MPW in comments.
* main.c (captured_main): Delete #ifdef MPW.

Index: doc/ChangeLog
2003-02-04  Andrew Cagney  <ac131313@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Delete
descrption of IS_TRAPPED_INTERNALVAR.

21 years ago2003-02-04 Andrew Cagney <ac131313@redhat.com>
cagney [Tue, 4 Feb 2003 23:26:43 +0000 (23:26 +0000)]
2003-02-04  Andrew Cagney  <ac131313@redhat.com>

* NEWS: Note that the m32r-*-elf* is obsolete.
* monitor.c (monitor_expect): Obsolete reference to m32r.
* configure.tgt: Mark m32r-*-elf* as obsolete.
* MAINTAINERS: Mark m32k as obsolete.
* m32r-rom.c: Obsolete file.
* config/m32r/m32r.mt: Obsolete file.
* config/m32r/tm-m32r.h: Obsolete file.
* m32r-stub.c: Obsolete file.
* m32r-tdep.c: Obsolete file.

21 years ago2003-02-04 Andrew Cagney <ac131313@redhat.com>
cagney [Tue, 4 Feb 2003 23:22:24 +0000 (23:22 +0000)]
2003-02-04  Andrew Cagney  <ac131313@redhat.com>

* NEWS: Mention that the z8k-zilog-none is obsolete.
* MAINTAINERS: Mark z8k as obsolete.
* configure.tgt: Obsolete the z8k-*-coff* target.
* config/z8k/z8k.mt: Obsolete file.
* config/z8k/tm-z8k.h: Obsolete file.
* z8k-tdep.c: Obsolete file.

21 years agodaily update
amodra [Tue, 4 Feb 2003 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2003-02-04 Andrew Cagney <ac131313@redhat.com>
cagney [Tue, 4 Feb 2003 22:52:51 +0000 (22:52 +0000)]
2003-02-04  Andrew Cagney  <ac131313@redhat.com>

From Keith Seitz <keiths@redhat.com>:
* gdb.texinfo (Interpreters): New chapter.  Refer the command-line
option "-i"/"--interpreter" to this chapter.  Include index
entries.

21 years ago2003-02-04 Andrew Cagney <ac131313@redhat.com>
cagney [Tue, 4 Feb 2003 22:49:18 +0000 (22:49 +0000)]
2003-02-04  Andrew Cagney  <ac131313@redhat.com>

* NEWS: Mention that the mn10200-elf is obsolete.
* configure.tgt: Obsolete mn10200-*-* target.
* breakpoint.c (update_breakpoints_after_exec): Update comment to
mention that the mn10200 is obsolete.
* breakpoint.h: Ditto.
* MAINTAINERS: Mark the mn10200-elf as obsolete.
* config/mn10200/mn10200.mt: Obsolete file.
* config/mn10200/tm-mn10200.h: Obsolete file.
* mn10200-tdep.c: Obsolete file.

Index: testsuite/ChangeLog
2003-02-04  Andrew Cagney  <ac131313@redhat.com>

* gdb.disasm/mn10200.exp: Obsolete file.
* gdb.trace/Makefile.in (clean mostlyclean): Remove mn10200.
* gdb.disasm/Makefile.in (clean mostlyclean): Remove mn10200.
* gdb.base/watchpoint.exp: Mark the mn10200 xfails as obsolete.

21 years agoCorrect typo in last changelog entry.
dannysmith [Tue, 4 Feb 2003 22:21:45 +0000 (22:21 +0000)]
Correct typo in last changelog entry.

21 years ago * include/shlwapi.h (PathRelativePathTo[AW]): Correct
dannysmith [Tue, 4 Feb 2003 22:17:37 +0000 (22:17 +0000)]
* include/shlwapi.h (PathRelativePathTo[AW]): Correct
protototypes.
Thanks to: John Dallaway  <jld@ecoscentric.com>.

21 years ago2003-02-04 Andrew Cagney <ac131313@redhat.com>
cagney [Tue, 4 Feb 2003 22:04:07 +0000 (22:04 +0000)]
2003-02-04  Andrew Cagney  <ac131313@redhat.com>

* MAINTAINERS: Mark h8500 as obsolete.
* configure.tgt (h8500-*-*): Mark h8500 code as obsolete.
* findvar.c (value_from_register): Ditto.
* h8500-tdep.c: Mark file as obsolete.
* config/h8500/h8500.mt: Ditto.
* config/h8500/tm-h8500.h: Ditto.
* NEWS: Mention that h8500 is obsolete.

21 years ago2003-02-04 David Carlton <carlton@math.stanford.edu>
carlton [Tue, 4 Feb 2003 21:55:24 +0000 (21:55 +0000)]
2003-02-04  David Carlton  <carlton@math.stanford.edu>

* objfiles.c (allocate_objfile): Always set name.  Add comment at
start of function.
* jv-lang.c (get_dynamics_objfile): Add comment.

21 years ago2003-02-04 David Carlton <carlton@math.stanford.edu>
carlton [Tue, 4 Feb 2003 21:37:02 +0000 (21:37 +0000)]
2003-02-04  David Carlton  <carlton@math.stanford.edu>

* symtab.h (SYMBOL_LINKAGE_NAME): Delete.
* printcmd.c (build_address_symbolic): Replace uses of
SYMBOL_LINKAGE_NAME by equivalent uses of SYMBOL_SOURCE_NAME,
SYMBOL_NAME, and asm_demangle.
Update copyright.

21 years ago2003-02-04 David Carlton <carlton@math.stanford.edu>
carlton [Tue, 4 Feb 2003 21:24:20 +0000 (21:24 +0000)]
2003-02-04  David Carlton  <carlton@math.stanford.edu>

* linespec.c (decode_compound): Extract code into
lookup_prefix_sym.
(lookup_prefix_sym): New function.

21 years ago2003-02-04 David Carlton <carlton@math.stanford.edu>
carlton [Tue, 4 Feb 2003 21:19:26 +0000 (21:19 +0000)]
2003-02-04  David Carlton  <carlton@math.stanford.edu>

* gdb.texinfo (C@t{++}): Recommend DWARF 2, then stabs+.
(Variables): Recommend stabs+ and DWARF 2.
(C plus plus expressions): Correct info about
compiler versions, debug formats.
(Contributors): Change 'DWARF2' to 'DWARF 2'.
PR symtab/874.

2003-02-04  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/overload.exp: Test intToChar(1).
* gdb.c++/overload.cc (intToChar): New.
(main): Call intToChar.

21 years ago2003-02-04 David Carlton <carlton@math.stanford.edu>
carlton [Tue, 4 Feb 2003 21:14:46 +0000 (21:14 +0000)]
2003-02-04  David Carlton  <carlton@math.stanford.edu>

* gdb.texinfo (C@t{++}): Recommend DWARF 2, then stabs+.
(Variables): Recommend stabs+ and DWARF 2.
(C plus plus expressions): Correct info about
compiler versions, debug formats.
(Contributors): Change 'DWARF2' to 'DWARF 2'.
PR symtab/874.

21 years ago* dwarf2read.c (dwarf2_locate_sections): When we find a macro info
jimb [Tue, 4 Feb 2003 20:17:02 +0000 (20:17 +0000)]
* dwarf2read.c (dwarf2_locate_sections): When we find a macro info
section, let dwarf_macinfo_section point to it, not
dwarf_loc_section.

21 years ago* syscalls.cc (struct system_cleanup_args): New struct.
tpfaff [Tue, 4 Feb 2003 19:49:39 +0000 (19:49 +0000)]
* syscalls.cc (struct system_cleanup_args): New struct.
(system_cleanup): New function.
(system): Use pthread_cleanup_push and _pop to save and restore
signal handlers and sigprocmask.

21 years ago* winsup.api/pthread/cancel11.c: New test.
tpfaff [Tue, 4 Feb 2003 19:34:21 +0000 (19:34 +0000)]
* winsup.api/pthread/cancel11.c: New test.
* winsup.api/pthread/cancel12.c: Ditto.

21 years ago * path.cc (symlink): Create security attributes so that only the
corinna [Tue, 4 Feb 2003 19:26:01 +0000 (19:26 +0000)]
* path.cc (symlink): Create security attributes so that only the
user can modify the symlink.
* security.cc (set_security_attribute): Remove symlink special
handling.

21 years ago2003-02-04 Andrew Cagney <ac131313@redhat.com>
cagney [Tue, 4 Feb 2003 18:41:29 +0000 (18:41 +0000)]
2003-02-04  Andrew Cagney  <ac131313@redhat.com>

From Keith Seitz <keiths@redhat.com>:
* gdbmi.texinfo (GDB/MI Miscellaneous Commands): Document the
interpreter-exec command.

21 years ago Pointed out by Anton Blanchard <anton@samba.org>.
drow [Tue, 4 Feb 2003 18:21:28 +0000 (18:21 +0000)]
Pointed out by Anton Blanchard <anton@samba.org>.
* ppc-linux-tdep.c (insn_is_sigreturn): New function.
(ppc_linux_at_sigtramp_return_path): Use it.

21 years ago * defs.h (streq): Add prototype.
drow [Tue, 4 Feb 2003 18:07:00 +0000 (18:07 +0000)]
* defs.h (streq): Add prototype.
* utils.c (streq): New function.

* dwarf2read.c (new_symbol): Use SYMBOL_SET_NAMES instead of
SYMBOL_NAME and SYMBOL_INIT_DEMANGLED_NAME.
* mdebugread.c (new_symbol): Likewise.
* stabsread.c (define_symbol): Likewise.
* coffread.c (process_coff_symbol): Likewise.
* dwarfread.c (new_symbol): Likewise.

* minsyms.c (prim_record_minimal_symbol_and_info): Use
SYMBOL_SET_NAMES instead of setting SYMBOL_NAME.  Set the language
here.
(install_minimal_symbols): Don't set SYMBOL_LANGUAGE or call
SYMBOL_INIT_DEMANGLED_NAME.
* objfiles.c: Include "hashtab.h".
(allocate_objfile): Call htab_set_functions_ex for the
demangled_names_hash.
(free_objfile): Call htab_delete for the demangled_names_hash.
* objfiles.h (struct htab): Add declaration.
(struct objfile): Add demangled_names_hash.
* symfile.c: Include "hashtab.h".
(reread_symbols): Call htab_delete for the demangled_names_hash.
(add_psymbol_to_list): Use SYMBOL_SET_NAMES instead of putting
SYMBOL_NAME in the bcache.
* symtab.c: Include "hashtab.h".  Update comments.
(create_demangled_names_hash, symbol_set_names): New functions.
(symbol_find_demangled_name): New function, broken out from
symbol_init_demangled_names.
(symbol_init_demangled_names): Use it.
* symtab.h (SYMBOL_INIT_DEMANGLED_NAME): Add missing parentheses.
(SYMBOL_SET_NAMES): New macro.
(symbol_set_names): Add prototype.

21 years ago * grp.cc (internal_getgroups): Do not return without closing
corinna [Tue, 4 Feb 2003 17:53:08 +0000 (17:53 +0000)]
* grp.cc (internal_getgroups): Do not return without closing
the process handle.

21 years ago * security.h (class cygpsid): New class.
corinna [Tue, 4 Feb 2003 14:58:03 +0000 (14:58 +0000)]
* security.h (class cygpsid): New class.
(class cygsid): Use cygpsid as base. Remove members psid, get_id,
get_uid, get_gid, string, debug_printf and the == and != operators.
(cygsidlist::clear_supp): Only do work if setgroups has been called.
* sec_helper.cc: Define sid_auth NO_COPY.
(cygpsid::operator==): New operator.
(cygpsid::get_id): New function.
(cygpsid::string): New function.
(cygsid::string): Delete.
(cygsid::get_id): Delete.
* pwdgrp.h: Change arguments of internal_getpwsid,
internal_getgrsid and internal_getgroups to cygpsid.
* passwd.cc (internal_getpwsid): Change argument from cygsid to cygpsid.
* grp.cc (internal_getgrsid): Ditto.
(internal_getgroups): Ditto.

21 years agonew ppc64 tls tests
amodra [Tue, 4 Feb 2003 14:52:11 +0000 (14:52 +0000)]
new ppc64 tls tests

21 years ago * emultempl/ppc64elf.em (ppc_before_allocation): Size sections then
amodra [Tue, 4 Feb 2003 14:51:35 +0000 (14:51 +0000)]
* emultempl/ppc64elf.em (ppc_before_allocation): Size sections then
call ppc64_elf_tls_optimize.

21 years ago * config/tc-ppc.c (mapping): Handle new TLS reloc specs.
amodra [Tue, 4 Feb 2003 14:51:13 +0000 (14:51 +0000)]
* config/tc-ppc.c (mapping): Handle new TLS reloc specs.
(ppc_elf_suffix): Don't warn for x+off@got when ppc64 and don't
accept x@got+off etc.
(md_assemble): Handle TLS relocs.
(ppc_force_relocation): Force for all TLS relocs.
(ppc_fix_adjustable): Likewise.
(md_apply_fix3): Handle TLS relocs.

21 years ago * reloc.c: Add PPC and PPC64 TLS relocs.
amodra [Tue, 4 Feb 2003 14:50:49 +0000 (14:50 +0000)]
* reloc.c: Add PPC and PPC64 TLS relocs.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* elf64-ppc.c (TP_OFFSET, DTP_OFFSET): Declare.
(ppc64_elf_howto_raw): Add TLS howto's.  Adjust R_PPC64_NONE to be
against a 32 bit field.
(ppc64_elf_reloc_type_lookup): Handle TLS relocs.
(_ppc64_elf_section_data): Add t_symndx and comments.
(ppc64_elf_section_data): Use elf_section_data macro.
(ppc64_elf_new_section_hook): American spelling.
(struct got_entry, struct plt_entry): New.
(MUST_BE_DYN_RELOC): Rename from IS_ABSOLUTE_RELOC.
(struct ppc_stub_hash_entry): Add "addend" field.
(struct ppc_link_hash_entry): Add "tls_type".
(TLS_TLS, TLS_GD_LD, TLS_LD, TLS_TPREL, TLS_DTPREL,
TLS_EXPLICIT): Define.
(struct ppc_link_hash_table): Add tls_sec, tls_get_addr, tlsld_got.
(link_hash_newfunc): Init new fields.
(ppc64_elf_link_hash_table_create): Likewise.  Set init_relcount and
init_offset to NULL.
(ppc64_elf_copy_indirect_symbol): Copy got and plt info.  Don't call
_bfd_elf_link_hash_copy_indirect, rather insert relevant code from
there.
(update_local_sym_info, update_plt_info): New functions.
(ppc64_elf_check_relocs): Use them.  Handle TLS relocs.  Adjust GOT
handling to use got.glist rather than got.refcount.  Likewise for PLT.
(ppc64_elf_gc_sweep_hook): Handle TLS relocs, new GOT and PLT lists.
(func_desc_adjust): Adjust for new PLT list.
(ppc64_elf_adjust_dynamic_symbol): Likewise.
(get_sym_h, get_tls_type): New functions.
(ppc64_elf_edit_opd): Remove unused variable.  Use get_sym_h.
(ppc64_elf_tls_optimize): New function.
(allocate_dynrelocs): Adjust for new PLT and GOT lists.  Allocate
TLS relocs.
(ppc64_elf_size_dynamic_sections): Likewise.
(ppc_type_of_stub): Adjust for new PLT list.
(ppc_build_one_stub): Likewise.
(ppc64_elf_size_stubs): Likewise.  Use get_sym_h.  Treat __tls_get_addr
calls specially.
(ppc64_elf_relocate_section): Adjust for new GOT and PLT lists.  Handle
TLS relocs.  Report local syms using bfd_elf_local_sym_name.  Don't
init GOT entries that have a reloc.  Generate GOT relocs here..
(ppc64_elf_finish_dynamic_symbol): ..not here.  Adjust for PLT list.
* elf64-ppc.h (ppc64_elf_tls_optimize): Declare.

21 years ago * ppc.h: Add TLS relocs. Format.
amodra [Tue, 4 Feb 2003 14:48:35 +0000 (14:48 +0000)]
* ppc.h: Add TLS relocs.  Format.
* ppc64.h: Likewise.

21 years ago * rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
schwab [Tue, 4 Feb 2003 14:31:04 +0000 (14:31 +0000)]
* rddbg.c (read_section_stabs_debugging_info): Cast ptrdiff_t to
long and use %ld in printf format.

21 years ago * elf32-m68k.c (elf_m68k_hash_entry): Define.
schwab [Tue, 4 Feb 2003 13:23:40 +0000 (13:23 +0000)]
* elf32-m68k.c (elf_m68k_hash_entry): Define.
(elf_m68k_link_hash_traverse): Remove.
(elf_m68k_link_hash_newfunc): Use struct bfd_hash_entry and
elf_m68k_hash_entry instead of struct elf_m68k_link_hash_entry to
reduce casting.
(elf_m68k_check_relocs): Use elf_m68k_hash_entry instead of
casting.
(elf_m68k_size_dynamic_sections): Use elf_link_hash_traverse
instead of elf_m68k_link_hash_traverse.
(elf_m68k_discard_copies): Change first parameter to pointer to
struct elf_link_hash_entry and use elf_m68k_hash_entry when struct
elf_m68k_link_hash_entry is needed.

21 years ago * elf-bfd.h (struct got_entry, struct plt_entry): Forward declare.
amodra [Tue, 4 Feb 2003 12:49:56 +0000 (12:49 +0000)]
* elf-bfd.h (struct got_entry, struct plt_entry): Forward declare.
(struct elf_link_hash_entry): Add "glist" and "plist" fields to
"got" union, and declare as gotplt_union.  Use gotplt_uinion for
"plt" field.
(struct elf_link_hash_table): Make "init_refcount" a gotplt_union.
Add "init_offset" field.
(struct elf_obj_tdata <local_got>): Add "struct got_entry **" to union.
(elf_local_got_ents): Declare.
* elf.c (_bfd_elf_link_hash_newfunc): Adjust initialization of "got"
and "plt".
(_bfd_elf_link_hash_hide_symbol): Use "init_offset".
(_bfd_elf_link_hash_table_init): Set "init_offset".
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set init_refcount
from init_offset.
(elf_adjust_dynamic_symbol): Set plt and got offsets using init_offset.

* elf.c (bfd_elf_local_sym_name): Split out from..
(group_signature): ..here.
* elf-bfd.h (bfd_elf_local_sym_name): Declare.

21 years agobfd
amodra [Tue, 4 Feb 2003 12:34:07 +0000 (12:34 +0000)]
bfd
* elf-bfd.h (enum elf_link_info_type): Remove.
(struct bfd_elf_section_data): Move sec_info_type, use_rela_p fields
to struct sec.  Remove linkonce_p field.
(elf_linkonce_p): Delete.
(elf_discarded_section): Update for sec_info_type change.
* section.c (struct sec): Add sec_info_type, use_rela_p, has_tls_reloc,
flag11, flag12, flag13, flag14, flag15, flag16, flag20, flag24.
(ELF_INFO_TYPE_NONE): Define.
(ELF_INFO_TYPE_STABS): Define.
(ELF_INFO_TYPE_MERGE): Define.
(ELF_INFO_TYPE_EH_FRAME): Define.
(ELF_INFO_TYPE_JUST_SYMS): Define.
(STD_SECTION): Update struct sec initializer.
* ecoff.c (bfd_debug_section): Likewise.
* elf.c: Likewise.  Update occurrences of sec_info_type and use_rela_p.
* elflink.h: Likewise.
* elf-eh-frame.c: Likewise.
* elf64-alpha.c: Likewise.
* elfxx-ia64.c: Likewise.
* elfxx-mips.c: Likewise.
* bfd-in2.h: Regenerate.

* elf32-sparc.c (sec_do_relax): Use elf_section_data macro rather than
referring to used_by_bfd.
* elf64-sparc.c (sec_do_relax): Likewise.
* elf64-mmix.c (mmix_elf_section_data): Likewise.
* elfxx-mips.c (mips_elf_section_data): Likewise.
* ieee.c (ieee_slurp_section_data): Use ieee_per_section macro.
(ieee_get_section_contents): Likewise.
(ieee_new_section_hook): Formatting.
(ieee_canonicalize_reloc): Remove commented out code.
* mmo.c (mmo_section_data): Define.  Use throughout file.
* oasys.c (oasys_get_section_contents): Use oasys_per_section macro.

gas
* config/obj-elf.c (obj_elf_change_section): Set SEC_LINK_ONCE and
SEC_LINK_DUPLICATES_DISCARD directly rather than using elf_linkonce_p.

21 years ago2003-02-03 Martin M. Hunt <hunt@redhat.com>
hunt [Tue, 4 Feb 2003 08:03:09 +0000 (08:03 +0000)]
2003-02-03  Martin M. Hunt  <hunt@redhat.com>

* library/targetselection.itb (TargetSelection::build_win): Remove duplicate label.

21 years ago2003-02-03 Martin M. Hunt <hunt@redhat.com>
hunt [Tue, 4 Feb 2003 07:43:32 +0000 (07:43 +0000)]
2003-02-03  Martin M. Hunt  <hunt@redhat.com>

        * library/globalpref.itb, library/mempref.itb, library/srcpref.itb,
        library/srcwin.itb, library/targetselection.itb, library/tracedlg.tcl:
        Set background color of comboboxes to Colors(textbg).

        * library/main.tcl: Load combobox version 2.2.

        * library/prefs.tcl: Minor optimization. Change order of main_names
        to have the most common, "main", first.

21 years ago2003-02-03 Martin M. Hunt <hunt@redhat.com>
hunt [Tue, 4 Feb 2003 07:33:38 +0000 (07:33 +0000)]
2003-02-03  Martin M. Hunt  <hunt@redhat.com>

* library/combobox.tcl: Import combobox 2.2.1
* library/pkgIndex.tcl: Change combobox version to 2.2.1.

21 years ago2003-02-03 Martin M. Hunt <hunt@redhat.com>
hunt [Tue, 4 Feb 2003 07:20:02 +0000 (07:20 +0000)]
2003-02-03  Martin M. Hunt  <hunt@redhat.com>

* library/targetselection.itb (TargetSelection::port_list): Keep
checking ports on Windows until we can open no more. Replaces
fixed limit of 9.

21 years ago2003-02-03 Martin M. Hunt <hunt@redhat.com>
hunt [Tue, 4 Feb 2003 07:15:49 +0000 (07:15 +0000)]
2003-02-03  Martin M. Hunt  <hunt@redhat.com>

* library/session.tcl (_recreate_bps): Catch errors.

21 years ago2003-02-03 Martin M. Hunt <hunt@redhat.com>
hunt [Tue, 4 Feb 2003 07:12:25 +0000 (07:12 +0000)]
2003-02-03  Martin M. Hunt  <hunt@redhat.com>

* library/interface.tcl (gdbtk_locate_main): Rewrite for efficiency.
No longer uses gdb_search.  Caches result.
(initialize_gdbtk): Initialize gdb_locate_main cache.
* library/main.tcl: Call initialize_gdbtk after loading prefs.

21 years agoEliminate most unneeded this-> pointers throughout.
cgf [Tue, 4 Feb 2003 03:01:16 +0000 (03:01 +0000)]
Eliminate most unneeded this-> pointers throughout.

21 years agomerge from gcc
dj [Tue, 4 Feb 2003 02:13:39 +0000 (02:13 +0000)]
merge from gcc

21 years ago2003-02-03 David Carlton <carlton@math.stanford.edu>
carlton [Tue, 4 Feb 2003 01:09:03 +0000 (01:09 +0000)]
2003-02-03  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
'might_kfail' arg.
KFAIL some of the continue_to_bp_overloaded calls, according to
PR c++/1025.

21 years ago * gas/cris/rd-dw2-1.d: Adjust for dwarf2 directory table change.
hp [Tue, 4 Feb 2003 00:01:52 +0000 (00:01 +0000)]
* gas/cris/rd-dw2-1.d: Adjust for dwarf2 directory table change.

21 years ago*** empty log message ***
gdbadmin [Tue, 4 Feb 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-02-03 Frank Ch. Eigler <fche@redhat.com>
fche [Mon, 3 Feb 2003 23:07:50 +0000 (23:07 +0000)]
2003-02-03  Frank Ch. Eigler  <fche@redhat.com>

* sid-cpu.scm (-gen-sfrag-engine-fn): Generate more hygienic C++.

21 years agodaily update
amodra [Mon, 3 Feb 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 3 Feb 2003 21:29:45 +0000 (21:29 +0000)]
2003-02-03  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
        buffer based on the precision, after we have processed the input value
        in a local buffer and know its relative magnitude.

21 years agoUse a single, consistent representation for an empty minimal
jimb [Mon, 3 Feb 2003 20:39:40 +0000 (20:39 +0000)]
Use a single, consistent representation for an empty minimal
symbol table in an objfile.
* objfiles.c (terminate_minimal_symbol_table): New function.
(allocate_objfile): Call it.
* objfiles.h (terminate_minimal_symbol_table): New declaration.
(ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
non-NULL.
* minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
objfile has minimal symbols, compare minimal_symbol_count to zero,
instead of comparing msymbols with NULL.
* objfiles.c (have_minimal_symbols): Same.
* solib-sunos.c (solib_add_common_symbols): Call
terminate_minimal_symbol_table.
* symfile.c (reread_symbols): Same.

21 years ago * s390-tdep.c (s390_address_class_type_flags)
kevinb [Mon, 3 Feb 2003 20:35:44 +0000 (20:35 +0000)]
* s390-tdep.c (s390_address_class_type_flags)
(s390_address_class_type_flags_to_name)
(s390_address_class_name_to_type_flags): New functions.
(s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.

21 years ago2003-02-03 Michael Snyder <msnyder@redhat.com>
msnyder [Mon, 3 Feb 2003 20:03:00 +0000 (20:03 +0000)]
2003-02-03  Michael Snyder  <msnyder@redhat.com>

* arm-tdep.c: Fix spell-o in comment.

21 years ago * emultempl/elf32.em: Move gld${EMULATION_NAME}_add_sysroot
drow [Mon, 3 Feb 2003 17:47:23 +0000 (17:47 +0000)]
* emultempl/elf32.em: Move gld${EMULATION_NAME}_add_sysroot
outside of GNU/Linux conditional.