History log of /netbsd-current/external/gpl3/binutils/usr.bin/ld/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: perseant-exfatfs-base-20240630
# 1.40 30-Jun-2024 christos

Merge conflicts between 2.39 and 2.42


Revision tags: perseant-exfatfs-base
# 1.39 27-Apr-2023 hgutch

branches: 1.39.2;
Unbreak creation of i386 PIEs on amd64.

Functional patch by RVP; set lists updated accordingly.

This fixes PR toolchain/57380.


# 1.38 09-Jan-2023 christos

Add the .xsce scripts


# 1.37 06-Jan-2023 christos

we don't copy ldscripts for i386 (why though?)


# 1.36 06-Jan-2023 christos

Turn on -z separate-code for x86, like linux has done. This splits the text
and data segment load sections into two pieces, for at total of 4 PT_LOAD
sections: two for text (r--, r-x) and two for data (r--, rw-). For x86_64
this changes the default max page size from 2M to 4K.


# 1.35 24-Dec-2022 christos

Merge conflicts between 2.34 and 2.39, and regen for x86_64


Revision tags: netbsd-10-0-RELEASE netbsd-10-0-RC6 netbsd-10-0-RC5 netbsd-10-0-RC4 netbsd-10-0-RC3 netbsd-10-0-RC2 netbsd-10-0-RC1 netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.34 25-Apr-2021 christos

Add a mipsn64 target


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 1.33 04-Apr-2020 christos

rename libctf to libgnuctf to avoid conflict with the sun version.


# 1.32 04-Apr-2020 christos

Regen x86, add libctf.


Revision tags: netbsd-9-4-RELEASE netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE is-mlppp-base netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
# 1.31 18-Apr-2019 mrg

- use the same set of emulations for riscv* on netbsd as linux does
- for riscv64-*netbsd* hosts and 32 bit target, set LIB_PATH
- build the other target emulations for riscv32 on riscv64
- regen riscv64 mknative for ld updates


# 1.30 25-Feb-2019 joerg

Properly extract the emulation path from the linker script template.


Revision tags: netbsd-8-3-RELEASE netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104
# 1.29 19-Oct-2016 mrg

branches: 1.29.14;
match aarch64* for the ldscripts generation.


# 1.28 15-Oct-2016 maya

this rule shouldn't be specific to little endian


# 1.27 14-Oct-2016 mrg

go back to only installing ldscripts for ports that need them (multi-abi)


# 1.26 14-Oct-2016 christos

Remove hacks and depend on the files being built to decide wha'ts being
installed.


# 1.25 13-Oct-2016 martin

Install the arm ldscripts for big endian variants too


# 1.24 11-Oct-2016 mrg

build and install the arm ldscripts. now i can build oabi again.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.23 29-Jan-2016 christos

branches: 1.23.2;
merge conflicts, regen for x86.


# 1.22 26-Jan-2016 christos

Centralize the definition of TOP/DIST and cleanup a little.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.21 03-Oct-2013 mrg

regenerate most of the binutils mknative files, and remove the
G_enable_initfini_array hack from ld/Makefile.


# 1.20 01-Oct-2013 skrll

Use G_enable_initfini_array and default to no while mknative is rerun.


# 1.19 29-Sep-2013 christos

regen


# 1.18 13-Aug-2013 drochner

add to CLEANFILES at some places, for generated files


# 1.17 05-Aug-2013 matt

Use BINUTILS_MACHINE_ARCH instead of MACHINE_ARCH
BINUTILS_MACHINE_ARCH is MACHINE_ARCH,
except armv[467] is replaced with arm instead.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.16 14-Feb-2013 christos

re-order library dependencies to make sure that -lintl and -lz are after
the rest of the libraries so that static linking works.


# 1.15 14-Feb-2013 christos

fix previous


# 1.14 14-Feb-2013 matt

Use PROGDPLIBS


# 1.13 14-Feb-2013 matt

Use LIBDPLIBS


# 1.12 14-Feb-2013 matt

Deal with MKPICLIB=no fallout


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.11 25-Sep-2011 christos

branches: 1.11.2; 1.11.8;
Merge new binutils. Only x86_64 works now; the rest will need to run mknative
again (at least).


# 1.10 10-Sep-2011 apb

Don't include .depend.* files during "make clean" or "make cleandir"


Revision tags: cherry-xenmp-base
# 1.9 05-Apr-2011 joerg

Fix typo to embed the right path for N64


Revision tags: bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.8 14-Dec-2009 skrll

Re-run mknative for binutils.


Revision tags: matt-premerge-20091211
# 1.7 13-Dec-2009 mrg

- set EMUL_LIB_PATH* for relevant mips emulations
- make sure to install the all right mips ldscripts. XXX ugly


# 1.6 27-Nov-2009 skrll

Fix typo and hopefully the dependency problem that manifests itself with
compile problems around lang_insert_orphan.


# 1.5 10-Nov-2009 skrll

Move the kmodule linker script source into sys/modules/xldscripts. It is
not part of binutils and definitely not GPL v3.

Discussed with mrg.


# 1.4 10-Nov-2009 skrll

Add branding to native tools. Update make dependencies to pick up
changes.


# 1.3 27-Sep-2009 blymn

Make the tool chain build with MKOBJDIRS set to yes - fix by skrll.


# 1.2 26-Sep-2009 skrll

Remove some commented/redundant stuff.


# 1.1 18-Aug-2009 skrll

First cut at reachover and mknative output.


# 1.39 27-Apr-2023 hgutch

Unbreak creation of i386 PIEs on amd64.

Functional patch by RVP; set lists updated accordingly.

This fixes PR toolchain/57380.


# 1.38 09-Jan-2023 christos

