This commit is contained in:
Giacomo Tesio 2018-11-26 22:08:58 +01:00
commit 85e6cabc69
1687 changed files with 52300 additions and 24780 deletions

View File

@ -760,9 +760,9 @@ SUCH DAMAGE.
SUCH DAMAGE.
(35) - ARM Ltd (arm and thumb variant targets only)
(35) - Arm Ltd
Copyright (c) 2009-2015 ARM Ltd
Copyright (c) 2009-2018 Arm Ltd
All rights reserved.
Redistribution and use in source and binary forms, with or without
@ -1140,7 +1140,7 @@ Copyright (c) 2017 SiFive Inc. All rights reserved.
This copyrighted material is made available to anyone wishing to use,
modify, copy, or redistribute it subject to the terms and conditions
of the BSD License. This program is distributed in the hope that
of the FreeBSD License. This program is distributed in the hope that
it will be useful, but WITHOUT ANY WARRANTY expressed or implied,
including the implied warranties of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. A copy of this license is available at

View File

@ -55307,7 +55307,6 @@ all-build-m4: maybe-all-build-texinfo
all-build-fixincludes: maybe-all-build-libiberty
all-build-libcpp: maybe-all-build-libiberty
configure-gcc: maybe-configure-intl
configure-stage1-gcc: maybe-configure-stage1-intl
configure-stage2-gcc: maybe-configure-stage2-intl
configure-stage3-gcc: maybe-configure-stage3-intl
@ -55317,7 +55316,6 @@ configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
configure-stageautoprofile-gcc: maybe-configure-stageautoprofile-intl
configure-stageautofeedback-gcc: maybe-configure-stageautofeedback-intl
configure-gcc: maybe-all-gmp
configure-stage1-gcc: maybe-all-stage1-gmp
configure-stage2-gcc: maybe-all-stage2-gmp
configure-stage3-gcc: maybe-all-stage3-gmp
@ -55327,7 +55325,6 @@ configure-stagefeedback-gcc: maybe-all-stagefeedback-gmp
configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gmp
configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gmp
configure-gcc: maybe-all-mpfr
configure-stage1-gcc: maybe-all-stage1-mpfr
configure-stage2-gcc: maybe-all-stage2-mpfr
configure-stage3-gcc: maybe-all-stage3-mpfr
@ -55337,7 +55334,6 @@ configure-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
configure-gcc: maybe-all-mpc
configure-stage1-gcc: maybe-all-stage1-mpc
configure-stage2-gcc: maybe-all-stage2-mpc
configure-stage3-gcc: maybe-all-stage3-mpc
@ -55347,7 +55343,6 @@ configure-stagefeedback-gcc: maybe-all-stagefeedback-mpc
configure-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
configure-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
configure-gcc: maybe-all-isl
configure-stage1-gcc: maybe-all-stage1-isl
configure-stage2-gcc: maybe-all-stage2-isl
configure-stage3-gcc: maybe-all-stage3-isl
@ -55357,7 +55352,6 @@ configure-stagefeedback-gcc: maybe-all-stagefeedback-isl
configure-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
configure-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
configure-gcc: maybe-all-lto-plugin
configure-stage1-gcc: maybe-all-stage1-lto-plugin
configure-stage2-gcc: maybe-all-stage2-lto-plugin
configure-stage3-gcc: maybe-all-stage3-lto-plugin
@ -55367,7 +55361,6 @@ configure-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
configure-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
configure-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
configure-gcc: maybe-all-binutils
configure-stage1-gcc: maybe-all-stage1-binutils
configure-stage2-gcc: maybe-all-stage2-binutils
configure-stage3-gcc: maybe-all-stage3-binutils
@ -55377,7 +55370,6 @@ configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
configure-stageautoprofile-gcc: maybe-all-stageautoprofile-binutils
configure-stageautofeedback-gcc: maybe-all-stageautofeedback-binutils
configure-gcc: maybe-all-gas
configure-stage1-gcc: maybe-all-stage1-gas
configure-stage2-gcc: maybe-all-stage2-gas
configure-stage3-gcc: maybe-all-stage3-gas
@ -55387,7 +55379,6 @@ configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gas
configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gas
configure-gcc: maybe-all-ld
configure-stage1-gcc: maybe-all-stage1-ld
configure-stage2-gcc: maybe-all-stage2-ld
configure-stage3-gcc: maybe-all-stage3-ld
@ -55397,7 +55388,6 @@ configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
configure-stageautoprofile-gcc: maybe-all-stageautoprofile-ld
configure-stageautofeedback-gcc: maybe-all-stageautofeedback-ld
configure-gcc: maybe-all-gold
configure-stage1-gcc: maybe-all-stage1-gold
configure-stage2-gcc: maybe-all-stage2-gold
configure-stage3-gcc: maybe-all-stage3-gold
@ -55407,7 +55397,6 @@ configure-stagefeedback-gcc: maybe-all-stagefeedback-gold
configure-stageautoprofile-gcc: maybe-all-stageautoprofile-gold
configure-stageautofeedback-gcc: maybe-all-stageautofeedback-gold
configure-gcc: maybe-all-libelf
configure-stage1-gcc: maybe-all-stage1-libelf
configure-stage2-gcc: maybe-all-stage2-libelf
configure-stage3-gcc: maybe-all-stage3-libelf
@ -55417,7 +55406,6 @@ configure-stagefeedback-gcc: maybe-all-stagefeedback-libelf
configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libelf
configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libelf
configure-gcc: maybe-all-libiconv
configure-stage1-gcc: maybe-all-stage1-libiconv
configure-stage2-gcc: maybe-all-stage2-libiconv
configure-stage3-gcc: maybe-all-stage3-libiconv
@ -55427,7 +55415,6 @@ configure-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
configure-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
configure-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
all-gcc: all-libiberty
all-stage1-gcc: all-stage1-libiberty
all-stage2-gcc: all-stage2-libiberty
all-stage3-gcc: all-stage3-libiberty
@ -55437,7 +55424,6 @@ all-stagefeedback-gcc: all-stagefeedback-libiberty
all-stageautoprofile-gcc: all-stageautoprofile-libiberty
all-stageautofeedback-gcc: all-stageautofeedback-libiberty
all-gcc: maybe-all-intl
all-stage1-gcc: maybe-all-stage1-intl
all-stage2-gcc: maybe-all-stage2-intl
all-stage3-gcc: maybe-all-stage3-intl
@ -55447,7 +55433,6 @@ all-stagefeedback-gcc: maybe-all-stagefeedback-intl
all-stageautoprofile-gcc: maybe-all-stageautoprofile-intl
all-stageautofeedback-gcc: maybe-all-stageautofeedback-intl
all-gcc: maybe-all-mpfr
all-stage1-gcc: maybe-all-stage1-mpfr
all-stage2-gcc: maybe-all-stage2-mpfr
all-stage3-gcc: maybe-all-stage3-mpfr
@ -55457,7 +55442,6 @@ all-stagefeedback-gcc: maybe-all-stagefeedback-mpfr
all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpfr
all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpfr
all-gcc: maybe-all-mpc
all-stage1-gcc: maybe-all-stage1-mpc
all-stage2-gcc: maybe-all-stage2-mpc
all-stage3-gcc: maybe-all-stage3-mpc
@ -55467,7 +55451,6 @@ all-stagefeedback-gcc: maybe-all-stagefeedback-mpc
all-stageautoprofile-gcc: maybe-all-stageautoprofile-mpc
all-stageautofeedback-gcc: maybe-all-stageautofeedback-mpc
all-gcc: maybe-all-isl
all-stage1-gcc: maybe-all-stage1-isl
all-stage2-gcc: maybe-all-stage2-isl
all-stage3-gcc: maybe-all-stage3-isl
@ -55477,7 +55460,6 @@ all-stagefeedback-gcc: maybe-all-stagefeedback-isl
all-stageautoprofile-gcc: maybe-all-stageautoprofile-isl
all-stageautofeedback-gcc: maybe-all-stageautofeedback-isl
all-gcc: maybe-all-build-texinfo
all-stage1-gcc: maybe-all-build-texinfo
all-stage2-gcc: maybe-all-build-texinfo
all-stage3-gcc: maybe-all-build-texinfo
@ -55487,7 +55469,6 @@ all-stagefeedback-gcc: maybe-all-build-texinfo
all-stageautoprofile-gcc: maybe-all-build-texinfo
all-stageautofeedback-gcc: maybe-all-build-texinfo
all-gcc: maybe-all-build-bison
all-stage1-gcc: maybe-all-build-bison
all-stage2-gcc: maybe-all-build-bison
all-stage3-gcc: maybe-all-build-bison
@ -55497,7 +55478,6 @@ all-stagefeedback-gcc: maybe-all-build-bison
all-stageautoprofile-gcc: maybe-all-build-bison
all-stageautofeedback-gcc: maybe-all-build-bison
all-gcc: maybe-all-build-flex
all-stage1-gcc: maybe-all-build-flex
all-stage2-gcc: maybe-all-build-flex
all-stage3-gcc: maybe-all-build-flex
@ -55507,7 +55487,6 @@ all-stagefeedback-gcc: maybe-all-build-flex
all-stageautoprofile-gcc: maybe-all-build-flex
all-stageautofeedback-gcc: maybe-all-build-flex
all-gcc: maybe-all-build-libiberty
all-stage1-gcc: maybe-all-build-libiberty
all-stage2-gcc: maybe-all-build-libiberty
all-stage3-gcc: maybe-all-build-libiberty
@ -55517,7 +55496,6 @@ all-stagefeedback-gcc: maybe-all-build-libiberty
all-stageautoprofile-gcc: maybe-all-build-libiberty
all-stageautofeedback-gcc: maybe-all-build-libiberty
all-gcc: maybe-all-build-fixincludes
all-stage1-gcc: maybe-all-build-fixincludes
all-stage2-gcc: maybe-all-build-fixincludes
all-stage3-gcc: maybe-all-build-fixincludes
@ -55527,7 +55505,6 @@ all-stagefeedback-gcc: maybe-all-build-fixincludes
all-stageautoprofile-gcc: maybe-all-build-fixincludes
all-stageautofeedback-gcc: maybe-all-build-fixincludes
all-gcc: maybe-all-build-libcpp
all-stage1-gcc: maybe-all-build-libcpp
all-stage2-gcc: maybe-all-build-libcpp
all-stage3-gcc: maybe-all-build-libcpp
@ -55537,7 +55514,6 @@ all-stagefeedback-gcc: maybe-all-build-libcpp
all-stageautoprofile-gcc: maybe-all-build-libcpp
all-stageautofeedback-gcc: maybe-all-build-libcpp
all-gcc: maybe-all-zlib
all-stage1-gcc: maybe-all-stage1-zlib
all-stage2-gcc: maybe-all-stage2-zlib
all-stage3-gcc: maybe-all-stage3-zlib
@ -55547,7 +55523,6 @@ all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
all-stageautoprofile-gcc: maybe-all-stageautoprofile-zlib
all-stageautofeedback-gcc: maybe-all-stageautofeedback-zlib
all-gcc: all-libbacktrace
all-stage1-gcc: all-stage1-libbacktrace
all-stage2-gcc: all-stage2-libbacktrace
all-stage3-gcc: all-stage3-libbacktrace
@ -55557,7 +55532,6 @@ all-stagefeedback-gcc: all-stagefeedback-libbacktrace
all-stageautoprofile-gcc: all-stageautoprofile-libbacktrace
all-stageautofeedback-gcc: all-stageautofeedback-libbacktrace
all-gcc: all-libcpp
all-stage1-gcc: all-stage1-libcpp
all-stage2-gcc: all-stage2-libcpp
all-stage3-gcc: all-stage3-libcpp
@ -55567,7 +55541,6 @@ all-stagefeedback-gcc: all-stagefeedback-libcpp
all-stageautoprofile-gcc: all-stageautoprofile-libcpp
all-stageautofeedback-gcc: all-stageautofeedback-libcpp
all-gcc: all-libdecnumber
all-stage1-gcc: all-stage1-libdecnumber
all-stage2-gcc: all-stage2-libdecnumber
all-stage3-gcc: all-stage3-libdecnumber
@ -55577,7 +55550,6 @@ all-stagefeedback-gcc: all-stagefeedback-libdecnumber
all-stageautoprofile-gcc: all-stageautoprofile-libdecnumber
all-stageautofeedback-gcc: all-stageautofeedback-libdecnumber
all-gcc: maybe-all-libiberty
all-stage1-gcc: maybe-all-stage1-libiberty
all-stage2-gcc: maybe-all-stage2-libiberty
all-stage3-gcc: maybe-all-stage3-libiberty
@ -55587,7 +55559,6 @@ all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiberty
all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiberty
all-gcc: maybe-all-fixincludes
all-stage1-gcc: maybe-all-stage1-fixincludes
all-stage2-gcc: maybe-all-stage2-fixincludes
all-stage3-gcc: maybe-all-stage3-fixincludes
@ -55597,7 +55568,6 @@ all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
all-stageautoprofile-gcc: maybe-all-stageautoprofile-fixincludes
all-stageautofeedback-gcc: maybe-all-stageautofeedback-fixincludes
all-gcc: maybe-all-lto-plugin
all-stage1-gcc: maybe-all-stage1-lto-plugin
all-stage2-gcc: maybe-all-stage2-lto-plugin
all-stage3-gcc: maybe-all-stage3-lto-plugin
@ -55607,7 +55577,6 @@ all-stagefeedback-gcc: maybe-all-stagefeedback-lto-plugin
all-stageautoprofile-gcc: maybe-all-stageautoprofile-lto-plugin
all-stageautofeedback-gcc: maybe-all-stageautofeedback-lto-plugin
all-gcc: maybe-all-libiconv
all-stage1-gcc: maybe-all-stage1-libiconv
all-stage2-gcc: maybe-all-stage2-libiconv
all-stage3-gcc: maybe-all-stage3-libiconv
@ -55617,7 +55586,6 @@ all-stagefeedback-gcc: maybe-all-stagefeedback-libiconv
all-stageautoprofile-gcc: maybe-all-stageautoprofile-libiconv
all-stageautofeedback-gcc: maybe-all-stageautofeedback-libiconv
info-gcc: maybe-all-build-libiberty
info-stage1-gcc: maybe-all-build-libiberty
info-stage2-gcc: maybe-all-build-libiberty
info-stage3-gcc: maybe-all-build-libiberty
@ -55627,7 +55595,6 @@ info-stagefeedback-gcc: maybe-all-build-libiberty
info-stageautoprofile-gcc: maybe-all-build-libiberty
info-stageautofeedback-gcc: maybe-all-build-libiberty
dvi-gcc: maybe-all-build-libiberty
dvi-stage1-gcc: maybe-all-build-libiberty
dvi-stage2-gcc: maybe-all-build-libiberty
dvi-stage3-gcc: maybe-all-build-libiberty
@ -55637,7 +55604,6 @@ dvi-stagefeedback-gcc: maybe-all-build-libiberty
dvi-stageautoprofile-gcc: maybe-all-build-libiberty
dvi-stageautofeedback-gcc: maybe-all-build-libiberty
pdf-gcc: maybe-all-build-libiberty
pdf-stage1-gcc: maybe-all-build-libiberty
pdf-stage2-gcc: maybe-all-build-libiberty
pdf-stage3-gcc: maybe-all-build-libiberty
@ -55647,7 +55613,6 @@ pdf-stagefeedback-gcc: maybe-all-build-libiberty
pdf-stageautoprofile-gcc: maybe-all-build-libiberty
pdf-stageautofeedback-gcc: maybe-all-build-libiberty
html-gcc: maybe-all-build-libiberty
html-stage1-gcc: maybe-all-build-libiberty
html-stage2-gcc: maybe-all-build-libiberty
html-stage3-gcc: maybe-all-build-libiberty
@ -55661,7 +55626,6 @@ install-gcc: maybe-install-lto-plugin
install-strip-gcc: maybe-install-strip-fixincludes
install-strip-gcc: maybe-install-strip-lto-plugin
configure-libcpp: configure-libiberty
configure-stage1-libcpp: configure-stage1-libiberty
configure-stage2-libcpp: configure-stage2-libiberty
configure-stage3-libcpp: configure-stage3-libiberty
@ -55671,7 +55635,6 @@ configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
configure-stageautoprofile-libcpp: configure-stageautoprofile-libiberty
configure-stageautofeedback-libcpp: configure-stageautofeedback-libiberty
configure-libcpp: maybe-configure-intl
configure-stage1-libcpp: maybe-configure-stage1-intl
configure-stage2-libcpp: maybe-configure-stage2-intl
configure-stage3-libcpp: maybe-configure-stage3-intl
@ -55681,7 +55644,6 @@ configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
configure-stageautoprofile-libcpp: maybe-configure-stageautoprofile-intl
configure-stageautofeedback-libcpp: maybe-configure-stageautofeedback-intl
configure-libcpp: maybe-all-libiconv
configure-stage1-libcpp: maybe-all-stage1-libiconv
configure-stage2-libcpp: maybe-all-stage2-libiconv
configure-stage3-libcpp: maybe-all-stage3-libiconv
@ -55691,7 +55653,6 @@ configure-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
configure-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
configure-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
all-libcpp: all-libiberty
all-stage1-libcpp: all-stage1-libiberty
all-stage2-libcpp: all-stage2-libiberty
all-stage3-libcpp: all-stage3-libiberty
@ -55701,7 +55662,6 @@ all-stagefeedback-libcpp: all-stagefeedback-libiberty
all-stageautoprofile-libcpp: all-stageautoprofile-libiberty
all-stageautofeedback-libcpp: all-stageautofeedback-libiberty
all-libcpp: maybe-all-intl
all-stage1-libcpp: maybe-all-stage1-intl
all-stage2-libcpp: maybe-all-stage2-intl
all-stage3-libcpp: maybe-all-stage3-intl
@ -55711,7 +55671,6 @@ all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
all-stageautoprofile-libcpp: maybe-all-stageautoprofile-intl
all-stageautofeedback-libcpp: maybe-all-stageautofeedback-intl
all-libcpp: maybe-all-libiconv
all-stage1-libcpp: maybe-all-stage1-libiconv
all-stage2-libcpp: maybe-all-stage2-libiconv
all-stage3-libcpp: maybe-all-stage3-libiconv
@ -55721,7 +55680,6 @@ all-stagefeedback-libcpp: maybe-all-stagefeedback-libiconv
all-stageautoprofile-libcpp: maybe-all-stageautoprofile-libiconv
all-stageautofeedback-libcpp: maybe-all-stageautofeedback-libiconv
all-fixincludes: maybe-all-libiberty
all-stage1-fixincludes: maybe-all-stage1-libiberty
all-stage2-fixincludes: maybe-all-stage2-libiberty
all-stage3-fixincludes: maybe-all-stage3-libiberty
@ -55731,9 +55689,7 @@ all-stagefeedback-fixincludes: maybe-all-stagefeedback-libiberty
all-stageautoprofile-fixincludes: maybe-all-stageautoprofile-libiberty
all-stageautofeedback-fixincludes: maybe-all-stageautofeedback-libiberty
all-gnattools: maybe-all-target-libada
all-gnattools: maybe-all-target-libstdc++-v3
all-lto-plugin: maybe-all-libiberty
all-stage1-lto-plugin: maybe-all-stage1-libiberty
all-stage2-lto-plugin: maybe-all-stage2-libiberty
all-stage3-lto-plugin: maybe-all-stage3-libiberty
@ -55743,7 +55699,6 @@ all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty
all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty
all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty
all-lto-plugin: maybe-all-libiberty-linker-plugin
all-stage1-lto-plugin: maybe-all-stage1-libiberty-linker-plugin
all-stage2-lto-plugin: maybe-all-stage2-libiberty-linker-plugin
all-stage3-lto-plugin: maybe-all-stage3-libiberty-linker-plugin
@ -55752,12 +55707,8 @@ all-stageprofile-lto-plugin: maybe-all-stageprofile-libiberty-linker-plugin
all-stagefeedback-lto-plugin: maybe-all-stagefeedback-libiberty-linker-plugin
all-stageautoprofile-lto-plugin: maybe-all-stageautoprofile-libiberty-linker-plugin
all-stageautofeedback-lto-plugin: maybe-all-stageautofeedback-libiberty-linker-plugin
configure-libcc1: maybe-configure-gcc
all-libcc1: maybe-all-gcc
all-gotools: maybe-all-target-libgo
all-utils: maybe-all-libiberty
configure-intl: maybe-all-libiconv
configure-stage1-intl: maybe-all-stage1-libiconv
configure-stage2-intl: maybe-all-stage2-libiconv
configure-stage3-intl: maybe-all-stage3-libiconv
@ -55767,7 +55718,6 @@ configure-stagefeedback-intl: maybe-all-stagefeedback-libiconv
configure-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
configure-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
configure-mpfr: maybe-all-gmp
configure-stage1-mpfr: maybe-all-stage1-gmp
configure-stage2-mpfr: maybe-all-stage2-gmp
configure-stage3-mpfr: maybe-all-stage3-gmp
@ -55777,7 +55727,6 @@ configure-stagefeedback-mpfr: maybe-all-stagefeedback-gmp
configure-stageautoprofile-mpfr: maybe-all-stageautoprofile-gmp
configure-stageautofeedback-mpfr: maybe-all-stageautofeedback-gmp
configure-mpc: maybe-all-mpfr
configure-stage1-mpc: maybe-all-stage1-mpfr
configure-stage2-mpc: maybe-all-stage2-mpfr
configure-stage3-mpc: maybe-all-stage3-mpfr
@ -55787,7 +55736,6 @@ configure-stagefeedback-mpc: maybe-all-stagefeedback-mpfr
configure-stageautoprofile-mpc: maybe-all-stageautoprofile-mpfr
configure-stageautofeedback-mpc: maybe-all-stageautofeedback-mpfr
configure-isl: maybe-all-gmp
configure-stage1-isl: maybe-all-stage1-gmp
configure-stage2-isl: maybe-all-stage2-gmp
configure-stage3-isl: maybe-all-stage3-gmp
@ -55797,7 +55745,6 @@ configure-stagefeedback-isl: maybe-all-stagefeedback-gmp
configure-stageautoprofile-isl: maybe-all-stageautoprofile-gmp
configure-stageautofeedback-isl: maybe-all-stageautofeedback-gmp
all-intl: maybe-all-libiconv
all-stage1-intl: maybe-all-stage1-libiconv
all-stage2-intl: maybe-all-stage2-libiconv
all-stage3-intl: maybe-all-stage3-libiconv
@ -55806,17 +55753,10 @@ all-stageprofile-intl: maybe-all-stageprofile-libiconv
all-stagefeedback-intl: maybe-all-stagefeedback-libiconv
all-stageautoprofile-intl: maybe-all-stageautoprofile-libiconv
all-stageautofeedback-intl: maybe-all-stageautofeedback-libiconv
configure-gdb: maybe-all-intl
configure-gdb: maybe-configure-sim
configure-gdb: maybe-all-bfd
configure-gdb: maybe-all-libiconv
all-gdb: maybe-all-libiberty
all-gdb: maybe-all-libiconv
all-gdb: maybe-all-opcodes
all-gdb: maybe-all-readline
all-gdb: maybe-all-build-bison
all-gdb: maybe-all-sim
all-gdb: maybe-all-libdecnumber
all-gdb: maybe-all-libtermcap
configure-libgui: maybe-configure-tcl
configure-libgui: maybe-configure-tk
@ -55824,7 +55764,6 @@ all-libgui: maybe-all-tcl
all-libgui: maybe-all-tk
all-libgui: maybe-all-itcl
configure-bfd: configure-libiberty
configure-stage1-bfd: configure-stage1-libiberty
configure-stage2-bfd: configure-stage2-libiberty
configure-stage3-bfd: configure-stage3-libiberty
@ -55834,7 +55773,6 @@ configure-stagefeedback-bfd: configure-stagefeedback-libiberty
configure-stageautoprofile-bfd: configure-stageautoprofile-libiberty
configure-stageautofeedback-bfd: configure-stageautofeedback-libiberty
configure-bfd: maybe-configure-intl
configure-stage1-bfd: maybe-configure-stage1-intl
configure-stage2-bfd: maybe-configure-stage2-intl
configure-stage3-bfd: maybe-configure-stage3-intl
@ -55844,7 +55782,6 @@ configure-stagefeedback-bfd: maybe-configure-stagefeedback-intl
configure-stageautoprofile-bfd: maybe-configure-stageautoprofile-intl
configure-stageautofeedback-bfd: maybe-configure-stageautofeedback-intl
all-bfd: maybe-all-libiberty
all-stage1-bfd: maybe-all-stage1-libiberty
all-stage2-bfd: maybe-all-stage2-libiberty
all-stage3-bfd: maybe-all-stage3-libiberty
@ -55854,7 +55791,6 @@ all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
all-stageautoprofile-bfd: maybe-all-stageautoprofile-libiberty
all-stageautofeedback-bfd: maybe-all-stageautofeedback-libiberty
all-bfd: maybe-all-intl
all-stage1-bfd: maybe-all-stage1-intl
all-stage2-bfd: maybe-all-stage2-intl
all-stage3-bfd: maybe-all-stage3-intl
@ -55864,7 +55800,6 @@ all-stagefeedback-bfd: maybe-all-stagefeedback-intl
all-stageautoprofile-bfd: maybe-all-stageautoprofile-intl
all-stageautofeedback-bfd: maybe-all-stageautofeedback-intl
all-bfd: maybe-all-zlib
all-stage1-bfd: maybe-all-stage1-zlib
all-stage2-bfd: maybe-all-stage2-zlib
all-stage3-bfd: maybe-all-stage3-zlib
@ -55874,7 +55809,6 @@ all-stagefeedback-bfd: maybe-all-stagefeedback-zlib
all-stageautoprofile-bfd: maybe-all-stageautoprofile-zlib
all-stageautofeedback-bfd: maybe-all-stageautofeedback-zlib
configure-opcodes: configure-libiberty
configure-stage1-opcodes: configure-stage1-libiberty
configure-stage2-opcodes: configure-stage2-libiberty
configure-stage3-opcodes: configure-stage3-libiberty
@ -55884,7 +55818,6 @@ configure-stagefeedback-opcodes: configure-stagefeedback-libiberty
configure-stageautoprofile-opcodes: configure-stageautoprofile-libiberty
configure-stageautofeedback-opcodes: configure-stageautofeedback-libiberty
all-opcodes: maybe-all-libiberty
all-stage1-opcodes: maybe-all-stage1-libiberty
all-stage2-opcodes: maybe-all-stage2-libiberty
all-stage3-opcodes: maybe-all-stage3-libiberty
@ -55894,7 +55827,6 @@ all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
configure-binutils: maybe-configure-intl
configure-stage1-binutils: maybe-configure-stage1-intl
configure-stage2-binutils: maybe-configure-stage2-intl
configure-stage3-binutils: maybe-configure-stage3-intl
@ -55904,7 +55836,6 @@ configure-stagefeedback-binutils: maybe-configure-stagefeedback-intl
configure-stageautoprofile-binutils: maybe-configure-stageautoprofile-intl
configure-stageautofeedback-binutils: maybe-configure-stageautofeedback-intl
all-binutils: maybe-all-libiberty
all-stage1-binutils: maybe-all-stage1-libiberty
all-stage2-binutils: maybe-all-stage2-libiberty
all-stage3-binutils: maybe-all-stage3-libiberty
@ -55914,7 +55845,6 @@ all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
all-stageautoprofile-binutils: maybe-all-stageautoprofile-libiberty
all-stageautofeedback-binutils: maybe-all-stageautofeedback-libiberty
all-binutils: maybe-all-opcodes
all-stage1-binutils: maybe-all-stage1-opcodes
all-stage2-binutils: maybe-all-stage2-opcodes
all-stage3-binutils: maybe-all-stage3-opcodes
@ -55924,7 +55854,6 @@ all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
all-stageautoprofile-binutils: maybe-all-stageautoprofile-opcodes
all-stageautofeedback-binutils: maybe-all-stageautofeedback-opcodes
all-binutils: maybe-all-bfd
all-stage1-binutils: maybe-all-stage1-bfd
all-stage2-binutils: maybe-all-stage2-bfd
all-stage3-binutils: maybe-all-stage3-bfd
@ -55934,7 +55863,6 @@ all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
all-stageautoprofile-binutils: maybe-all-stageautoprofile-bfd
all-stageautofeedback-binutils: maybe-all-stageautofeedback-bfd
all-binutils: maybe-all-build-flex
all-stage1-binutils: maybe-all-build-flex
all-stage2-binutils: maybe-all-build-flex
all-stage3-binutils: maybe-all-build-flex
@ -55944,7 +55872,6 @@ all-stagefeedback-binutils: maybe-all-build-flex
all-stageautoprofile-binutils: maybe-all-build-flex
all-stageautofeedback-binutils: maybe-all-build-flex
all-binutils: maybe-all-build-bison
all-stage1-binutils: maybe-all-build-bison
all-stage2-binutils: maybe-all-build-bison
all-stage3-binutils: maybe-all-build-bison
@ -55954,7 +55881,6 @@ all-stagefeedback-binutils: maybe-all-build-bison
all-stageautoprofile-binutils: maybe-all-build-bison
all-stageautofeedback-binutils: maybe-all-build-bison
all-binutils: maybe-all-intl
all-stage1-binutils: maybe-all-stage1-intl
all-stage2-binutils: maybe-all-stage2-intl
all-stage3-binutils: maybe-all-stage3-intl
@ -55964,7 +55890,6 @@ all-stagefeedback-binutils: maybe-all-stagefeedback-intl
all-stageautoprofile-binutils: maybe-all-stageautoprofile-intl
all-stageautofeedback-binutils: maybe-all-stageautofeedback-intl
all-binutils: maybe-all-gas
all-stage1-binutils: maybe-all-stage1-gas
all-stage2-binutils: maybe-all-stage2-gas
all-stage3-binutils: maybe-all-stage3-gas
@ -55978,7 +55903,6 @@ install-strip-binutils: maybe-install-strip-opcodes
install-opcodes: maybe-install-bfd
install-strip-opcodes: maybe-install-strip-bfd
configure-gas: maybe-configure-intl
configure-stage1-gas: maybe-configure-stage1-intl
configure-stage2-gas: maybe-configure-stage2-intl
configure-stage3-gas: maybe-configure-stage3-intl
@ -55988,7 +55912,6 @@ configure-stagefeedback-gas: maybe-configure-stagefeedback-intl
configure-stageautoprofile-gas: maybe-configure-stageautoprofile-intl
configure-stageautofeedback-gas: maybe-configure-stageautofeedback-intl
all-gas: maybe-all-libiberty
all-stage1-gas: maybe-all-stage1-libiberty
all-stage2-gas: maybe-all-stage2-libiberty
all-stage3-gas: maybe-all-stage3-libiberty
@ -55998,7 +55921,6 @@ all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
all-stageautoprofile-gas: maybe-all-stageautoprofile-libiberty
all-stageautofeedback-gas: maybe-all-stageautofeedback-libiberty
all-gas: maybe-all-opcodes
all-stage1-gas: maybe-all-stage1-opcodes
all-stage2-gas: maybe-all-stage2-opcodes
all-stage3-gas: maybe-all-stage3-opcodes
@ -56008,7 +55930,6 @@ all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
all-stageautoprofile-gas: maybe-all-stageautoprofile-opcodes
all-stageautofeedback-gas: maybe-all-stageautofeedback-opcodes
all-gas: maybe-all-bfd
all-stage1-gas: maybe-all-stage1-bfd
all-stage2-gas: maybe-all-stage2-bfd
all-stage3-gas: maybe-all-stage3-bfd
@ -56018,7 +55939,6 @@ all-stagefeedback-gas: maybe-all-stagefeedback-bfd
all-stageautoprofile-gas: maybe-all-stageautoprofile-bfd
all-stageautofeedback-gas: maybe-all-stageautofeedback-bfd
all-gas: maybe-all-intl
all-stage1-gas: maybe-all-stage1-intl
all-stage2-gas: maybe-all-stage2-intl
all-stage3-gas: maybe-all-stage3-intl
@ -56027,14 +55947,7 @@ all-stageprofile-gas: maybe-all-stageprofile-intl
all-stagefeedback-gas: maybe-all-stagefeedback-intl
all-stageautoprofile-gas: maybe-all-stageautoprofile-intl
all-stageautofeedback-gas: maybe-all-stageautofeedback-intl
configure-gprof: maybe-configure-intl
all-gprof: maybe-all-libiberty
all-gprof: maybe-all-bfd
all-gprof: maybe-all-opcodes
all-gprof: maybe-all-intl
all-gprof: maybe-all-gas
configure-ld: maybe-configure-intl
configure-stage1-ld: maybe-configure-stage1-intl
configure-stage2-ld: maybe-configure-stage2-intl
configure-stage3-ld: maybe-configure-stage3-intl
@ -56044,7 +55957,6 @@ configure-stagefeedback-ld: maybe-configure-stagefeedback-intl
configure-stageautoprofile-ld: maybe-configure-stageautoprofile-intl
configure-stageautofeedback-ld: maybe-configure-stageautofeedback-intl
all-ld: maybe-all-libiberty
all-stage1-ld: maybe-all-stage1-libiberty
all-stage2-ld: maybe-all-stage2-libiberty
all-stage3-ld: maybe-all-stage3-libiberty
@ -56054,7 +55966,6 @@ all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
all-stageautoprofile-ld: maybe-all-stageautoprofile-libiberty
all-stageautofeedback-ld: maybe-all-stageautofeedback-libiberty
all-ld: maybe-all-bfd
all-stage1-ld: maybe-all-stage1-bfd
all-stage2-ld: maybe-all-stage2-bfd
all-stage3-ld: maybe-all-stage3-bfd
@ -56064,7 +55975,6 @@ all-stagefeedback-ld: maybe-all-stagefeedback-bfd
all-stageautoprofile-ld: maybe-all-stageautoprofile-bfd
all-stageautofeedback-ld: maybe-all-stageautofeedback-bfd
all-ld: maybe-all-opcodes
all-stage1-ld: maybe-all-stage1-opcodes
all-stage2-ld: maybe-all-stage2-opcodes
all-stage3-ld: maybe-all-stage3-opcodes
@ -56074,7 +55984,6 @@ all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
all-stageautoprofile-ld: maybe-all-stageautoprofile-opcodes
all-stageautofeedback-ld: maybe-all-stageautofeedback-opcodes
all-ld: maybe-all-build-bison
all-stage1-ld: maybe-all-build-bison
all-stage2-ld: maybe-all-build-bison
all-stage3-ld: maybe-all-build-bison
@ -56084,7 +55993,6 @@ all-stagefeedback-ld: maybe-all-build-bison
all-stageautoprofile-ld: maybe-all-build-bison
all-stageautofeedback-ld: maybe-all-build-bison
all-ld: maybe-all-build-flex
all-stage1-ld: maybe-all-build-flex
all-stage2-ld: maybe-all-build-flex
all-stage3-ld: maybe-all-build-flex
@ -56094,7 +56002,6 @@ all-stagefeedback-ld: maybe-all-build-flex
all-stageautoprofile-ld: maybe-all-build-flex
all-stageautofeedback-ld: maybe-all-build-flex
all-ld: maybe-all-intl
all-stage1-ld: maybe-all-stage1-intl
all-stage2-ld: maybe-all-stage2-intl
all-stage3-ld: maybe-all-stage3-intl
@ -56104,7 +56011,6 @@ all-stagefeedback-ld: maybe-all-stagefeedback-intl
all-stageautoprofile-ld: maybe-all-stageautoprofile-intl
all-stageautofeedback-ld: maybe-all-stageautofeedback-intl
all-ld: maybe-all-gas
all-stage1-ld: maybe-all-stage1-gas
all-stage2-ld: maybe-all-stage2-gas
all-stage3-ld: maybe-all-stage3-gas
@ -56114,7 +56020,6 @@ all-stagefeedback-ld: maybe-all-stagefeedback-gas
all-stageautoprofile-ld: maybe-all-stageautoprofile-gas
all-stageautofeedback-ld: maybe-all-stageautofeedback-gas
all-ld: maybe-all-binutils
all-stage1-ld: maybe-all-stage1-binutils
all-stage2-ld: maybe-all-stage2-binutils
all-stage3-ld: maybe-all-stage3-binutils
@ -56126,7 +56031,6 @@ all-stageautofeedback-ld: maybe-all-stageautofeedback-binutils
install-ld: maybe-install-gold
install-strip-ld: maybe-install-strip-gold
configure-gold: maybe-configure-intl
configure-stage1-gold: maybe-configure-stage1-intl
configure-stage2-gold: maybe-configure-stage2-intl
configure-stage3-gold: maybe-configure-stage3-intl
@ -56136,7 +56040,6 @@ configure-stagefeedback-gold: maybe-configure-stagefeedback-intl
configure-stageautoprofile-gold: maybe-configure-stageautoprofile-intl
configure-stageautofeedback-gold: maybe-configure-stageautofeedback-intl
all-gold: maybe-all-libiberty
all-stage1-gold: maybe-all-stage1-libiberty
all-stage2-gold: maybe-all-stage2-libiberty
all-stage3-gold: maybe-all-stage3-libiberty
@ -56146,7 +56049,6 @@ all-stagefeedback-gold: maybe-all-stagefeedback-libiberty
all-stageautoprofile-gold: maybe-all-stageautoprofile-libiberty
all-stageautofeedback-gold: maybe-all-stageautofeedback-libiberty
all-gold: maybe-all-intl
all-stage1-gold: maybe-all-stage1-intl
all-stage2-gold: maybe-all-stage2-intl
all-stage3-gold: maybe-all-stage3-intl
@ -56156,7 +56058,6 @@ all-stagefeedback-gold: maybe-all-stagefeedback-intl
all-stageautoprofile-gold: maybe-all-stageautoprofile-intl
all-stageautofeedback-gold: maybe-all-stageautofeedback-intl
all-gold: maybe-all-bfd
all-stage1-gold: maybe-all-stage1-bfd
all-stage2-gold: maybe-all-stage2-bfd
all-stage3-gold: maybe-all-stage3-bfd
@ -56166,7 +56067,6 @@ all-stagefeedback-gold: maybe-all-stagefeedback-bfd
all-stageautoprofile-gold: maybe-all-stageautoprofile-bfd
all-stageautofeedback-gold: maybe-all-stageautofeedback-bfd
all-gold: maybe-all-build-bison
all-stage1-gold: maybe-all-build-bison
all-stage2-gold: maybe-all-build-bison
all-stage3-gold: maybe-all-build-bison
@ -56176,7 +56076,6 @@ all-stagefeedback-gold: maybe-all-build-bison
all-stageautoprofile-gold: maybe-all-build-bison
all-stageautofeedback-gold: maybe-all-build-bison
all-gold: maybe-all-gas
all-stage1-gold: maybe-all-stage1-gas
all-stage2-gold: maybe-all-stage2-gas
all-stage3-gold: maybe-all-stage3-gas
@ -56186,7 +56085,6 @@ all-stagefeedback-gold: maybe-all-stagefeedback-gas
all-stageautoprofile-gold: maybe-all-stageautoprofile-gas
all-stageautofeedback-gold: maybe-all-stageautofeedback-gas
check-gold: maybe-all-binutils
check-stage1-gold: maybe-all-stage1-binutils
check-stage2-gold: maybe-all-stage2-binutils
check-stage3-gold: maybe-all-stage3-binutils
@ -56196,7 +56094,6 @@ check-stagefeedback-gold: maybe-all-stagefeedback-binutils
check-stageautoprofile-gold: maybe-all-stageautoprofile-binutils
check-stageautofeedback-gold: maybe-all-stageautofeedback-binutils
check-gold: maybe-all-gas
check-stage1-gold: maybe-all-stage1-gas
check-stage2-gold: maybe-all-stage2-gas
check-stage3-gold: maybe-all-stage3-gas
@ -56206,7 +56103,6 @@ check-stagefeedback-gold: maybe-all-stagefeedback-gas
check-stageautoprofile-gold: maybe-all-stageautoprofile-gas
check-stageautofeedback-gold: maybe-all-stageautofeedback-gas
configure-opcodes: maybe-configure-intl
configure-stage1-opcodes: maybe-configure-stage1-intl
configure-stage2-opcodes: maybe-configure-stage2-intl
configure-stage3-opcodes: maybe-configure-stage3-intl
@ -56216,7 +56112,6 @@ configure-stagefeedback-opcodes: maybe-configure-stagefeedback-intl
configure-stageautoprofile-opcodes: maybe-configure-stageautoprofile-intl
configure-stageautofeedback-opcodes: maybe-configure-stageautofeedback-intl
all-opcodes: maybe-all-bfd
all-stage1-opcodes: maybe-all-stage1-bfd
all-stage2-opcodes: maybe-all-stage2-bfd
all-stage3-opcodes: maybe-all-stage3-bfd
@ -56226,7 +56121,6 @@ all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
all-stageautoprofile-opcodes: maybe-all-stageautoprofile-bfd
all-stageautofeedback-opcodes: maybe-all-stageautofeedback-bfd
all-opcodes: maybe-all-libiberty
all-stage1-opcodes: maybe-all-stage1-libiberty
all-stage2-opcodes: maybe-all-stage2-libiberty
all-stage3-opcodes: maybe-all-stage3-libiberty
@ -56236,7 +56130,6 @@ all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
all-stageautoprofile-opcodes: maybe-all-stageautoprofile-libiberty
all-stageautofeedback-opcodes: maybe-all-stageautofeedback-libiberty
all-opcodes: maybe-all-intl
all-stage1-opcodes: maybe-all-stage1-intl
all-stage2-opcodes: maybe-all-stage2-intl
all-stage3-opcodes: maybe-all-stage3-intl
@ -56260,38 +56153,23 @@ install-itcl: maybe-install-tcl
install-strip-itcl: maybe-install-strip-tcl
configure-tk: maybe-configure-tcl
all-tk: maybe-all-tcl
all-sid: maybe-all-libiberty
all-sid: maybe-all-bfd
all-sid: maybe-all-opcodes
all-sid: maybe-all-tcl
all-sid: maybe-all-tk
install-sid: maybe-install-tcl
install-strip-sid: maybe-install-strip-tcl
install-sid: maybe-install-tk
install-strip-sid: maybe-install-strip-tk
configure-sim: maybe-configure-intl
all-sim: maybe-all-intl
all-sim: maybe-all-libiberty
all-sim: maybe-all-bfd
all-sim: maybe-all-opcodes
all-sim: maybe-all-readline
all-sim: maybe-configure-gdb
all-fastjar: maybe-all-zlib
all-fastjar: maybe-all-build-texinfo
all-fastjar: maybe-all-libiberty
all-bison: maybe-all-intl
all-bison: maybe-all-build-texinfo
all-flex: maybe-all-build-bison
all-flex: maybe-all-intl
all-flex: maybe-all-m4
all-flex: maybe-all-build-texinfo
all-m4: maybe-all-intl
all-m4: maybe-all-build-texinfo
configure-target-boehm-gc: maybe-all-target-libstdc++-v3
configure-target-fastjar: maybe-configure-target-zlib
all-target-fastjar: maybe-all-target-zlib
configure-target-libgo: maybe-configure-target-libffi
configure-target-libgo: maybe-all-target-libstdc++-v3
all-target-libgo: maybe-all-target-libbacktrace
all-target-libgo: maybe-all-target-libffi
all-target-libgo: maybe-all-target-libatomic
@ -56305,7 +56183,6 @@ all-target-libjava: maybe-all-target-libffi
configure-target-libobjc: maybe-configure-target-boehm-gc
all-target-libobjc: maybe-all-target-boehm-gc
configure-target-libstdc++-v3: maybe-configure-target-libgomp
configure-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
configure-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
configure-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
@ -56314,9 +56191,7 @@ configure-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-
configure-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
configure-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
configure-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
configure-target-liboffloadmic: maybe-configure-target-libgomp
configure-target-libsanitizer: maybe-all-target-libstdc++-v3
configure-stage1-target-libsanitizer: maybe-all-stage1-target-libstdc++-v3
configure-stage2-target-libsanitizer: maybe-all-stage2-target-libstdc++-v3
configure-stage3-target-libsanitizer: maybe-all-stage3-target-libstdc++-v3
@ -56326,7 +56201,6 @@ configure-stagefeedback-target-libsanitizer: maybe-all-stagefeedback-target-libs
configure-stageautoprofile-target-libsanitizer: maybe-all-stageautoprofile-target-libstdc++-v3
configure-stageautofeedback-target-libsanitizer: maybe-all-stageautofeedback-target-libstdc++-v3
configure-target-libvtv: maybe-all-target-libstdc++-v3
configure-stage1-target-libvtv: maybe-all-stage1-target-libstdc++-v3
configure-stage2-target-libvtv: maybe-all-stage2-target-libstdc++-v3
configure-stage3-target-libvtv: maybe-all-stage3-target-libstdc++-v3
@ -56336,7 +56210,6 @@ configure-stagefeedback-target-libvtv: maybe-all-stagefeedback-target-libstdc++-
configure-stageautoprofile-target-libvtv: maybe-all-stageautoprofile-target-libstdc++-v3
configure-stageautofeedback-target-libvtv: maybe-all-stageautofeedback-target-libstdc++-v3
all-target-libstdc++-v3: maybe-configure-target-libgomp
all-stage1-target-libstdc++-v3: maybe-configure-stage1-target-libgomp
all-stage2-target-libstdc++-v3: maybe-configure-stage2-target-libgomp
all-stage3-target-libstdc++-v3: maybe-configure-stage3-target-libgomp
@ -56345,7 +56218,6 @@ all-stageprofile-target-libstdc++-v3: maybe-configure-stageprofile-target-libgom
all-stagefeedback-target-libstdc++-v3: maybe-configure-stagefeedback-target-libgomp
all-stageautoprofile-target-libstdc++-v3: maybe-configure-stageautoprofile-target-libgomp
all-stageautofeedback-target-libstdc++-v3: maybe-configure-stageautofeedback-target-libgomp
all-target-liboffloadmic: maybe-all-target-libgomp
install-target-libgo: maybe-install-target-libatomic
install-target-libgfortran: maybe-install-target-libquadmath
install-target-libgfortran: maybe-install-target-libgcc
@ -56363,12 +56235,63 @@ install-target-libobjc: maybe-install-target-libgcc
install-target-libstdc++-v3: maybe-install-target-libgcc
all-target-libgloss: maybe-all-target-newlib
all-target-winsup: maybe-all-target-libtermcap
configure-target-newlib: maybe-all-binutils
configure-target-newlib: maybe-all-ld
configure-target-libgfortran: maybe-all-target-libquadmath
configure-target-libgfortran: maybe-all-target-libbacktrace
@if gcc-bootstrap
configure-gnattools: stage_last
configure-libcc1: stage_last
configure-utils: stage_last
configure-gdb: stage_last
configure-gprof: stage_last
configure-sid: stage_last
configure-sim: stage_last
configure-fastjar: stage_last
configure-bison: stage_last
configure-flex: stage_last
configure-m4: stage_last
@endif gcc-bootstrap
@unless gcc-bootstrap
all-gnattools: maybe-all-target-libstdc++-v3
configure-libcc1: maybe-configure-gcc
all-libcc1: maybe-all-gcc
all-utils: maybe-all-libiberty
configure-gdb: maybe-all-intl
configure-gdb: maybe-all-bfd
configure-gdb: maybe-all-libiconv
all-gdb: maybe-all-libiberty
all-gdb: maybe-all-libiconv
all-gdb: maybe-all-opcodes
all-gdb: maybe-all-libdecnumber
configure-gprof: maybe-configure-intl
all-gprof: maybe-all-libiberty
all-gprof: maybe-all-bfd
all-gprof: maybe-all-opcodes
all-gprof: maybe-all-intl
all-gprof: maybe-all-gas
all-sid: maybe-all-libiberty
all-sid: maybe-all-bfd
all-sid: maybe-all-opcodes
configure-sim: maybe-configure-intl
all-sim: maybe-all-intl
all-sim: maybe-all-libiberty
all-sim: maybe-all-bfd
all-sim: maybe-all-opcodes
all-fastjar: maybe-all-zlib
all-fastjar: maybe-all-libiberty
all-bison: maybe-all-intl
all-flex: maybe-all-intl
all-m4: maybe-all-intl
configure-target-boehm-gc: maybe-all-target-libstdc++-v3
configure-target-libgo: maybe-all-target-libstdc++-v3
configure-target-liboffloadmic: maybe-configure-target-libgomp
all-target-liboffloadmic: maybe-all-target-libgomp
configure-target-newlib: maybe-all-binutils
configure-target-newlib: maybe-all-ld
@endunless gcc-bootstrap
# Dependencies for target modules on other target modules are
# described by lang_env_dependencies; the defaults apply to anything
# not mentioned there.