Add the .xsce scripts


# 1.37 06-Jan-2023 christos

we don't copy ldscripts for i386 (why though?)


# 1.36 06-Jan-2023 christos

Turn on -z separate-code for x86, like linux has done. This splits the text
and data segment load sections into two pieces, for at total of 4 PT_LOAD
sections: two for text (r--, r-x) and two for data (r--, rw-). For x86_64
this changes the default max page size from 2M to 4K.


# 1.35 24-Dec-2022 christos

Merge conflicts between 2.34 and 2.39, and regen for x86_64


Revision tags: netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.34 25-Apr-2021 christos

Add a mipsn64 target


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 1.33 04-Apr-2020 christos

rename libctf to libgnuctf to avoid conflict with the sun version.


# 1.32 04-Apr-2020 christos

Regen x86, add libctf.


Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE is-mlppp-base netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
# 1.31 18-Apr-2019 mrg

- use the same set of emulations for riscv* on netbsd as linux does
- for riscv64-*netbsd* hosts and 32 bit target, set LIB_PATH
- build the other target emulations for riscv32 on riscv64
- regen riscv64 mknative for ld updates


# 1.30 25-Feb-2019 joerg

Properly extract the emulation path from the linker script template.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104
# 1.29 19-Oct-2016 mrg

branches: 1.29.14;
match aarch64* for the ldscripts generation.


# 1.28 15-Oct-2016 maya

this rule shouldn't be specific to little endian


# 1.27 14-Oct-2016 mrg

go back to only installing ldscripts for ports that need them (multi-abi)


# 1.26 14-Oct-2016 christos

Remove hacks and depend on the files being built to decide wha'ts being
installed.


# 1.25 13-Oct-2016 martin

Install the arm ldscripts for big endian variants too


# 1.24 11-Oct-2016 mrg

build and install the arm ldscripts. now i can build oabi again.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.23 29-Jan-2016 christos

branches: 1.23.2;
merge conflicts, regen for x86.


# 1.22 26-Jan-2016 christos

Centralize the definition of TOP/DIST and cleanup a little.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.21 03-Oct-2013 mrg

regenerate most of the binutils mknative files, and remove the
G_enable_initfini_array hack from ld/Makefile.


# 1.20 01-Oct-2013 skrll

Use G_enable_initfini_array and default to no while mknative is rerun.


# 1.19 29-Sep-2013 christos

regen


# 1.18 13-Aug-2013 drochner

add to CLEANFILES at some places, for generated files


# 1.17 05-Aug-2013 matt

Use BINUTILS_MACHINE_ARCH instead of MACHINE_ARCH
BINUTILS_MACHINE_ARCH is MACHINE_ARCH,
except armv[467] is replaced with arm instead.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.16 14-Feb-2013 christos

re-order library dependencies to make sure that -lintl and -lz are after
the rest of the libraries so that static linking works.


# 1.15 14-Feb-2013 christos

fix previous


# 1.14 14-Feb-2013 matt

Use PROGDPLIBS


# 1.13 14-Feb-2013 matt

Use LIBDPLIBS


# 1.12 14-Feb-2013 matt

Deal with MKPICLIB=no fallout


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.11 25-Sep-2011 christos

branches: 1.11.2; 1.11.8;
Merge new binutils. Only x86_64 works now; the rest will need to run mknative
again (at least).


# 1.10 10-Sep-2011 apb

Don't include .depend.* files during "make clean" or "make cleandir"


Revision tags: cherry-xenmp-base
# 1.9 05-Apr-2011 joerg

Fix typo to embed the right path for N64


Revision tags: bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.8 14-Dec-2009 skrll

Re-run mknative for binutils.


Revision tags: matt-premerge-20091211
# 1.7 13-Dec-2009 mrg

- set EMUL_LIB_PATH* for relevant mips emulations
- make sure to install the all right mips ldscripts. XXX ugly


# 1.6 27-Nov-2009 skrll

Fix typo and hopefully the dependency problem that manifests itself with
compile problems around lang_insert_orphan.


# 1.5 10-Nov-2009 skrll

Move the kmodule linker script source into sys/modules/xldscripts. It is
not part of binutils and definitely not GPL v3.

Discussed with mrg.


# 1.4 10-Nov-2009 skrll

Add branding to native tools. Update make dependencies to pick up
changes.


# 1.3 27-Sep-2009 blymn

Make the tool chain build with MKOBJDIRS set to yes - fix by skrll.


# 1.2 26-Sep-2009 skrll

Remove some commented/redundant stuff.


# 1.1 18-Aug-2009 skrll

First cut at reachover and mknative output.


# 1.38 09-Jan-2023 christos

Add the .xsce scripts


# 1.37 06-Jan-2023 christos

we don't copy ldscripts for i386 (why though?)


# 1.36 06-Jan-2023 christos

Turn on -z separate-code for x86, like linux has done. This splits the text
and data segment load sections into two pieces, for at total of 4 PT_LOAD
sections: two for text (r--, r-x) and two for data (r--, rw-). For x86_64
this changes the default max page size from 2M to 4K.


# 1.35 24-Dec-2022 christos

Merge conflicts between 2.34 and 2.39, and regen for x86_64


Revision tags: netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.34 25-Apr-2021 christos

Add a mipsn64 target


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 1.33 04-Apr-2020 christos

rename libctf to libgnuctf to avoid conflict with the sun version.


# 1.32 04-Apr-2020 christos

Regen x86, add libctf.


Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE is-mlppp-base netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
# 1.31 18-Apr-2019 mrg

- use the same set of emulations for riscv* on netbsd as linux does
- for riscv64-*netbsd* hosts and 32 bit target, set LIB_PATH
- build the other target emulations for riscv32 on riscv64
- regen riscv64 mknative for ld updates


# 1.30 25-Feb-2019 joerg

Properly extract the emulation path from the linker script template.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104
# 1.29 19-Oct-2016 mrg

branches: 1.29.14;
match aarch64* for the ldscripts generation.


# 1.28 15-Oct-2016 maya

this rule shouldn't be specific to little endian


# 1.27 14-Oct-2016 mrg

go back to only installing ldscripts for ports that need them (multi-abi)


# 1.26 14-Oct-2016 christos

Remove hacks and depend on the files being built to decide wha'ts being
installed.


# 1.25 13-Oct-2016 martin

Install the arm ldscripts for big endian variants too


# 1.24 11-Oct-2016 mrg

build and install the arm ldscripts. now i can build oabi again.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.23 29-Jan-2016 christos

branches: 1.23.2;
merge conflicts, regen for x86.


# 1.22 26-Jan-2016 christos

Centralize the definition of TOP/DIST and cleanup a little.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.21 03-Oct-2013 mrg

regenerate most of the binutils mknative files, and remove the
G_enable_initfini_array hack from ld/Makefile.


# 1.20 01-Oct-2013 skrll

Use G_enable_initfini_array and default to no while mknative is rerun.


# 1.19 29-Sep-2013 christos

regen


# 1.18 13-Aug-2013 drochner

add to CLEANFILES at some places, for generated files


# 1.17 05-Aug-2013 matt

Use BINUTILS_MACHINE_ARCH instead of MACHINE_ARCH
BINUTILS_MACHINE_ARCH is MACHINE_ARCH,
except armv[467] is replaced with arm instead.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.16 14-Feb-2013 christos

re-order library dependencies to make sure that -lintl and -lz are after
the rest of the libraries so that static linking works.


# 1.15 14-Feb-2013 christos

fix previous


# 1.14 14-Feb-2013 matt

Use PROGDPLIBS


# 1.13 14-Feb-2013 matt

Use LIBDPLIBS


# 1.12 14-Feb-2013 matt

Deal with MKPICLIB=no fallout


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.11 25-Sep-2011 christos

branches: 1.11.2; 1.11.8;
Merge new binutils. Only x86_64 works now; the rest will need to run mknative
again (at least).


# 1.10 10-Sep-2011 apb

Don't include .depend.* files during "make clean" or "make cleandir"


Revision tags: cherry-xenmp-base
# 1.9 05-Apr-2011 joerg

Fix typo to embed the right path for N64


Revision tags: bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.8 14-Dec-2009 skrll

Re-run mknative for binutils.


Revision tags: matt-premerge-20091211
# 1.7 13-Dec-2009 mrg

- set EMUL_LIB_PATH* for relevant mips emulations
- make sure to install the all right mips ldscripts. XXX ugly


# 1.6 27-Nov-2009 skrll

Fix typo and hopefully the dependency problem that manifests itself with
compile problems around lang_insert_orphan.


# 1.5 10-Nov-2009 skrll

Move the kmodule linker script source into sys/modules/xldscripts. It is
not part of binutils and definitely not GPL v3.

Discussed with mrg.


# 1.4 10-Nov-2009 skrll

Add branding to native tools. Update make dependencies to pick up
changes.


# 1.3 27-Sep-2009 blymn

Make the tool chain build with MKOBJDIRS set to yes - fix by skrll.


# 1.2 26-Sep-2009 skrll

Remove some commented/redundant stuff.


# 1.1 18-Aug-2009 skrll

First cut at reachover and mknative output.


# 1.37 06-Jan-2023 christos

we don't copy ldscripts for i386 (why though?)


# 1.36 06-Jan-2023 christos

Turn on -z separate-code for x86, like linux has done. This splits the text
and data segment load sections into two pieces, for at total of 4 PT_LOAD
sections: two for text (r--, r-x) and two for data (r--, rw-). For x86_64
this changes the default max page size from 2M to 4K.


# 1.35 24-Dec-2022 christos

Merge conflicts between 2.34 and 2.39, and regen for x86_64


Revision tags: netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.34 25-Apr-2021 christos

Add a mipsn64 target


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 1.33 04-Apr-2020 christos

rename libctf to libgnuctf to avoid conflict with the sun version.


# 1.32 04-Apr-2020 christos

Regen x86, add libctf.


Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE is-mlppp-base netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
# 1.31 18-Apr-2019 mrg

- use the same set of emulations for riscv* on netbsd as linux does
- for riscv64-*netbsd* hosts and 32 bit target, set LIB_PATH
- build the other target emulations for riscv32 on riscv64
- regen riscv64 mknative for ld updates


# 1.30 25-Feb-2019 joerg

Properly extract the emulation path from the linker script template.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104
# 1.29 19-Oct-2016 mrg

branches: 1.29.14;
match aarch64* for the ldscripts generation.


# 1.28 15-Oct-2016 maya

this rule shouldn't be specific to little endian


# 1.27 14-Oct-2016 mrg

go back to only installing ldscripts for ports that need them (multi-abi)


# 1.26 14-Oct-2016 christos

Remove hacks and depend on the files being built to decide wha'ts being
installed.


# 1.25 13-Oct-2016 martin

Install the arm ldscripts for big endian variants too


# 1.24 11-Oct-2016 mrg

build and install the arm ldscripts. now i can build oabi again.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.23 29-Jan-2016 christos

branches: 1.23.2;
merge conflicts, regen for x86.


# 1.22 26-Jan-2016 christos

Centralize the definition of TOP/DIST and cleanup a little.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.21 03-Oct-2013 mrg