View File

@ -403,6 +403,7 @@ DLLTOOL = @DLLTOOL@
LD = @LD@
LIPO = @LIPO@
NM = @NM@
OBJCOPY = @OBJCOPY@
OBJDUMP = @OBJDUMP@
RANLIB = @RANLIB@
READELF = @READELF@
@ -1822,25 +1823,46 @@ configure-target-[+module+]: maybe-all-gcc[+
(define dep-maybe (lambda ()
(if (exist? "hard") "" "maybe-")))
;; dep-kind returns "normal" if the dependency is on an "install" target,
;; or if either module is not bootstrapped. It returns "bootstrap" for
;; configure or build dependencies between bootstrapped modules; it returns
;; "prebootstrap" for configure or build dependencies of bootstrapped
;; modules on a build module (e.g. all-gcc on all-build-bison). All this
;; is only necessary for host modules.
;; dep-kind returns returns "prebootstrap" for configure or build
;; dependencies of bootstrapped modules on a build module
;; (e.g. all-gcc on all-build-bison); "normal" if the dependency is
;; on an "install" target, or if the dependence module is not
;; bootstrapped; otherwise, it returns "bootstrap" or
;; "postbootstrap" depending on whether the dependent module is
;; bootstrapped. All this is only necessary for host and target
;; modules. It might seem like, in order to avoid build races, we
;; might need more elaborate detection between prebootstrap and
;; postbootstrap modules, but there are no host prebootstrap
;; modules. If there were any non-bootstrap host modules that
;; bootstrap modules depended on, we'd get unsatisfied per-stage
;; dependencies on them, which would be immediately noticed.
(define dep-kind (lambda ()
(if (and (hash-ref boot-modules (dep-module "module"))
(=* (dep-module "on") "build-"))
"prebootstrap"
(cond
((and (hash-ref boot-modules (dep-module "module"))
(=* (dep-module "on") "build-"))
"prebootstrap")
(if (or (= (dep-subtarget "on") "install-")
(not (hash-ref boot-modules (dep-module "module")))
(not (hash-ref boot-modules (dep-module "on"))))
"normal"
"bootstrap"))))
((or (= (dep-subtarget "on") "install-")
(not (hash-ref boot-modules (dep-module "on"))))
"normal")
((hash-ref boot-modules (dep-module "module"))
"bootstrap")
(1 "postbootstrap"))))
(define make-postboot-dep (lambda ()
(let ((target (dep-module "module")) (dep "stage_last"))
(unless (= (hash-ref postboot-targets target) dep)
(hash-create-handle! postboot-targets target dep)
;; All non-bootstrap modules' configure target already
;; depend on dep.
(unless (=* target "target-")
(string-append "configure-" target ": " dep "\n"))))))
;; We now build the hash table that is used by dep-kind.
(define boot-modules (make-hash-table 113))
(define postboot-targets (make-hash-table 113))
+]
[+ FOR host_modules +][+
@ -1857,18 +1879,23 @@ configure-target-[+module+]: maybe-all-gcc[+
# to check for bootstrap/prebootstrap dependencies. To resolve
# prebootstrap dependencies, prebootstrap modules are gathered in
# a hash table.
[+ FOR dependencies +][+ (make-dep "" "") +]
[+ CASE (dep-kind) +]
[+ == "prebootstrap"
+][+ FOR bootstrap_stage +]
[+ (make-dep (dep-stage) "") +][+
ENDFOR bootstrap_stage +]
[+ == "bootstrap"
+][+ FOR bootstrap_stage +]
[+ (make-dep (dep-stage) (dep-stage)) +][+
ENDFOR bootstrap_stage +]
[+ ESAC +][+
ENDFOR dependencies +]
[+ FOR dependencies +][+ CASE (dep-kind) +]
[+ == "prebootstrap" +][+ (make-dep "" "") +][+ FOR bootstrap_stage +]
[+ (make-dep (dep-stage) "") +][+ ENDFOR bootstrap_stage +]
[+ == "bootstrap" +][+ (make-dep "" "") +][+ FOR bootstrap_stage +]
[+ (make-dep (dep-stage) (dep-stage)) +][+ ENDFOR bootstrap_stage +]
[+ == "normal" +][+ (make-dep "" "") +]
[+ ESAC +][+ ENDFOR dependencies +]
@if gcc-bootstrap
[+ FOR dependencies +][+ CASE (dep-kind) +]
[+ == "postbootstrap" +][+ (make-postboot-dep) +][+ ESAC +][+
ENDFOR dependencies +]@endif gcc-bootstrap
@unless gcc-bootstrap
[+ FOR dependencies +][+ CASE (dep-kind) +]
[+ == "postbootstrap" +][+ (make-dep "" "") +]
[+ ESAC +][+ ENDFOR dependencies +]@endunless gcc-bootstrap
# Dependencies for target modules on other target modules are
# described by lang_env_dependencies; the defaults apply to anything

602
config.guess vendored

File diff suppressed because it is too large Load Diff

1685
config.sub vendored

File diff suppressed because it is too large Load Diff

20
configure vendored
View File

@ -7191,7 +7191,9 @@ INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
# extrasub-{build,host,target} not because there is any reason to split
# the substitutions up that way, but only to remain below the limit of
# 99 commands in a script, for HP-UX sed.
# Do not nest @if/@endif pairs, because configure will not warn you at all.
# Do not nest @if/@endif or @unless/@endunless pairs, because
# configure will not warn you at all.
case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
yes:yes:*\ gold\ *:*,c++,*) ;;
@ -7210,8 +7212,10 @@ for module in ${build_configdirs} ; do
extrasub_build="$extrasub_build
/^@if build-$module\$/d
/^@endif build-$module\$/d
/^@unless build-$module\$/,/^@endunless build-$module\$/d
/^@if build-$module-$bootstrap_suffix\$/d
/^@endif build-$module-$bootstrap_suffix\$/d"
/^@endif build-$module-$bootstrap_suffix\$/d
/^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
done
extrasub_host=
for module in ${configdirs} ; do
@ -7230,8 +7234,10 @@ for module in ${configdirs} ; do
extrasub_host="$extrasub_host
/^@if $module\$/d
/^@endif $module\$/d
/^@unless $module\$/,/^@endunless $module\$/d
/^@if $module-$host_bootstrap_suffix\$/d
/^@endif $module-$host_bootstrap_suffix\$/d"
/^@endif $module-$host_bootstrap_suffix\$/d
/^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
done
extrasub_target=
for module in ${target_configdirs} ; do
@ -7250,13 +7256,17 @@ for module in ${target_configdirs} ; do
extrasub_target="$extrasub_target
/^@if target-$module\$/d
/^@endif target-$module\$/d
/^@unless target-$module\$/,/^@endunless target-$module\$/d
/^@if target-$module-$target_bootstrap_suffix\$/d
/^@endif target-$module-$target_bootstrap_suffix\$/d"
/^@endif target-$module-$target_bootstrap_suffix\$/d
/^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
done
# Do the final fixup along with target modules.
extrasub_target="$extrasub_target
/^@if /,/^@endif /d"
/^@if /,/^@endif /d
/^@unless /d
/^@endunless /d"
# Create the serialization dependencies. This uses a temporary file.

View File

@ -2787,7 +2787,9 @@ INSTALL_GDB_TK=`echo ${GDB_TK} | sed s/-all-/-install-/g`
# extrasub-{build,host,target} not because there is any reason to split
# the substitutions up that way, but only to remain below the limit of
# 99 commands in a script, for HP-UX sed.
# Do not nest @if/@endif pairs, because configure will not warn you at all.
# Do not nest @if/@endif or @unless/@endunless pairs, because
# configure will not warn you at all.
case "$enable_bootstrap:$ENABLE_GOLD: $configdirs :,$stage1_languages," in
yes:yes:*\ gold\ *:*,c++,*) ;;
@ -2806,8 +2808,10 @@ for module in ${build_configdirs} ; do
extrasub_build="$extrasub_build
/^@if build-$module\$/d
/^@endif build-$module\$/d
/^@unless build-$module\$/,/^@endunless build-$module\$/d
/^@if build-$module-$bootstrap_suffix\$/d
/^@endif build-$module-$bootstrap_suffix\$/d"
/^@endif build-$module-$bootstrap_suffix\$/d
/^@unless build-$module-$bootstrap_suffix\$/,/^@endunless build-$module-$bootstrap_suffix\$/d"
done
extrasub_host=
for module in ${configdirs} ; do
@ -2826,8 +2830,10 @@ for module in ${configdirs} ; do
extrasub_host="$extrasub_host
/^@if $module\$/d
/^@endif $module\$/d
/^@unless $module\$/,/^@endunless $module\$/d
/^@if $module-$host_bootstrap_suffix\$/d
/^@endif $module-$host_bootstrap_suffix\$/d"
/^@endif $module-$host_bootstrap_suffix\$/d
/^@unless $module-$host_bootstrap_suffix\$/,/^@endunless $module-$host_bootstrap_suffix\$/d"
done
extrasub_target=
for module in ${target_configdirs} ; do
@ -2846,13 +2852,17 @@ for module in ${target_configdirs} ; do
extrasub_target="$extrasub_target
/^@if target-$module\$/d
/^@endif target-$module\$/d
/^@unless target-$module\$/,/^@endunless target-$module\$/d
/^@if target-$module-$target_bootstrap_suffix\$/d
/^@endif target-$module-$target_bootstrap_suffix\$/d"
/^@endif target-$module-$target_bootstrap_suffix\$/d
/^@unless target-$module-$target_bootstrap_suffix\$/,/^@endunless target-$module-$target_bootstrap_suffix\$/d"
done
# Do the final fixup along with target modules.
extrasub_target="$extrasub_target
/^@if /,/^@endif /d"
/^@if /,/^@endif /d
/^@unless /d
/^@endunless /d"
# Create the serialization dependencies. This uses a temporary file.