regenerate most of the binutils mknative files, and remove the
G_enable_initfini_array hack from ld/Makefile.


# 1.20 01-Oct-2013 skrll

Use G_enable_initfini_array and default to no while mknative is rerun.


# 1.19 29-Sep-2013 christos

regen


# 1.18 13-Aug-2013 drochner

add to CLEANFILES at some places, for generated files


# 1.17 05-Aug-2013 matt

Use BINUTILS_MACHINE_ARCH instead of MACHINE_ARCH
BINUTILS_MACHINE_ARCH is MACHINE_ARCH,
except armv[467] is replaced with arm instead.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.16 14-Feb-2013 christos

re-order library dependencies to make sure that -lintl and -lz are after
the rest of the libraries so that static linking works.


# 1.15 14-Feb-2013 christos

fix previous


# 1.14 14-Feb-2013 matt

Use PROGDPLIBS


# 1.13 14-Feb-2013 matt

Use LIBDPLIBS


# 1.12 14-Feb-2013 matt

Deal with MKPICLIB=no fallout


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.11 25-Sep-2011 christos

branches: 1.11.2; 1.11.8;
Merge new binutils. Only x86_64 works now; the rest will need to run mknative
again (at least).


# 1.10 10-Sep-2011 apb

Don't include .depend.* files during "make clean" or "make cleandir"


Revision tags: cherry-xenmp-base
# 1.9 05-Apr-2011 joerg

Fix typo to embed the right path for N64


Revision tags: bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.8 14-Dec-2009 skrll

Re-run mknative for binutils.


Revision tags: matt-premerge-20091211
# 1.7 13-Dec-2009 mrg

- set EMUL_LIB_PATH* for relevant mips emulations
- make sure to install the all right mips ldscripts. XXX ugly


# 1.6 27-Nov-2009 skrll

Fix typo and hopefully the dependency problem that manifests itself with
compile problems around lang_insert_orphan.


# 1.5 10-Nov-2009 skrll

Move the kmodule linker script source into sys/modules/xldscripts. It is
not part of binutils and definitely not GPL v3.

Discussed with mrg.


# 1.4 10-Nov-2009 skrll

Add branding to native tools. Update make dependencies to pick up
changes.


# 1.3 27-Sep-2009 blymn

Make the tool chain build with MKOBJDIRS set to yes - fix by skrll.


# 1.2 26-Sep-2009 skrll

Remove some commented/redundant stuff.


# 1.1 18-Aug-2009 skrll

First cut at reachover and mknative output.


# 1.35 24-Dec-2022 christos

Merge conflicts between 2.34 and 2.39, and regen for x86_64


Revision tags: netbsd-10-base cjep_sun2x-base1 cjep_sun2x-base cjep_staticlib_x-base1 cjep_staticlib_x-base
# 1.34 25-Apr-2021 christos

Add a mipsn64 target


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 1.33 04-Apr-2020 christos

rename libctf to libgnuctf to avoid conflict with the sun version.


# 1.32 04-Apr-2020 christos

Regen x86, add libctf.


Revision tags: netbsd-9-3-RELEASE netbsd-9-2-RELEASE netbsd-9-1-RELEASE is-mlppp-base netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
# 1.31 18-Apr-2019 mrg

- use the same set of emulations for riscv* on netbsd as linux does
- for riscv64-*netbsd* hosts and 32 bit target, set LIB_PATH
- build the other target emulations for riscv32 on riscv64
- regen riscv64 mknative for ld updates


# 1.30 25-Feb-2019 joerg

Properly extract the emulation path from the linker script template.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104
# 1.29 19-Oct-2016 mrg

branches: 1.29.14;
match aarch64* for the ldscripts generation.


# 1.28 15-Oct-2016 maya

this rule shouldn't be specific to little endian


# 1.27 14-Oct-2016 mrg

go back to only installing ldscripts for ports that need them (multi-abi)


# 1.26 14-Oct-2016 christos

Remove hacks and depend on the files being built to decide wha'ts being
installed.


# 1.25 13-Oct-2016 martin

Install the arm ldscripts for big endian variants too


# 1.24 11-Oct-2016 mrg

build and install the arm ldscripts. now i can build oabi again.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.23 29-Jan-2016 christos

branches: 1.23.2;
merge conflicts, regen for x86.


# 1.22 26-Jan-2016 christos

Centralize the definition of TOP/DIST and cleanup a little.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.21 03-Oct-2013 mrg

regenerate most of the binutils mknative files, and remove the
G_enable_initfini_array hack from ld/Makefile.


# 1.20 01-Oct-2013 skrll

Use G_enable_initfini_array and default to no while mknative is rerun.


# 1.19 29-Sep-2013 christos

regen


# 1.18 13-Aug-2013 drochner

add to CLEANFILES at some places, for generated files


# 1.17 05-Aug-2013 matt

Use BINUTILS_MACHINE_ARCH instead of MACHINE_ARCH
BINUTILS_MACHINE_ARCH is MACHINE_ARCH,
except armv[467] is replaced with arm instead.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.16 14-Feb-2013 christos

re-order library dependencies to make sure that -lintl and -lz are after
the rest of the libraries so that static linking works.


# 1.15 14-Feb-2013 christos

fix previous


# 1.14 14-Feb-2013 matt

Use PROGDPLIBS


# 1.13 14-Feb-2013 matt

Use LIBDPLIBS


# 1.12 14-Feb-2013 matt

Deal with MKPICLIB=no fallout


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.11 25-Sep-2011 christos

branches: 1.11.2; 1.11.8;
Merge new binutils. Only x86_64 works now; the rest will need to run mknative
again (at least).


# 1.10 10-Sep-2011 apb

Don't include .depend.* files during "make clean" or "make cleandir"


Revision tags: cherry-xenmp-base
# 1.9 05-Apr-2011 joerg

Fix typo to embed the right path for N64


Revision tags: bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.8 14-Dec-2009 skrll

Re-run mknative for binutils.


Revision tags: matt-premerge-20091211
# 1.7 13-Dec-2009 mrg

- set EMUL_LIB_PATH* for relevant mips emulations
- make sure to install the all right mips ldscripts. XXX ugly


# 1.6 27-Nov-2009 skrll

Fix typo and hopefully the dependency problem that manifests itself with
compile problems around lang_insert_orphan.


# 1.5 10-Nov-2009 skrll

Move the kmodule linker script source into sys/modules/xldscripts. It is
not part of binutils and definitely not GPL v3.

Discussed with mrg.


# 1.4 10-Nov-2009 skrll

Add branding to native tools. Update make dependencies to pick up
changes.


# 1.3 27-Sep-2009 blymn

Make the tool chain build with MKOBJDIRS set to yes - fix by skrll.


# 1.2 26-Sep-2009 skrll

Remove some commented/redundant stuff.


# 1.1 18-Aug-2009 skrll

First cut at reachover and mknative output.


# 1.34 25-Apr-2021 christos

Add a mipsn64 target


Revision tags: phil-wifi-20200421 phil-wifi-20200411 phil-wifi-20200406
# 1.33 04-Apr-2020 christos

rename libctf to libgnuctf to avoid conflict with the sun version.


# 1.32 04-Apr-2020 christos

Regen x86, add libctf.


Revision tags: netbsd-9-1-RELEASE is-mlppp-base netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
# 1.31 18-Apr-2019 mrg

- use the same set of emulations for riscv* on netbsd as linux does
- for riscv64-*netbsd* hosts and 32 bit target, set LIB_PATH
- build the other target emulations for riscv32 on riscv64
- regen riscv64 mknative for ld updates


# 1.30 25-Feb-2019 joerg

Properly extract the emulation path from the linker script template.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104
# 1.29 19-Oct-2016 mrg

branches: 1.29.14;
match aarch64* for the ldscripts generation.


# 1.28 15-Oct-2016 maya

this rule shouldn't be specific to little endian


# 1.27 14-Oct-2016 mrg

go back to only installing ldscripts for ports that need them (multi-abi)


# 1.26 14-Oct-2016 christos

Remove hacks and depend on the files being built to decide wha'ts being
installed.


# 1.25 13-Oct-2016 martin

Install the arm ldscripts for big endian variants too


# 1.24 11-Oct-2016 mrg

build and install the arm ldscripts. now i can build oabi again.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.23 29-Jan-2016 christos

branches: 1.23.2;
merge conflicts, regen for x86.


# 1.22 26-Jan-2016 christos

Centralize the definition of TOP/DIST and cleanup a little.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.21 03-Oct-2013 mrg

regenerate most of the binutils mknative files, and remove the
G_enable_initfini_array hack from ld/Makefile.


# 1.20 01-Oct-2013 skrll

Use G_enable_initfini_array and default to no while mknative is rerun.


# 1.19 29-Sep-2013 christos

regen


# 1.18 13-Aug-2013 drochner

add to CLEANFILES at some places, for generated files


# 1.17 05-Aug-2013 matt

Use BINUTILS_MACHINE_ARCH instead of MACHINE_ARCH
BINUTILS_MACHINE_ARCH is MACHINE_ARCH,
except armv[467] is replaced with arm instead.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.16 14-Feb-2013 christos

re-order library dependencies to make sure that -lintl and -lz are after
the rest of the libraries so that static linking works.


# 1.15 14-Feb-2013 christos

fix previous


# 1.14 14-Feb-2013 matt

Use PROGDPLIBS


# 1.13 14-Feb-2013 matt

Use LIBDPLIBS


# 1.12 14-Feb-2013 matt

Deal with MKPICLIB=no fallout


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.11 25-Sep-2011 christos

branches: 1.11.2; 1.11.8;
Merge new binutils. Only x86_64 works now; the rest will need to run mknative
again (at least).


# 1.10 10-Sep-2011 apb

Don't include .depend.* files during "make clean" or "make cleandir"


Revision tags: cherry-xenmp-base
# 1.9 05-Apr-2011 joerg

Fix typo to embed the right path for N64


Revision tags: bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.8 14-Dec-2009 skrll

Re-run mknative for binutils.


Revision tags: matt-premerge-20091211
# 1.7 13-Dec-2009 mrg

- set EMUL_LIB_PATH* for relevant mips emulations
- make sure to install the all right mips ldscripts. XXX ugly


# 1.6 27-Nov-2009 skrll

Fix typo and hopefully the dependency problem that manifests itself with
compile problems around lang_insert_orphan.


# 1.5 10-Nov-2009 skrll

Move the kmodule linker script source into sys/modules/xldscripts. It is
not part of binutils and definitely not GPL v3.

Discussed with mrg.


# 1.4 10-Nov-2009 skrll

Add branding to native tools. Update make dependencies to pick up
changes.


# 1.3 27-Sep-2009 blymn

Make the tool chain build with MKOBJDIRS set to yes - fix by skrll.


# 1.2 26-Sep-2009 skrll

Remove some commented/redundant stuff.


# 1.1 18-Aug-2009 skrll

First cut at reachover and mknative output.


# 1.33 04-Apr-2020 christos

rename libctf to libgnuctf to avoid conflict with the sun version.


# 1.32 04-Apr-2020 christos

Regen x86, add libctf.