View File

@ -181,6 +181,16 @@ install-info:
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
$(MAKE) DO=$@ DODIRS=doc $(FLAGS_TO_PASS) subdir_do
install-html:
rootpre=`pwd`/; export rootpre; \
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
$(MAKE) DO=$@ DODIRS=doc $(FLAGS_TO_PASS) subdir_do
install-pdf:
rootpre=`pwd`/; export rootpre; \
srcrootpre=`cd $(srcdir); pwd`/; export srcrootpre; \
$(MAKE) DO=$@ DODIRS=doc $(FLAGS_TO_PASS) subdir_do
clean-info:
force:

View File

@ -26,7 +26,7 @@
#include <_ansi.h>
#include "svc.h"
void _exit _PARAMS ((int));
void _exit (int);
__attribute__ ((noreturn)) void
_exit (int status)

View File

@ -28,7 +28,7 @@
#include <errno.h>
#include "svc.h"
int _kill _PARAMS ((int, int));
int _kill (int, int);
int
_kill (int pid, int sig)

View File

@ -145,6 +145,33 @@ _flat_map:
dsb sy
msr sctlr_el3, x0
isb
/* Determine if SVE is available. */
mrs x0, id_aa64pfr0_el1
tbz x0, 32, .Lnosve
/* set up CPTR_EL3.TZ to 1. */
mrs x0, cptr_el3
/* TZ is bit 8 of CPTR_EL3. */
orr x0, x0, #0x100
msr cptr_el3, x0
isb
/* set up vector lenght in ZCR_EL3 (4 LSB). */
mov x2, #0xF
/* Try to set the maximum value supported by the architecture (2048).
SVE Arch.
"If this field is set to a value that is not supported by the
implementation then reading the register must return the highest
supported vector length that is less than the value written." */
mrs x1, s3_6_c1_c2_0 /* mrs x1, zcr_el3. */
bfi x1, x2, 0, 4
msr s3_6_c1_c2_0, x1 /* msr zcr_el3, x1. */
isb
.Lnosve:
ret
.data
@ -157,12 +184,16 @@ ttb:
.align 2
.global FUNCTION (_cpu_init_hook)
.type FUNCTION (_cpu_init_hook), %function
.cfi_sections .debug_frame
FUNCTION (_cpu_init_hook):
sub sp, sp, #16
str x30, [sp, xzr]
.cfi_startproc
str x30, [sp, -16]!
.cfi_def_cfa_offset 16
.cfi_offset 30, -16
bl _init_vectors
bl _flat_map
ldr x30, [sp, xzr]
add sp, sp, #16
ldr x30, [sp], 16
.cfi_restore 30
ret
.cfi_endproc
.size FUNCTION (_cpu_init_hook), .-FUNCTION (_cpu_init_hook)