Revision tags: netbsd-9-0-RELEASE netbsd-9-0-RC2 netbsd-9-0-RC1 phil-wifi-20191119 netbsd-9-base phil-wifi-20190609
# 1.31 18-Apr-2019 mrg

- use the same set of emulations for riscv* on netbsd as linux does
- for riscv64-*netbsd* hosts and 32 bit target, set LIB_PATH
- build the other target emulations for riscv32 on riscv64
- regen riscv64 mknative for ld updates


# 1.30 25-Feb-2019 joerg

Properly extract the emulation path from the linker script template.


Revision tags: netbsd-8-2-RELEASE netbsd-8-1-RELEASE netbsd-8-1-RC1 pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104
# 1.29 19-Oct-2016 mrg

branches: 1.29.14;
match aarch64* for the ldscripts generation.


# 1.28 15-Oct-2016 maya

this rule shouldn't be specific to little endian


# 1.27 14-Oct-2016 mrg

go back to only installing ldscripts for ports that need them (multi-abi)


# 1.26 14-Oct-2016 christos

Remove hacks and depend on the files being built to decide wha'ts being
installed.


# 1.25 13-Oct-2016 martin

Install the arm ldscripts for big endian variants too


# 1.24 11-Oct-2016 mrg

build and install the arm ldscripts. now i can build oabi again.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.23 29-Jan-2016 christos

branches: 1.23.2;
merge conflicts, regen for x86.


# 1.22 26-Jan-2016 christos

Centralize the definition of TOP/DIST and cleanup a little.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.21 03-Oct-2013 mrg

regenerate most of the binutils mknative files, and remove the
G_enable_initfini_array hack from ld/Makefile.


# 1.20 01-Oct-2013 skrll

Use G_enable_initfini_array and default to no while mknative is rerun.


# 1.19 29-Sep-2013 christos

regen


# 1.18 13-Aug-2013 drochner

add to CLEANFILES at some places, for generated files


# 1.17 05-Aug-2013 matt

Use BINUTILS_MACHINE_ARCH instead of MACHINE_ARCH
BINUTILS_MACHINE_ARCH is MACHINE_ARCH,
except armv[467] is replaced with arm instead.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.16 14-Feb-2013 christos

re-order library dependencies to make sure that -lintl and -lz are after
the rest of the libraries so that static linking works.


# 1.15 14-Feb-2013 christos

fix previous


# 1.14 14-Feb-2013 matt

Use PROGDPLIBS


# 1.13 14-Feb-2013 matt

Use LIBDPLIBS


# 1.12 14-Feb-2013 matt

Deal with MKPICLIB=no fallout


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.11 25-Sep-2011 christos

branches: 1.11.2; 1.11.8;
Merge new binutils. Only x86_64 works now; the rest will need to run mknative
again (at least).


# 1.10 10-Sep-2011 apb

Don't include .depend.* files during "make clean" or "make cleandir"


Revision tags: cherry-xenmp-base
# 1.9 05-Apr-2011 joerg

Fix typo to embed the right path for N64


Revision tags: bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.8 14-Dec-2009 skrll

Re-run mknative for binutils.


Revision tags: matt-premerge-20091211
# 1.7 13-Dec-2009 mrg

- set EMUL_LIB_PATH* for relevant mips emulations
- make sure to install the all right mips ldscripts. XXX ugly


# 1.6 27-Nov-2009 skrll

Fix typo and hopefully the dependency problem that manifests itself with
compile problems around lang_insert_orphan.


# 1.5 10-Nov-2009 skrll

Move the kmodule linker script source into sys/modules/xldscripts. It is
not part of binutils and definitely not GPL v3.

Discussed with mrg.


# 1.4 10-Nov-2009 skrll

Add branding to native tools. Update make dependencies to pick up
changes.


# 1.3 27-Sep-2009 blymn

Make the tool chain build with MKOBJDIRS set to yes - fix by skrll.


# 1.2 26-Sep-2009 skrll

Remove some commented/redundant stuff.


# 1.1 18-Aug-2009 skrll

First cut at reachover and mknative output.


# 1.31 18-Apr-2019 mrg

- use the same set of emulations for riscv* on netbsd as linux does
- for riscv64-*netbsd* hosts and 32 bit target, set LIB_PATH
- build the other target emulations for riscv32 on riscv64
- regen riscv64 mknative for ld updates


# 1.30 25-Feb-2019 joerg

Properly extract the emulation path from the linker script template.


Revision tags: pgoyette-compat-merge-20190127 pgoyette-compat-20190127 pgoyette-compat-20190118 pgoyette-compat-1226 pgoyette-compat-1126 pgoyette-compat-1020 pgoyette-compat-0930 pgoyette-compat-0906 pgoyette-compat-0728 netbsd-8-0-RELEASE phil-wifi-base pgoyette-compat-0625 netbsd-8-0-RC2 pgoyette-compat-0521 pgoyette-compat-0502 pgoyette-compat-0422 netbsd-8-0-RC1 pgoyette-compat-0415 pgoyette-compat-0407 pgoyette-compat-0330 pgoyette-compat-0322 pgoyette-compat-0315 pgoyette-compat-base matt-nb8-mediatek-base perseant-stdc-iso10646-base netbsd-8-base prg-localcount2-base3 prg-localcount2-base2 prg-localcount2-base1 prg-localcount2-base pgoyette-localcount-20170426 bouyer-socketcan-base1 pgoyette-localcount-20170320 bouyer-socketcan-base pgoyette-localcount-20170107 pgoyette-localcount-20161104
# 1.29 19-Oct-2016 mrg

match aarch64* for the ldscripts generation.


# 1.28 15-Oct-2016 maya

this rule shouldn't be specific to little endian


# 1.27 14-Oct-2016 mrg

go back to only installing ldscripts for ports that need them (multi-abi)


# 1.26 14-Oct-2016 christos

Remove hacks and depend on the files being built to decide wha'ts being
installed.


# 1.25 13-Oct-2016 martin

Install the arm ldscripts for big endian variants too


# 1.24 11-Oct-2016 mrg

build and install the arm ldscripts. now i can build oabi again.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.23 29-Jan-2016 christos

branches: 1.23.2;
merge conflicts, regen for x86.


# 1.22 26-Jan-2016 christos

Centralize the definition of TOP/DIST and cleanup a little.


Revision tags: netbsd-7-2-RELEASE netbsd-7-1-2-RELEASE netbsd-7-1-1-RELEASE netbsd-7-1-RELEASE netbsd-7-1-RC2 netbsd-7-nhusb-base-20170116 netbsd-7-1-RC1 netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.21 03-Oct-2013 mrg

regenerate most of the binutils mknative files, and remove the
G_enable_initfini_array hack from ld/Makefile.


# 1.20 01-Oct-2013 skrll

Use G_enable_initfini_array and default to no while mknative is rerun.


# 1.19 29-Sep-2013 christos

regen


# 1.18 13-Aug-2013 drochner

add to CLEANFILES at some places, for generated files


# 1.17 05-Aug-2013 matt

Use BINUTILS_MACHINE_ARCH instead of MACHINE_ARCH
BINUTILS_MACHINE_ARCH is MACHINE_ARCH,
except armv[467] is replaced with arm instead.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.16 14-Feb-2013 christos

re-order library dependencies to make sure that -lintl and -lz are after
the rest of the libraries so that static linking works.


# 1.15 14-Feb-2013 christos

fix previous


# 1.14 14-Feb-2013 matt

Use PROGDPLIBS


# 1.13 14-Feb-2013 matt

Use LIBDPLIBS


# 1.12 14-Feb-2013 matt

Deal with MKPICLIB=no fallout


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.11 25-Sep-2011 christos

branches: 1.11.2; 1.11.8;
Merge new binutils. Only x86_64 works now; the rest will need to run mknative
again (at least).


# 1.10 10-Sep-2011 apb

Don't include .depend.* files during "make clean" or "make cleandir"


Revision tags: cherry-xenmp-base
# 1.9 05-Apr-2011 joerg

Fix typo to embed the right path for N64


Revision tags: bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.8 14-Dec-2009 skrll

Re-run mknative for binutils.


Revision tags: matt-premerge-20091211
# 1.7 13-Dec-2009 mrg

- set EMUL_LIB_PATH* for relevant mips emulations
- make sure to install the all right mips ldscripts. XXX ugly


# 1.6 27-Nov-2009 skrll

Fix typo and hopefully the dependency problem that manifests itself with
compile problems around lang_insert_orphan.


# 1.5 10-Nov-2009 skrll

Move the kmodule linker script source into sys/modules/xldscripts. It is
not part of binutils and definitely not GPL v3.

Discussed with mrg.


# 1.4 10-Nov-2009 skrll

Add branding to native tools. Update make dependencies to pick up
changes.


# 1.3 27-Sep-2009 blymn

Make the tool chain build with MKOBJDIRS set to yes - fix by skrll.


# 1.2 26-Sep-2009 skrll

Remove some commented/redundant stuff.


# 1.1 18-Aug-2009 skrll

First cut at reachover and mknative output.


Revision tags: pgoyette-localcount-20161104
# 1.29 19-Oct-2016 mrg

match aarch64* for the ldscripts generation.


# 1.28 15-Oct-2016 maya

this rule shouldn't be specific to little endian


# 1.27 14-Oct-2016 mrg

go back to only installing ldscripts for ports that need them (multi-abi)


# 1.26 14-Oct-2016 christos

Remove hacks and depend on the files being built to decide wha'ts being
installed.


# 1.25 13-Oct-2016 martin

Install the arm ldscripts for big endian variants too


# 1.24 11-Oct-2016 mrg

build and install the arm ldscripts. now i can build oabi again.


Revision tags: localcount-20160914 pgoyette-localcount-20160806 pgoyette-localcount-20160726 pgoyette-localcount-base
# 1.23 29-Jan-2016 christos

branches: 1.23.2;
merge conflicts, regen for x86.


# 1.22 26-Jan-2016 christos

Centralize the definition of TOP/DIST and cleanup a little.


Revision tags: netbsd-7-0-2-RELEASE netbsd-7-nhusb-base netbsd-7-0-1-RELEASE netbsd-7-0-RELEASE netbsd-7-0-RC3 netbsd-7-0-RC2 netbsd-7-0-RC1 netbsd-7-base yamt-pagecache-base9 tls-earlyentropy-base riastradh-xf86-video-intel-2-7-1-pre-2-21-15 riastradh-drm2-base3 tls-maxphys-base
# 1.21 03-Oct-2013 mrg

regenerate most of the binutils mknative files, and remove the
G_enable_initfini_array hack from ld/Makefile.


# 1.20 01-Oct-2013 skrll

Use G_enable_initfini_array and default to no while mknative is rerun.


# 1.19 29-Sep-2013 christos

regen


# 1.18 13-Aug-2013 drochner

add to CLEANFILES at some places, for generated files


# 1.17 05-Aug-2013 matt

Use BINUTILS_MACHINE_ARCH instead of MACHINE_ARCH
BINUTILS_MACHINE_ARCH is MACHINE_ARCH,
except armv[467] is replaced with arm instead.


Revision tags: riastradh-drm2-base2 riastradh-drm2-base1 riastradh-drm2-base agc-symver-base
# 1.16 14-Feb-2013 christos