View File

@ -101,33 +101,45 @@
exposed here in the HeapInfo Angel call. */
ldr x0, .LC0 /* point at returned values */
ldr x1, [x0, #8] /* get heap_limit */
#else
/* Set up the stack pointer to a fixed value. */
ldr x1, .Lstack
/* Set __heap_limit. */
#ifdef __ILP32__
/* Sanity check on the __heap_limit. */
tst x1, #0xffffffff00000000
bne .Linsanepar
#endif
cmp x1, xzr
beq .LC4
adrp x2, __heap_limit
add x2, x2, #:lo12:__heap_limit
str x1, [x2]
.LC4:
ldr x1, [x0] /* get heap_base */
#ifdef __ILP32__
/* Sanity check on the heap base. */
ldr x0, [x0] /* get heap_base */
tst x0, #0xffffffff00000000
beq 1f
/* Exit with 1 if the heap base is not within the 32-bit address
space. */
mov x0, ADP_Stopped_ApplicationExit & 0xff
movk x0, ADP_Stopped_ApplicationExit >> 16, lsl #16
adrp x1, HeapBase /* Reuse to construct the parameter block. */
add x1, x1, #:lo12:HeapBase
str x0, [x1]
mov x0, 1
str x0, [x1, #8]
mov w0, #AngelSVC_Reason_ReportException
AngelSVCAsm AngelSVC
1:
/* For the sake of safety, set the stack base to the top end of
the 32-bit address space if the returned value from the
Angel API call is larger than or equal to 4 GiB. */
tst x1, #0xffffffff00000000
csinv w1, w1, wzr, eq
bne .Linsanepar
#endif
cmp x1, xzr
bne .LC5
/* If the heap base value [x0, #0] is 0 then the heap base is actually
at the end of program data (i.e. __end__) */
ldr x1, .LC3
str x1, [x0, #0]
.LC5:
ldr x1, [x0, #16] /* get stack_base */
#ifdef __ILP32__
/* Sanity check on the stack_base. */
tst x1, #0xffffffff00000000
bne .Linsanepar
#endif
cmp x1, xzr
bne .LC6
#endif
ldr x1, .Lstack /* Set up the stack pointer to a fixed value */
.LC6:
/* Ensure quad-word stack alignment. */
and x0, x1, #~15
@ -233,6 +245,22 @@
b FUNCTION (exit) /* Cannot return. */
#if defined (ARM_RDI_MONITOR) && defined (__ILP32__)
.Linsanepar:
/* Exit with 1 if the parameter is not within the 32-bit address
space. */
mov x1, ADP_Stopped_ApplicationExit & 0xff
movk x1, ADP_Stopped_ApplicationExit >> 16, lsl #16
adrp x0, HeapBase /* Reuse to construct the parameter block. */
add x0, x0, #:lo12:HeapBase
str x1, [x0]
mov x1, 1
str x1, [x0, #8]
mov w1, #AngelSVC_Reason_ReportException
AngelSVCAsm AngelSVC
b .
#endif
/* Function initializing exception vector table, flatmap, etc.
Declared as weak symbol so that user can override this definition
by linking in their own version of the function. */
@ -244,12 +272,13 @@ FUNCTION (_cpu_init_hook):
#ifdef ARM_RDI_MONITOR
.LC0:
GEN_DWORD HeapBase
#else
.LC3:
GEN_DWORD __end__
#endif
.Lstack:
GEN_DWORD __stack
.weak __stack
#endif
.LC1:
GEN_DWORD __bss_start__
.LC2:

View File

@ -72,9 +72,9 @@
#define SH_EXT_STDOUT_STDERR_BITNUM 0x1
#if !defined (__ASSEMBLER__)
extern int _get_semihosting_exts _PARAMS ((char*, int, int));
extern int _has_ext_exit_extended _PARAMS ((void));
extern int _has_ext_stdout_stderr _PARAMS ((void));
extern int _get_semihosting_exts (char*, int, int);
extern int _has_ext_exit_extended (void);
extern int _has_ext_stdout_stderr (void);
#endif
#if defined(ARM_RDI_MONITOR) && !defined(__ASSEMBLER__)

View File

@ -47,37 +47,37 @@
(param_block_t)(unsigned long) (PTR)
/* Forward prototypes. */
int _system _PARAMS ((const char *));
int _rename _PARAMS ((const char *, const char *));
int _isatty _PARAMS ((int));
clock_t _times _PARAMS ((struct tms *));
int _gettimeofday _PARAMS ((struct timeval *, void *));
int _unlink _PARAMS ((const char *));
int _link _PARAMS ((void));
int _stat _PARAMS ((const char *, struct stat *));
int _fstat _PARAMS ((int, struct stat *));
int _swistat _PARAMS ((int fd, struct stat * st));
caddr_t _sbrk _PARAMS ((int));
int _getpid _PARAMS ((int));
int _close _PARAMS ((int));
clock_t _clock _PARAMS ((void));
int _swiclose _PARAMS ((int));
int _open _PARAMS ((const char *, int, ...));
int _swiopen _PARAMS ((const char *, int));
int _write _PARAMS ((int, char *, int));
int _swiwrite _PARAMS ((int, char *, int));
int _lseek _PARAMS ((int, int, int));
int _swilseek _PARAMS ((int, int, int));
int _read _PARAMS ((int, char *, int));
int _swiread _PARAMS ((int, char *, int));
void initialise_monitor_handles _PARAMS ((void));
int _system (const char *);
int _rename (const char *, const char *);
int _isatty (int);
clock_t _times (struct tms *);
int _gettimeofday (struct timeval *, void *);
int _unlink (const char *);
int _link (void);
int _stat (const char *, struct stat *);
int _fstat (int, struct stat *);
int _swistat (int fd, struct stat * st);
void * _sbrk (ptrdiff_t);
pid_t _getpid (void);
int _close (int);
clock_t _clock (void);
int _swiclose (int);
int _open (const char *, int, ...);
int _swiopen (const char *, int);
int _write (int, const char *, size_t);
int _swiwrite (int, const char *, size_t);
off_t _lseek (int, off_t, int);
off_t _swilseek (int, off_t, int);
int _read (int, void *, size_t);
int _swiread (int, void *, size_t);
void initialise_monitor_handles (void);
static int checkerror _PARAMS ((int));
static int error _PARAMS ((int));
static int get_errno _PARAMS ((void));
static int checkerror (int);
static int error (int);
static int get_errno (void);
/* Semihosting utilities. */
static void initialise_semihosting_exts _PARAMS ((void));
static void initialise_semihosting_exts (void);
/* Struct used to keep track of the file position, just so we
can implement fseek(fh,x,SEEK_CUR). */
@ -108,8 +108,8 @@ struct fdent
static struct fdent openfiles[MAX_OPEN_FILES];
static struct fdent *findslot _PARAMS ((int));
static int newslot _PARAMS ((void));
static struct fdent *findslot (int);
static int newslot (void);
/* Register name faking - works in collusion with the linker. */
#ifdef __ILP32__
@ -120,7 +120,7 @@ register char * stack_ptr asm ("sp");
/* following is copied from libc/stdio/local.h to check std streams */
extern void _EXFUN (__sinit, (struct _reent *));
extern void __sinit (struct _reent *);
#define CHECK_INIT(ptr) \
do \
{ \
@ -349,7 +349,7 @@ checkerror (int result)
len, is the length in bytes to read.
Returns the number of bytes *not* written. */
int
_swiread (int fh, char *ptr, int len)
_swiread (int fh, void *ptr, size_t len)
{
param_block_t block[3];
@ -364,7 +364,7 @@ _swiread (int fh, char *ptr, int len)
Translates the return of _swiread into
bytes read. */
int
_read (int fd, char *ptr, int len)
_read (int fd, void *ptr, size_t len)
{
int res;
struct fdent *pfd;
@ -389,8 +389,8 @@ _read (int fd, char *ptr, int len)
}
/* fd, is a user file descriptor. */
int
_swilseek (int fd, int ptr, int dir)
off_t
_swilseek (int fd, off_t ptr, int dir)
{
int res;
struct fdent *pfd;
@ -449,7 +449,8 @@ _swilseek (int fd, int ptr, int dir)
return -1;
}
_lseek (int fd, int ptr, int dir)
off_t
_lseek (int fd, off_t ptr, int dir)
{
return _swilseek (fd, ptr, dir);
}
@ -457,7 +458,7 @@ _lseek (int fd, int ptr, int dir)
/* fh, is a valid internal file handle.
Returns the number of bytes *not* written. */
int
_swiwrite (int fh, char *ptr, int len)
_swiwrite (int fh, const char *ptr, size_t len)
{
param_block_t block[3];
@ -470,7 +471,7 @@ _swiwrite (int fh, char *ptr, int len)
/* fd, is a user file descriptor. */
int
_write (int fd, char *ptr, int len)
_write (int fd, const char *ptr, size_t len)
{
int res;
struct fdent *pfd;
@ -620,13 +621,16 @@ _close (int fd)
}
int __attribute__((weak))
_getpid (int n __attribute__ ((unused)))
_getpid (void)
{
return 1;
}
caddr_t
_sbrk (int incr)
/* Heap limit returned from SYS_HEAPINFO Angel semihost call. */
ulong __heap_limit __attribute__ ((aligned (8))) = 0xcafedead;
void *
_sbrk (ptrdiff_t incr)
{
extern char end asm ("end"); /* Defined by the linker. */
static char *heap_end;
@ -637,7 +641,9 @@ _sbrk (int incr)
prev_heap_end = heap_end;
if (heap_end + incr > stack_ptr)
if ((heap_end + incr > stack_ptr)
/* Honour heap limit if it's valid. */
|| ((__heap_limit != 0xcafedead) && (heap_end + incr > (char *)__heap_limit)))
{
/* Some of the libstdc++-v3 tests rely upon detecting
out of memory errors, so do not abort here. */

View File

@ -1,15 +1,16 @@
#include <_ansi.h>
#include "swi.h"
int _kill _PARAMS ((int, int));
void _exit _PARAMS ((int));
int _kill_shared (int, int, int) __attribute__((__noreturn__));
void _exit (int);
void
_exit (int status)
{
/* There is only one SWI for both _exit and _kill. For _exit, call
the SWI with the second argument set to -1, an invalid value for
signum, so that the SWI handler can distinguish the two calls.
Note: The RDI implementation of _kill throws away both its
arguments. */
_kill (status, -1);
/* The same SWI is used for both _exit and _kill.
For _exit, call the SWI with "reason" set to ADP_Stopped_ApplicationExit
to mark a standard exit.
Note: The RDI implementation of _kill_shared throws away all its
arguments and all implementations ignore the first argument. */
_kill_shared (-1, status, ADP_Stopped_ApplicationExit);
}

View File

@ -2,16 +2,27 @@
#include <signal.h>
#include "swi.h"
int _kill _PARAMS ((int, int));
int _kill_shared (int, int, int) __attribute__((__noreturn__));
int _kill (int, int);
int
_kill (int pid, int sig)
{
if (sig == SIGABRT)
_kill_shared (pid, sig, ADP_Stopped_RunTimeError);
else
_kill_shared (pid, sig, ADP_Stopped_ApplicationExit);
}
int
_kill_shared (int pid, int sig, int reason)
{
(void) pid; (void) sig;
#ifdef ARM_RDI_MONITOR
/* Note: The pid argument is thrown away. */
int block[2];
block[1] = sig;
block[0] = reason;
int insn;
#if SEMIHOST_V2
@ -25,22 +36,16 @@ _kill (int pid, int sig)
insn = AngelSWI_Reason_ReportException;
}
switch (sig)
{
case SIGABRT:
{
block[0] = ADP_Stopped_RunTimeError;
break;
}
default:
{
block[0] = ADP_Stopped_ApplicationExit;
break;
}
}
#if SEMIHOST_V2
if (_has_ext_exit_extended ())
do_AngelSWI (insn, block);
else
#endif
do_AngelSWI (insn, (void*)block[0]);
return do_AngelSWI (insn, block);
#else
asm ("swi %a0" :: "i" (SWI_Exit));
#endif
__builtin_unreachable();
}

View File

@ -10,6 +10,8 @@
#include <unistd.h>
#include "arm.h"
/* forward declaration */
int main(int argc, char *argv[], char *env[]);
static int _main(int argc, char *argv[]) __attribute__((noreturn));
#if __thumb__ && !defined(PREFER_THUMB)

View File

@ -96,9 +96,9 @@
#define SH_EXT_STDOUT_STDERR_BITNUM 0x1
#if !defined (__ASSEMBLER__)
extern int _get_semihosting_exts _PARAMS ((char*, int, int));
extern int _has_ext_exit_extended _PARAMS ((void));
extern int _has_ext_stdout_stderr _PARAMS ((void));
extern int _get_semihosting_exts (char*, int, int);
extern int _has_ext_exit_extended (void);
extern int _has_ext_stdout_stderr (void);
#endif
#if defined(ARM_RDI_MONITOR) && !defined(__ASSEMBLER__)

View File

@ -18,37 +18,37 @@
#include "swi.h"
/* Forward prototypes. */
int _system _PARAMS ((const char *));
int _rename _PARAMS ((const char *, const char *));
int _isatty _PARAMS ((int));
clock_t _times _PARAMS ((struct tms *));
int _gettimeofday _PARAMS ((struct timeval *, void *));
int _unlink _PARAMS ((const char *));
int _link _PARAMS ((void));
int _stat _PARAMS ((const char *, struct stat *));
int _fstat _PARAMS ((int, struct stat *));
int _swistat _PARAMS ((int fd, struct stat * st));
caddr_t _sbrk _PARAMS ((int));
int _getpid _PARAMS ((int));
int _close _PARAMS ((int));
clock_t _clock _PARAMS ((void));
int _swiclose _PARAMS ((int));
int _open _PARAMS ((const char *, int, ...));
int _swiopen _PARAMS ((const char *, int));
int _write _PARAMS ((int, char *, int));
int _swiwrite _PARAMS ((int, char *, int));
int _lseek _PARAMS ((int, int, int));
int _swilseek _PARAMS ((int, int, int));
int _read _PARAMS ((int, char *, int));
int _swiread _PARAMS ((int, char *, int));
void initialise_monitor_handles _PARAMS ((void));
int _system (const char *);
int _rename (const char *, const char *);
int _isatty (int);
clock_t _times (struct tms *);
int _gettimeofday (struct timeval *, void *);
int _unlink (const char *);
int _link (const char *, const char *);
int _stat (const char *, struct stat *);
int _fstat (int, struct stat *);
int _swistat (int fd, struct stat * st);
void * _sbrk (ptrdiff_t);
pid_t _getpid (void);
int _close (int);
clock_t _clock (void);
int _swiclose (int);
int _open (const char *, int, ...);
int _swiopen (const char *, int);
int _write (int, const void *, size_t);
int _swiwrite (int, const void *, size_t);
_off_t _lseek (int, _off_t, int);
_off_t _swilseek (int, _off_t, int);
int _read (int, void *, size_t);
int _swiread (int, void *, size_t);
void initialise_monitor_handles (void);
static int checkerror _PARAMS ((int));
static int error _PARAMS ((int));
static int get_errno _PARAMS ((void));
static int checkerror (int);
static int error (int);
static int get_errno (void);
/* Semihosting utilities. */
static void initialise_semihosting_exts _PARAMS ((void));
static void initialise_semihosting_exts (void);
/* Struct used to keep track of the file position, just so we
can implement fseek(fh,x,SEEK_CUR). */
@ -77,15 +77,15 @@ struct fdent
static struct fdent openfiles [MAX_OPEN_FILES];
static struct fdent* findslot _PARAMS ((int));
static int newslot _PARAMS ((void));
static struct fdent* findslot (int);
static int newslot (void);
/* Register name faking - works in collusion with the linker. */
register char * stack_ptr asm ("sp");
/* following is copied from libc/stdio/local.h to check std streams */
extern void _EXFUN(__sinit,(struct _reent *));
extern void __sinit (struct _reent *);
#define CHECK_INIT(ptr) \
do \
{ \
@ -323,7 +323,7 @@ get_errno (void)
#ifdef ARM_RDI_MONITOR
return do_AngelSWI (AngelSWI_Reason_Errno, NULL);
#else
register r0 asm("r0");
register int r0 asm("r0");
asm ("swi %a1" : "=r"(r0) : "i" (SWI_GetErrno));
return r0;
#endif
@ -352,24 +352,24 @@ checkerror (int result)
Returns the number of bytes *not* written. */
int
_swiread (int fh,
char * ptr,
int len)
void * ptr,
size_t len)
{
#ifdef ARM_RDI_MONITOR
int block[3];
block[0] = fh;
block[1] = (int) ptr;
block[2] = len;
block[2] = (int) len;
return checkerror (do_AngelSWI (AngelSWI_Reason_Read, block));
#else
register r0 asm("r0");
register r1 asm("r1");
register r2 asm("r2");
register int r0 asm("r0");
register int r1 asm("r1");
register int r2 asm("r2");
r0 = fh;
r1 = (int)ptr;
r2 = len;
r1 = (int) ptr;
r2 = (int) len;
asm ("swi %a4"
: "=r" (r0)
: "0"(r0), "r"(r1), "r"(r2), "i"(SWI_Read));
@ -382,8 +382,8 @@ _swiread (int fh,
bytes read. */
int __attribute__((weak))
_read (int fd,
char * ptr,
int len)
void * ptr,
size_t len)
{
int res;
struct fdent *pfd;
@ -408,12 +408,12 @@ _read (int fd,
}
/* fd, is a user file descriptor. */
int
off_t
_swilseek (int fd,
int ptr,
off_t ptr,
int dir)
{
int res;
off_t res;
struct fdent *pfd;
/* Valid file descriptor? */
@ -461,7 +461,7 @@ _swilseek (int fd,
/* This code only does absolute seeks. */
block[0] = pfd->handle;
block[1] = ptr;
block[1] = (int) ptr;
res = checkerror (do_AngelSWI (AngelSWI_Reason_Seek, block));
#else
if (dir == SEEK_END)
@ -493,8 +493,9 @@ _swilseek (int fd,
return -1;
}
off_t
_lseek (int fd,
int ptr,
off_t ptr,
int dir)
{
return _swilseek (fd, ptr, dir);
@ -505,21 +506,21 @@ _lseek (int fd,
int
_swiwrite (
int fh,
char * ptr,
int len)
const void * ptr,
size_t len)
{
#ifdef ARM_RDI_MONITOR
int block[3];
block[0] = fh;
block[1] = (int) ptr;
block[2] = len;
block[2] = (int) len;
return checkerror (do_AngelSWI (AngelSWI_Reason_Write, block));
#else
register r0 asm("r0");
register r1 asm("r1");
register r2 asm("r2");
register int r0 asm("r0");
register int r1 asm("r1");
register int r2 asm("r2");
r0 = fh;
r1 = (int)ptr;
r2 = len;
@ -533,8 +534,8 @@ _swiwrite (
/* fd, is a user file descriptor. */
int __attribute__((weak))
_write (int fd,
char * ptr,
int len)
const void * ptr,
size_t len)
{
int res;
struct fdent *pfd;
@ -653,7 +654,7 @@ _swiclose (int fh)
#ifdef ARM_RDI_MONITOR
return checkerror (do_AngelSWI (AngelSWI_Reason_Close, &fh));
#else
register r0 asm("r0");
register int r0 asm("r0");
r0 = fh;
asm ("swi %a2"
: "=r"(r0)
@ -694,17 +695,17 @@ _close (int fd)
return res;
}
int __attribute__((weak))
_getpid (int n __attribute__ ((unused)))
pid_t __attribute__((weak))
_getpid (void)
{
return 1;
return (pid_t)1;
}
/* Heap limit returned from SYS_HEAPINFO Angel semihost call. */
uint __heap_limit = 0xcafedead;
caddr_t __attribute__((weak))
_sbrk (int incr)
void * __attribute__((weak))
_sbrk (ptrdiff_t incr)
{
extern char end asm ("end"); /* Defined by the linker. */
static char * heap_end;
@ -717,7 +718,7 @@ _sbrk (int incr)
if ((heap_end + incr > stack_ptr)
/* Honour heap limit if it's valid. */
|| (__heap_limit != 0xcafedead && heap_end + incr > __heap_limit))
|| (__heap_limit != 0xcafedead && heap_end + incr > (char *)__heap_limit))
{
/* Some of the libstdc++-v3 tests rely upon detecting
out of memory errors, so do not abort here. */
@ -729,13 +730,13 @@ _sbrk (int incr)
abort ();
#else
errno = ENOMEM;
return (caddr_t) -1;
return (void *) -1;
#endif
}
heap_end += incr;
return (caddr_t) prev_heap_end;
return (void *) prev_heap_end;
}
int
@ -795,7 +796,7 @@ _stat (const char *fname, struct stat *st)
}
int __attribute__((weak))
_link (void)
_link (const char *__path1 __attribute__ ((unused)), const char *__path2 __attribute__ ((unused)))
{
errno = ENOSYS;
return -1;
@ -811,7 +812,7 @@ _unlink (const char *path)
block[1] = strlen(path);
res = do_AngelSWI (AngelSWI_Reason_Remove, block);
#else
register r0 asm("r0");
register int r0 asm("r0");
r0 = (int)path;
asm ("swi %a2"
: "=r"(r0)
@ -900,7 +901,7 @@ _isatty (int fd)
#ifdef ARM_RDI_MONITOR
tty = do_AngelSWI (AngelSWI_Reason_IsTTY, &pfd->handle);
#else
register r0 asm("r0");
register int r0 asm("r0");
r0 = pfd->handle;
asm ("swi %a2"
: "=r" (r0)
@ -941,7 +942,7 @@ _system (const char *s)
}
return e;
#else
register r0 asm("r0");
register int r0 asm("r0");
r0 = (int)s;
asm ("swi %a2"
: "=r" (r0)
@ -961,8 +962,8 @@ _rename (const char * oldpath, const char * newpath)
block[3] = strlen(newpath);
return checkerror (do_AngelSWI (AngelSWI_Reason_Rename, block)) ? -1 : 0;
#else
register r0 asm("r0");
register r1 asm("r1");
register int r0 asm("r0");
register int r1 asm("r1");
r0 = (int)oldpath;
r1 = (int)newpath;
asm ("swi %a3"

View File

@ -16,9 +16,8 @@
#include <_ansi.h>
_VOID
_DEFUN (_exit, (rc),
int rc)
void
_exit (int rc)
{
while (1)
asm volatile ("EXCPT 0;");

View File

@ -18,8 +18,7 @@
* close -- We don't need to do anything, but pretend we did.
*/
int
_DEFUN (close ,(fd),
int fd)
close (int fd)
{
return (0);
}

5
libgloss/configure vendored
View File

@ -710,6 +710,7 @@ spu
tic6x
iq2000
or1k
nios2
libnosys'
# Initialize some variables set by options.
@ -2585,6 +2586,10 @@ case "${target}" in
or1k-*-* | or1knd-*-* )
subdirs="$subdirs or1k"
;;
nios2-*-*)
subdirs="$subdirs nios2"
;;
esac

View File

@ -176,6 +176,9 @@ case "${target}" in
or1k-*-* | or1knd-*-* )
AC_CONFIG_SUBDIRS([or1k])
;;
nios2-*-*)
AC_CONFIG_SUBDIRS([nios2])
;;
esac
dnl For now, don't bother configuring testsuite

View File

@ -19,8 +19,7 @@
* fstat -- Since we have no file system, we just return an error.
*/
int
_DEFUN (_fstat, (fd, buf),
int fd _AND
_fstat (int fd,
struct stat *buf)
{
buf->st_mode = S_IFCHR; /* Always pretend to be a tty */

View File

@ -19,8 +19,7 @@
* getpid -- only one process, so just return 1.
*/
int
_DEFUN (_getpid, (),
)
_getpid (void)
{
return __MYPID;
}

View File

@ -17,11 +17,10 @@
/*
* isatty -- returns 1 if connected to a terminal device,
* returns 0 if not. Since we're hooked up to a
* serial port, we'll say yes _AND return a 1.
* serial port, we'll say yes and return a 1.
*/
int
_DEFUN (_isatty, (fd),
int fd)
_isatty (int fd)
{
return (1);
}

View File

@ -20,8 +20,7 @@ extern void _exit (int) __attribute__((__noreturn__));
* kill -- go out via exit...
*/
int
_DEFUN (_kill, (pid, sig),
int pid _AND
_kill (int pid,
int sig)
{
if(pid == __MYPID)

View File

@ -18,8 +18,7 @@
* putnum -- print a 32 bit number in hex
*/
void
_DEFUN (putnum, (num),
unsigned int num)
putnum (unsigned int num)
{
char buf[9];
int cnt;

View File

@ -20,8 +20,7 @@
* stat -- Since we have no file system, we just return an error.
*/
int
_DEFUN (_stat, (path, buf),
const char *path _AND
_stat (const char *path,
struct stat *buf)
{
errno = EIO;

View File

@ -1,5 +1,5 @@
#! /bin/sh
# Copyright (C) 2005 Axis Communications.
# Copyright (C) 2005, 2018 Axis Communications.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@ -93,8 +93,16 @@ cat > gettod.c <<EOF
$lu#include <sys/time.h>
#include <sys/times.h>
int
_gettimeofday (struct timeval *tp, void *tzp
${r}gettimeofday (tp, tzp))
_gettimeofday (struct timeval *tp, void *tzp)
{
struct kernel_timeval kt;
int retval = _Sys_gettimeofday(&kt, tzp);
if (retval == 0)
{
tp->tv_sec = kt.tv_sec;
tp->tv_usec = kt.tv_usec;
}
R (retval)
EOF
cat > isatty.c <<EOF
$lu

View File

@ -1,5 +1,5 @@
/* Support for syscalls for cris*-axis-linux-gnu and simulators
Copyright (C) 1998-2005 Axis Communications.
Copyright (C) 1998-2005, 2018 Axis Communications.
All rights reserved.
Redistribution and use in source and binary forms, with or without
@ -402,6 +402,14 @@ struct new_stat {
unsigned long __unused5;
};
typedef long int kernel_time_t;
typedef long int kernel_suseconds_t;
struct kernel_timeval {
kernel_time_t tv_sec;
kernel_suseconds_t tv_usec;
};
static inline _syscall2(int,stat,const char *,path,struct new_stat *,statbuf)
static inline _syscall2(int,fstat,int,fd,struct new_stat *,statbuf)
static inline _syscall0(int,getpid)
@ -412,7 +420,7 @@ static inline _syscall1(long,times,struct tms *,tbuf)
static inline _syscall1(long,mmap,long *, buf)
struct timeval;
struct timezone;
static inline _syscall2(int,gettimeofday,struct timeval *,tp,
static inline _syscall2(int,gettimeofday,struct kernel_timeval *,tp,
void *, tzp)
static inline _syscall2(int,link,const char *,old,const char *,new)
static inline _syscall1(int,unlink,const char *, f)

View File

@ -19,8 +19,7 @@
* fstat -- Since we have no file system, we just return an error.
*/
int
_DEFUN (fstat, (fd, buf),
int fd _AND
fstat (int fd,
struct stat *buf)
{
buf->st_mode = S_IFCHR; /* Always pretend to be a tty */

View File

@ -19,8 +19,7 @@
* getpid -- only one process, so just return 1.
*/
int
_DEFUN (getpid, (),
)
getpid (void)
{
return __MYPID;
}

View File

@ -17,11 +17,10 @@
/*
* isatty -- returns 1 if connected to a terminal device,
* returns 0 if not. Since we're hooked up to a
* serial port, we'll say yes _AND return a 1.
* serial port, we'll say yes and return a 1.
*/
int
_DEFUN (isatty, (fd),
int fd)
isatty (int fd)
{
return (1);
}

View File

@ -19,8 +19,7 @@
* kill -- go out via exit...
*/
int
_DEFUN (kill, (pid, sig),
int pid _AND
kill (int pid,
int sig)
{
if(pid == __MYPID)

View File

@ -18,8 +18,7 @@
* putnum -- print a 32 bit number in hex
*/
void
_DEFUN (putnum, (num),
unsigned int num)
putnum (unsigned int num)
{
char buf[9];
int cnt;

View File

@ -20,8 +20,7 @@
* stat -- Since we have no file system, we just return an error.
*/
int
_DEFUN (stat, (path, buf),
const char *path _AND
stat (const char *path,
struct stat *buf)
{
errno = EIO;

View File

@ -22,6 +22,8 @@ datarootdir = @datarootdir@
mandir = @mandir@
man1dir = $(mandir)/man1
infodir = @infodir@
htmldir = @htmldir@
pdfdir = @pdfdir@
MAKEINFO = makeinfo
TEXI2DVI = TEXINPUTS=$(TEXIDIR):$(srcdir):$$TEXINPUTS texi2dvi
@ -69,7 +71,7 @@ porting.html: $(srcdir)/porting.texi $(srcdir)/porting.texi
porting.ps: porting.dvi
dvips -f porting.dvi > porting.ps
# different targets for -ms, -mm, -me
# Try to use a recent texi2roff. v2 was put on prep in jan91.
# If you want an index, see texi2roff doc for postprocessing
@ -146,6 +148,23 @@ install-info: info
$(INSTALL_DATA) $$i $(DESTDIR)$(infodir)/$$i ; \
done
install-pdf: pdf
for i in *.pdf ; do \
$(INSTALL_DATA) $$i $(DESTDIR)$(pdfdir)/$$i ; \
done
install-html: html
for i in *.html ; do \
if [ -d $$i ]; then \
mkdir -p $(DESTDIR)$(htmldir)/$$i ; \
for j in $$i/*.html ; do \
$(INSTALL_DATA) $$j $(DESTDIR)$(htmldir)/$$j ; \
done \
else \
$(INSTALL_DATA) $$i $(DESTDIR)$(htmldir)/$$i ; \
fi ; \
done
clean-info:
-rm -rf *.info*

View File

@ -20,7 +20,7 @@
#include <errno.h>
int
_DEFUN(_isatty, (fd), int fd)
_isatty (int fd)
{
struct stat buf;

View File

@ -19,8 +19,7 @@
* fstat -- Since we have no file system, we just return an error.
*/
int
_DEFUN (_fstat, (fd, buf),
int fd _AND
_fstat (int fd,
struct stat *buf)
{
buf->st_mode = S_IFCHR; /* Always pretend to be a tty */

View File

@ -18,8 +18,7 @@
* getpid -- only one process, so just return 1.
*/
int
_DEFUN (_getpid, (),
)
_getpid (void)
{
return __MYPID;
}

View File

@ -17,11 +17,10 @@
/*
* isatty -- returns 1 if connected to a terminal device,
* returns 0 if not. Since we're hooked up to a
* serial port, we'll say yes _AND return a 1.
* serial port, we'll say yes and return a 1.
*/
int
_DEFUN (_isatty, (fd),
int fd)
_isatty (int fd)
{
return (1);
}

View File

@ -20,8 +20,7 @@ extern void _exit (int) __attribute__((__noreturn__));
* kill -- go out via exit...
*/
int
_DEFUN (_kill, (pid, sig),
int pid _AND
_kill (int pid,
int sig)
{
if(pid == __MYPID)

View File

@ -18,8 +18,7 @@
* print -- do a raw print of a string
*/
void
_DEFUN (_print, (ptr),
char *ptr)
_print (char *ptr)
{
while (*ptr) {
outbyte (*ptr++);

View File

@ -18,8 +18,7 @@
* putnum -- print a 32 bit number in hex
*/
void
_DEFUN (_putnum, (num),
unsigned int num)
_putnum (unsigned int num)
{
char buf[9];
int cnt;

View File

@ -38,8 +38,7 @@ extern time_t _sim_time (void) __asm__("_sim_time");
* time -- return current time in seconds.
*/
time_t
_DEFUN (time, time (t),
time_t *t)
time (time_t *t)
{
time_t ret = _sim_time ();
@ -53,8 +52,7 @@ _DEFUN (time, time (t),
* _times -- no clock, so return an error.
*/
int
_DEFUN (_times, _times (buf),
struct tms *buf)
_times (struct tms *buf)
{
errno = EINVAL;
return (-1);
@ -65,8 +63,7 @@ _DEFUN (_times, _times (buf),
* microseconds.
*/
int
_DEFUN (_gettimeofday, _gettimeofday (tv, tz),
struct timeval *tv _AND
_gettimeofday (struct timeval *tv,
void *tzvp)
{
struct timezone *tz = tzvp;

View File

@ -20,8 +20,7 @@
* stat -- Since we have no file system, we just return an error.
*/
int
_DEFUN (_stat, (path, buf),
const char *path _AND
_stat (const char *path,
struct stat *buf)
{
errno = EIO;

View File

@ -19,8 +19,7 @@
* fstat -- Since we have no file system, we just return an error.
*/
int
_DEFUN (fstat, (fd, buf),
int fd _AND
fstat (int fd,
struct stat *buf)
{
buf->st_mode = S_IFCHR; /* Always pretend to be a tty */

View File

@ -19,8 +19,7 @@
* fstat -- Since we have no file system, we just return an error.
*/
int
_DEFUN (_fstat, (fd, buf),
int fd _AND
_fstat (int fd,
struct stat *buf)
{
buf->st_mode = S_IFCHR; /* Always pretend to be a tty */

View File

@ -18,8 +18,7 @@
* getpid -- only one process, so just return 1.
*/
int
_DEFUN (_getpid, (),
)
_getpid (void)
{
return __MYPID;
}

View File

@ -17,11 +17,10 @@
/*
* isatty -- returns 1 if connected to a terminal device,
* returns 0 if not. Since we're hooked up to a
* serial port, we'll say yes _AND return a 1.
* serial port, we'll say yes and return a 1.
*/
int
_DEFUN (_isatty, (fd),
int fd)
_isatty (int fd)
{
return (1);
}

View File

@ -20,8 +20,7 @@ extern void _exit (int) __attribute__((__noreturn__));
* kill -- go out via exit...
*/
int
_DEFUN (_kill, (pid, sig),
int pid _AND
_kill (int pid,
int sig)
{
if(pid == __MYPID)

View File

@ -22,9 +22,8 @@
* an error.
*/
off_t
_DEFUN (_lseek, (fd, offset, whence),
int fd _AND
off_t offset _AND
_lseek (int fd,
off_t offset,
int whence)
{
errno = ESPIPE;

View File

@ -22,9 +22,8 @@
* an error.
*/
off_t
_DEFUN (_lseek, (fd, offset, whence),
int fd _AND
off_t offset _AND
_lseek (int fd,
off_t offset,
int whence)
{
/* errno = ESPIPE; */

View File

@ -21,8 +21,7 @@
* _times -- no clock, so return an error.
*/
int
_DEFUN (_times, _times (buf),
struct tms *buf)
_times (struct tms *buf)
{
errno = EINVAL;
return (-1);
@ -33,8 +32,7 @@ _DEFUN (_times, _times (buf),
* microseconds.
*/
int
_DEFUN (_gettimeofday, _gettimeofday (tv, tz),
struct timeval *tv _AND
_gettimeofday (struct timeval *tv,
void *tzvp)
{
struct timezone *tz = tzvp;

View File

@ -20,8 +20,7 @@
* stat -- Since we have no file system, we just return an error.
*/
int
_DEFUN (_stat, (path, buf),
const char *path _AND
_stat (const char *path,
struct stat *buf)
{
errno = EIO;

View File

@ -18,8 +18,7 @@
* getpid -- only one process, so just return 1.
*/
int
_DEFUN (getpid, (),
)
getpid (void)
{
return __MYPID;
}

View File

@ -17,11 +17,10 @@
/*
* isatty -- returns 1 if connected to a terminal device,
* returns 0 if not. Since we're hooked up to a
* serial port, we'll say yes _AND return a 1.
* serial port, we'll say yes, return a 1.
*/
int
_DEFUN (isatty, (fd),
int fd)
isatty (int fd)
{
return (1);
}

View File

@ -18,8 +18,7 @@
* kill -- go out via exit...
*/
int
_DEFUN (kill, (pid, sig),
int pid _AND
kill (int pid,
int sig)
{
if(pid == __MYPID)

View File

@ -5,9 +5,8 @@
#include <_ansi.h>
#include <_syslist.h>
_VOID
_DEFUN (_exit, (rc),
int rc)
void
_exit (int rc)
{
/* Default stub just causes a divide by 0 exception. */
int x = rc / INT_MAX;

View File

@ -12,9 +12,8 @@ extern int errno;
#include "warning.h"
int
_DEFUN (_chown, (path, owner, group),
const char *path _AND
uid_t owner _AND
_chown (const char *path,
uid_t owner,
gid_t group)
{
errno = ENOSYS;

View File

@ -11,8 +11,7 @@ extern int errno;
#include "warning.h"
int
_DEFUN (_close, (fildes),
int fildes)
_close (int fildes)
{
errno = ENOSYS;
return -1;

View File

@ -2009,6 +2009,8 @@ case "${target}" in
;;
a29k-amd-udi)
;;
aarch64*-*-*)
;;
arc-*-*)
;;
arm*-*-*)
@ -2031,6 +2033,8 @@ case "${target}" in
;;
mn10?00-*-*)
;;
riscv*-*-*)
;;
powerpcle-*-pe)
;;
sh*-*-*)

View File

@ -43,6 +43,8 @@ case "${target}" in
;;
a29k-amd-udi)
;;
aarch64*-*-*)
;;
arc-*-*)
;;
arm*-*-*)
@ -65,6 +67,8 @@ case "${target}" in
;;
mn10?00-*-*)
;;
riscv*-*-*)
;;
powerpcle-*-pe)
;;
sh*-*-*)

View File

@ -11,9 +11,8 @@ extern int errno;
#include "warning.h"
int
_DEFUN (_execve, (name, argv, env),
char *name _AND
char **argv _AND
_execve (char *name,
char **argv,
char **env)
{
errno = ENOSYS;

View File

@ -11,8 +11,7 @@ extern int errno;
#include "warning.h"
int
_DEFUN (_fork, (),
_NOARGS)
_fork (void)
{
errno = ENOSYS;
return -1;

View File

@ -13,8 +13,7 @@ extern int errno;
#include "warning.h"
int
_DEFUN (_fstat, (fildes, st),
int fildes _AND
_fstat (int fildes,
struct stat *st)
{
errno = ENOSYS;

View File

@ -11,8 +11,7 @@ extern int errno;
#include "warning.h"
int
_DEFUN (_getpid, (),
_NOARGS)
_getpid (void)
{
errno = ENOSYS;
return -1;

View File

@ -15,8 +15,7 @@ extern int errno;
struct timeval;
int
_DEFUN (_gettimeofday, (ptimeval, ptimezone),
struct timeval *ptimeval _AND
_gettimeofday (struct timeval *ptimeval,
void *ptimezone)
{
errno = ENOSYS;

View File

@ -11,8 +11,7 @@ extern int errno;
#include "warning.h"
int
_DEFUN (_isatty, (file),
int file)
_isatty (int file)
{
errno = ENOSYS;
return 0;

View File

@ -11,8 +11,7 @@ extern int errno;
#include "warning.h"
int
_DEFUN (_kill, (pid, sig),
int pid _AND
_kill (int pid,
int sig)
{
errno = ENOSYS;

View File

@ -11,8 +11,7 @@ extern int errno;
#include "warning.h"
int
_DEFUN (_link, (existing, new),
char *existing _AND
_link (char *existing,
char *new)
{
errno = ENOSYS;

View File

@ -11,9 +11,8 @@ extern int errno;
#include "warning.h"
int
_DEFUN (_lseek, (file, ptr, dir),
int file _AND
int ptr _AND
_lseek (int file,
int ptr,
int dir)
{
errno = ENOSYS;

View File

@ -11,9 +11,8 @@ extern int errno;
#include "warning.h"
int
_DEFUN (_open, (file, flags, mode),
char *file _AND
int flags _AND
_open (char *file,
int flags,
int mode)
{
errno = ENOSYS;

View File

@ -11,9 +11,8 @@ extern int errno;
#include "warning.h"
int
_DEFUN (_read, (file, ptr, len),
int file _AND
char *ptr _AND
_read (int file,
char *ptr,
int len)
{
errno = ENOSYS;

View File

@ -12,9 +12,8 @@ extern int errno;
#include "warning.h"
int
_DEFUN (_readlink, (path, buf, bufsize),
const char *path _AND
char *buf _AND
_readlink (const char *path,
char *buf,
size_t bufsize)
{
errno = ENOSYS;

View File

@ -13,8 +13,7 @@ extern int errno;
#include "warning.h"
int
_DEFUN (_stat, (file, st),
const char *file _AND
_stat (const char *file,
struct stat *st)
{
errno = ENOSYS;

View File

@ -11,8 +11,7 @@ extern int errno;
#include "warning.h"
int
_DEFUN (_symlink, (path1, path2),
const char *path1 _AND
_symlink (const char *path1,
const char *path2)
{
errno = ENOSYS;

View File

@ -12,8 +12,7 @@ extern int errno;
#include "warning.h"
clock_t
_DEFUN (_times, (buf),
struct tms *buf)
_times (struct tms *buf)
{
errno = ENOSYS;
return -1;

View File

@ -11,8 +11,7 @@ extern int errno;
#include "warning.h"
int
_DEFUN (_unlink, (name),
char *name)
_unlink (char *name)
{
errno = ENOSYS;
return -1;

View File

@ -11,8 +11,7 @@ extern int errno;
#include "warning.h"
int
_DEFUN (_wait, (status),
int *status)
_wait (int *status)
{
errno = ENOSYS;
return -1;

View File

@ -11,9 +11,8 @@ extern int errno;
#include "warning.h"
int
_DEFUN (_write, (file, ptr, len),
int file _AND
char *ptr _AND
_write (int file,
char *ptr,
int len)
{
errno = ENOSYS;

View File

@ -33,8 +33,7 @@
* other files are not.
*/
int
_DEFUN (_isatty, (fd),
int fd)
_isatty (int fd)
{
if ((fd == 0) || (fd == 1) || (fd == 2))
return 1;

View File

@ -20,9 +20,8 @@
* lseek -- Since a serial port is non-seekable, we return an error.
*/
off_t
_DEFUN (lseek, (fd, offset, whence),
int fd _AND
off_t offset _AND
lseek (int fd,
off_t offset,
int whence)
{
errno = ESPIPE;

View File

@ -32,7 +32,7 @@
* from channel A
*/
char
_DEFUN_VOID (inbyte)
inbyte (void)
{
while ((READREG (DUART_SRA) & 0x01) == 0x00)
;

View File

@ -32,8 +32,7 @@
* to channel A.
*/
static void
_DEFUN (raw_outbyte, (byte),
char byte)
raw_outbyte (char byte)
{
/* First, wait for the UART to finish clocking out the last
character we sent, if any. Then, give it the next character to
@ -64,8 +63,7 @@ _DEFUN (raw_outbyte, (byte),
* latter we put in libidp.a, which is selected by idp.ld.
*/
void
_DEFUN (outbyte, (byte),
char byte)
outbyte (char byte)
{
#ifdef GDB_MONITOR_OUTPUT
raw_outbyte (0x0f);

View File

@ -25,8 +25,7 @@
* prompt. It can be restarted from there.
*/
void
_DEFUN (_exit, (status),
int_status)
_exit (int_status)
{
/* Use `i' constraint to get proper immediate-operand syntax for
target assembler configuration. */
@ -38,8 +37,7 @@ _DEFUN (_exit, (status),
* use the timer, but I'm waiting for docs. (sigh)
*/
void
_DEFUN (delay, (num),
int num)
delay (int num)
{
while (num--)
{

View File

@ -133,7 +133,7 @@ ExceptionHook exceptionHook; /* hook variable for errors/exceptions */
/* FORWARD DECLARATIONS */
/************************/
/** static void initializeRemcomErrorFrame PARAMS ((void)); **/
static void _DEFUN_VOID (initializeRemcomErrorFrame);
static void initializeRemcomErrorFrame (void);
/************************************************************************/
/* BUFMAX defines the maximum number of characters in inbound/outbound buffers*/
@ -203,9 +203,9 @@ jmp_buf remcomEnv;
#define BREAKPOINT() asm(" trap #1");
extern void _DEFUN_VOID (return_to_super);
extern void _DEFUN_VOID (return_to_user);
extern void _DEFUN_VOID (_catchException);
extern void return_to_super (void);
extern void return_to_user (void);
extern void _catchException (void);
void _returnFromException( Frame *frame )
{

View File

@ -18,8 +18,7 @@
* close -- We don't need to do anything, but pretend we did.
*/
int
_DEFUN (_close ,(fd),
int fd)
_close (int fd)
{
return (0);
}

View File

@ -18,8 +18,7 @@
* _exit -- Just cause a breakpoint so user can see why we exited.
*/
void
_DEFUN (_exit, (val),
int val)
_exit (int val)
{
while (1) {
asm("bkpt");

View File

@ -15,8 +15,7 @@
#include <_ansi.h>
int
_DEFUN (inbyte, (),
_NOARGS)
inbyte (void)
{
return -1;

View File

@ -33,8 +33,7 @@
* outbyte -- send a byte to the UART.
*/
void
_DEFUN (outbyte, (ch),
char ch)
outbyte (char ch)
{
while (!(*SRREG & TRDY))
;

View File

@ -19,8 +19,7 @@
* fstat -- Since we have no file system, we just return an error.
*/
int
_DEFUN (_fstat, (fd, buf),
int fd _AND
_fstat (int fd,
struct stat *buf)
{
buf->st_mode = S_IFCHR; /* Always pretend to be a tty */

View File

@ -18,8 +18,7 @@
* getpid -- only one process, so just return 1.
*/
int
_DEFUN (_getpid, (),
)
_getpid (void)
{
return __MYPID;
}

View File

@ -18,8 +18,7 @@
* kill -- go out via exit...
*/
int
_DEFUN (_kill, (pid, sig),
int pid _AND
_kill (int pid,
int sig)
{
if(pid == __MYPID)

View File

@ -20,9 +20,8 @@
* lseek -- Since a serial port is non-seekable, we return an error.
*/
off_t
_DEFUN (_lseek, (fd, offset, whence),
int fd _AND
off_t offset _AND
_lseek (int fd,
off_t offset,
int whence)
{
errno = ESPIPE;

View File

@ -20,9 +20,8 @@
* we return an error.
*/
int
_DEFUN (_open, (buf, flags, mode),
const char *buf _AND
int flags _AND
_open (const char *buf,
int flags,
int mode)
{
errno = EIO;

View File

@ -18,8 +18,7 @@
* print -- do a raw print of a string
*/
void
_DEFUN (_print, (ptr),
char *ptr)
_print (char *ptr)
{
while (*ptr) {
outbyte (*ptr++);

View File

@ -18,8 +18,7 @@
* putnum -- print a 32 bit number in hex
*/
void
_DEFUN (_putnum, (num),
unsigned int num)
_putnum (unsigned int num)
{
char buf[9];
int cnt;

View File

@ -15,8 +15,7 @@
#include "glue.h"
int
_DEFUN (_raise, (sig),
int sig)
_raise (int sig)
{
return _kill (_getpid (), sig);
}

Some files were not shown because too many files have changed in this diff Show More