re-order library dependencies to make sure that -lintl and -lz are after
the rest of the libraries so that static linking works.


# 1.15 14-Feb-2013 christos

fix previous


# 1.14 14-Feb-2013 matt

Use PROGDPLIBS


# 1.13 14-Feb-2013 matt

Use LIBDPLIBS


# 1.12 14-Feb-2013 matt

Deal with MKPICLIB=no fallout


Revision tags: netbsd-6-0-6-RELEASE netbsd-6-1-5-RELEASE yamt-pagecache-tag8 netbsd-6-1-4-RELEASE netbsd-6-0-5-RELEASE netbsd-6-1-3-RELEASE netbsd-6-0-4-RELEASE netbsd-6-1-2-RELEASE netbsd-6-0-3-RELEASE netbsd-6-1-1-RELEASE netbsd-6-0-2-RELEASE netbsd-6-1-RELEASE netbsd-6-1-RC4 netbsd-6-1-RC3 netbsd-6-1-RC2 netbsd-6-1-RC1 yamt-pagecache-base8 netbsd-6-0-1-RELEASE yamt-pagecache-base7 matt-nb6-plus-nbase yamt-pagecache-base6 netbsd-6-0-RELEASE netbsd-6-0-RC2 matt-nb6-plus-base netbsd-6-0-RC1 yamt-pagecache-base5 yamt-pagecache-base4 netbsd-6-base yamt-pagecache-base3 yamt-pagecache-base2 yamt-pagecache-base
# 1.11 25-Sep-2011 christos

branches: 1.11.2; 1.11.8;
Merge new binutils. Only x86_64 works now; the rest will need to run mknative
again (at least).


# 1.10 10-Sep-2011 apb

Don't include .depend.* files during "make clean" or "make cleandir"


Revision tags: cherry-xenmp-base
# 1.9 05-Apr-2011 joerg

Fix typo to embed the right path for N64


Revision tags: bouyer-quota2-nbase bouyer-quota2-base matt-mips64-premerge-20101231
# 1.8 14-Dec-2009 skrll

Re-run mknative for binutils.


Revision tags: matt-premerge-20091211
# 1.7 13-Dec-2009 mrg

- set EMUL_LIB_PATH* for relevant mips emulations
- make sure to install the all right mips ldscripts. XXX ugly


# 1.6 27-Nov-2009 skrll

Fix typo and hopefully the dependency problem that manifests itself with
compile problems around lang_insert_orphan.


# 1.5 10-Nov-2009 skrll

Move the kmodule linker script source into sys/modules/xldscripts. It is
not part of binutils and definitely not GPL v3.

Discussed with mrg.


# 1.4 10-Nov-2009 skrll

Add branding to native tools. Update make dependencies to pick up
changes.


# 1.3 27-Sep-2009 blymn

Make the tool chain build with MKOBJDIRS set to yes - fix by skrll.


# 1.2 26-Sep-2009 skrll

Remove some commented/redundant stuff.


# 1.1 18-Aug-2009 skrll

First cut at reachover and mknative output.


# 1.21 03-Oct-2013 mrg

regenerate most of the binutils mknative files, and remove the
G_enable_initfini_array hack from ld/Makefile.


# 1.20 30-Sep-2013 skrll

Use G_enable_initfini_array and default to no while mknative is rerun.


# 1.19 29-Sep-2013 christos

regen


# 1.18 13-Aug-2013 drochner

add to CLEANFILES at some places, for generated files


# 1.17 04-Aug-2013 matt

Use BINUTILS_MACHINE_ARCH instead of MACHINE_ARCH
BINUTILS_MACHINE_ARCH is MACHINE_ARCH,
except armv[467] is replaced with arm instead.


# 1.16 14-Feb-2013 christos

re-order library dependencies to make sure that -lintl and -lz are after
the rest of the libraries so that static linking works.


# 1.15 13-Feb-2013 christos

fix previous


# 1.14 13-Feb-2013 matt

Use PROGDPLIBS


# 1.13 13-Feb-2013 matt

Use LIBDPLIBS


# 1.12 13-Feb-2013 matt

Deal with MKPICLIB=no fallout


# 1.11 24-Sep-2011 christos

branches: 1.11.2; 1.11.8;
Merge new binutils. Only x86_64 works now; the rest will need to run mknative
again (at least).


# 1.10 10-Sep-2011 apb

Don't include .depend.* files during "make clean" or "make cleandir"


# 1.9 05-Apr-2011 joerg

Fix typo to embed the right path for N64


# 1.8 14-Dec-2009 skrll

Re-run mknative for binutils.


# 1.7 13-Dec-2009 mrg

- set EMUL_LIB_PATH* for relevant mips emulations
- make sure to install the all right mips ldscripts. XXX ugly


# 1.6 27-Nov-2009 skrll

Fix typo and hopefully the dependency problem that manifests itself with
compile problems around lang_insert_orphan.


# 1.5 10-Nov-2009 skrll

Move the kmodule linker script source into sys/modules/xldscripts. It is
not part of binutils and definitely not GPL v3.

Discussed with mrg.


# 1.4 10-Nov-2009 skrll

Add branding to native tools. Update make dependencies to pick up
changes.


# 1.3 27-Sep-2009 blymn

Make the tool chain build with MKOBJDIRS set to yes - fix by skrll.


# 1.2 26-Sep-2009 skrll

Remove some commented/redundant stuff.


# 1.1 18-Aug-2009 skrll

First cut at reachover and mknative output.


# 1.11.8.2 19-Aug-2014 tls

Rebase to HEAD as of a few days ago.


# 1.11.8.1 24-Feb-2013 tls

resync with head


# 1.11.2.1 22-May-2014 yamt

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")