History log of /openbsd-current/sys/arch/sparc64/stand/libsa/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.16 28-Jan-2024 deraadt

Force -fno-stack-protector on "boot block" that absolutely can't have
a stack protector (probably not even a -fstack-protector-strong) because
the bloat would render them unuseable. This also means the system
compiler can now take on any more it wants, and all the pieces which
can't use the stack protector are properly marked.
ok kettenis


Revision tags: OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE
# 1.15 25-May-2020 deraadt

fchmod() will be needed soon.
ok kettenis


Revision tags: OPENBSD_6_7_BASE
# 1.14 15-Mar-2020 otto

Teach sparc64 boot(8) about ffs2 and fix a bug while there: devopen()
can be called multiple times so nfsys needs to be initialized to 0 each time.
Note that the sparc64 bootblocks have no clue yet about ffs2 so this is not
the complete solution. ok kettenis@


Revision tags: OPENBSD_6_6_BASE
# 1.13 20-Apr-2019 deraadt

libsa's memcpy() is actually memmove(). make a proper memmove(), and give
memcpy() correct behaviour. This also brings the bcopy() macro into line.


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.12 06-Nov-2016 tb

Do not create machine@ symlinks in obj as root during includes:, but
defer their creation to later, so that they are owned by BUILDUSER.
This eliminates the last root-owned files in obj/ from 'make build'.
In addition, place a MACHINE == hppa test in hppa/stand/Makefile.inc
to avoid creating bogus symlinks on all other archs.

joint work with & ok natano, "let's try it" deraadt


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.11 16-Nov-2015 miod

Replace unbounded gets() in libsa with getln() which takes a buffer size,
and convert all gets() users.
ok deraadt@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.10 19-Nov-2014 miod

Move {recv,send}udp() out of net.c into their own file; to be used shortly.
Add the new files to the few md libsa builds which require it.


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.9 01-Jan-2013 miod

Remove libsa exec.c, not used by anything anymore; all boot blocks now use
loadfile or a derivative of.


# 1.8 30-Aug-2012 pascal

Kill NOPIE and NOPIE_FLAGS in sparc64/stand. Binaries are identical according
to deraadt@, ok kettenis@


# 1.7 21-Aug-2012 pascal

Add NOPIE= bits for sys/arch/*/stand to ensure that bootblocks will always be
built with -fno-pie. This gets the hairiest part of PIE out of the way ...

ok deraadt@


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.6 26-Nov-2007 deraadt

few more dribbles of LIBKERN cleanup


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE SMP_SYNC_A SMP_SYNC_B
# 1.5 01-Jun-2003 deraadt

strcpy/strcat/sprintf removal in all bootblocks. various testing by
various people. outside of some messy things in src/gnu, only one
thing in the main tree now violates this rule: bind


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE UBC_BASE UBC_SYNC_A UBC_SYNC_B
# 1.4 10-Oct-2001 miod

branches: 1.4.4;
Enable zlib in libsa (i.e. compressed kernels support in bootloaders)
ok deraadt@


# 1.3 06-Sep-2001 jason

use some make magic (borrowed from macppc) to build {obj/}machine


# 1.2 22-Aug-2001 art

make it work with our make infrastructure.


# 1.1 18-Aug-2001 jason

branches: 1.1.1;
Initial revision


# 1.15 25-May-2020 deraadt

fchmod() will be needed soon.
ok kettenis


Revision tags: OPENBSD_6_7_BASE
# 1.14 15-Mar-2020 otto

Teach sparc64 boot(8) about ffs2 and fix a bug while there: devopen()
can be called multiple times so nfsys needs to be initialized to 0 each time.
Note that the sparc64 bootblocks have no clue yet about ffs2 so this is not
the complete solution. ok kettenis@


Revision tags: OPENBSD_6_6_BASE
# 1.13 20-Apr-2019 deraadt

libsa's memcpy() is actually memmove(). make a proper memmove(), and give
memcpy() correct behaviour. This also brings the bcopy() macro into line.


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.12 06-Nov-2016 tb

Do not create machine@ symlinks in obj as root during includes:, but
defer their creation to later, so that they are owned by BUILDUSER.
This eliminates the last root-owned files in obj/ from 'make build'.
In addition, place a MACHINE == hppa test in hppa/stand/Makefile.inc
to avoid creating bogus symlinks on all other archs.

joint work with & ok natano, "let's try it" deraadt


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.11 16-Nov-2015 miod

Replace unbounded gets() in libsa with getln() which takes a buffer size,
and convert all gets() users.
ok deraadt@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.10 19-Nov-2014 miod

Move {recv,send}udp() out of net.c into their own file; to be used shortly.
Add the new files to the few md libsa builds which require it.


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.9 01-Jan-2013 miod

Remove libsa exec.c, not used by anything anymore; all boot blocks now use
loadfile or a derivative of.


# 1.8 30-Aug-2012 pascal

Kill NOPIE and NOPIE_FLAGS in sparc64/stand. Binaries are identical according
to deraadt@, ok kettenis@


# 1.7 21-Aug-2012 pascal

Add NOPIE= bits for sys/arch/*/stand to ensure that bootblocks will always be
built with -fno-pie. This gets the hairiest part of PIE out of the way ...

ok deraadt@


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.6 26-Nov-2007 deraadt

few more dribbles of LIBKERN cleanup


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE SMP_SYNC_A SMP_SYNC_B
# 1.5 01-Jun-2003 deraadt

strcpy/strcat/sprintf removal in all bootblocks. various testing by
various people. outside of some messy things in src/gnu, only one
thing in the main tree now violates this rule: bind


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE UBC_BASE UBC_SYNC_A UBC_SYNC_B
# 1.4 10-Oct-2001 miod

branches: 1.4.4;
Enable zlib in libsa (i.e. compressed kernels support in bootloaders)
ok deraadt@


# 1.3 06-Sep-2001 jason

use some make magic (borrowed from macppc) to build {obj/}machine


# 1.2 22-Aug-2001 art

make it work with our make infrastructure.


# 1.1 18-Aug-2001 jason

branches: 1.1.1;
Initial revision


# 1.14 15-Mar-2020 otto

Teach sparc64 boot(8) about ffs2 and fix a bug while there: devopen()
can be called multiple times so nfsys needs to be initialized to 0 each time.
Note that the sparc64 bootblocks have no clue yet about ffs2 so this is not
the complete solution. ok kettenis@


Revision tags: OPENBSD_6_6_BASE
# 1.13 20-Apr-2019 deraadt

libsa's memcpy() is actually memmove(). make a proper memmove(), and give
memcpy() correct behaviour. This also brings the bcopy() macro into line.


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.12 06-Nov-2016 tb

Do not create machine@ symlinks in obj as root during includes:, but
defer their creation to later, so that they are owned by BUILDUSER.
This eliminates the last root-owned files in obj/ from 'make build'.
In addition, place a MACHINE == hppa test in hppa/stand/Makefile.inc
to avoid creating bogus symlinks on all other archs.

joint work with & ok natano, "let's try it" deraadt


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.11 16-Nov-2015 miod

Replace unbounded gets() in libsa with getln() which takes a buffer size,
and convert all gets() users.
ok deraadt@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.10 19-Nov-2014 miod

Move {recv,send}udp() out of net.c into their own file; to be used shortly.
Add the new files to the few md libsa builds which require it.


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.9 01-Jan-2013 miod

Remove libsa exec.c, not used by anything anymore; all boot blocks now use
loadfile or a derivative of.


# 1.8 30-Aug-2012 pascal

Kill NOPIE and NOPIE_FLAGS in sparc64/stand. Binaries are identical according
to deraadt@, ok kettenis@


# 1.7 21-Aug-2012 pascal

Add NOPIE= bits for sys/arch/*/stand to ensure that bootblocks will always be
built with -fno-pie. This gets the hairiest part of PIE out of the way ...

ok deraadt@


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.6 26-Nov-2007 deraadt

few more dribbles of LIBKERN cleanup


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE SMP_SYNC_A SMP_SYNC_B
# 1.5 01-Jun-2003 deraadt

strcpy/strcat/sprintf removal in all bootblocks. various testing by
various people. outside of some messy things in src/gnu, only one
thing in the main tree now violates this rule: bind


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE UBC_BASE UBC_SYNC_A UBC_SYNC_B
# 1.4 10-Oct-2001 miod

branches: 1.4.4;
Enable zlib in libsa (i.e. compressed kernels support in bootloaders)
ok deraadt@


# 1.3 06-Sep-2001 jason

use some make magic (borrowed from macppc) to build {obj/}machine


# 1.2 22-Aug-2001 art

make it work with our make infrastructure.


# 1.1 18-Aug-2001 jason

branches: 1.1.1;
Initial revision


# 1.13 20-Apr-2019 deraadt

libsa's memcpy() is actually memmove(). make a proper memmove(), and give
memcpy() correct behaviour. This also brings the bcopy() macro into line.


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE
# 1.12 06-Nov-2016 tb

Do not create machine@ symlinks in obj as root during includes:, but
defer their creation to later, so that they are owned by BUILDUSER.
This eliminates the last root-owned files in obj/ from 'make build'.
In addition, place a MACHINE == hppa test in hppa/stand/Makefile.inc
to avoid creating bogus symlinks on all other archs.

joint work with & ok natano, "let's try it" deraadt


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.11 16-Nov-2015 miod

Replace unbounded gets() in libsa with getln() which takes a buffer size,
and convert all gets() users.
ok deraadt@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.10 19-Nov-2014 miod

Move {recv,send}udp() out of net.c into their own file; to be used shortly.
Add the new files to the few md libsa builds which require it.


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.9 01-Jan-2013 miod

Remove libsa exec.c, not used by anything anymore; all boot blocks now use
loadfile or a derivative of.


# 1.8 30-Aug-2012 pascal

Kill NOPIE and NOPIE_FLAGS in sparc64/stand. Binaries are identical according
to deraadt@, ok kettenis@


# 1.7 21-Aug-2012 pascal

Add NOPIE= bits for sys/arch/*/stand to ensure that bootblocks will always be
built with -fno-pie. This gets the hairiest part of PIE out of the way ...

ok deraadt@


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.6 26-Nov-2007 deraadt

few more dribbles of LIBKERN cleanup


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE SMP_SYNC_A SMP_SYNC_B
# 1.5 01-Jun-2003 deraadt

strcpy/strcat/sprintf removal in all bootblocks. various testing by
various people. outside of some messy things in src/gnu, only one
thing in the main tree now violates this rule: bind


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE UBC_BASE UBC_SYNC_A UBC_SYNC_B
# 1.4 10-Oct-2001 miod

branches: 1.4.4;
Enable zlib in libsa (i.e. compressed kernels support in bootloaders)
ok deraadt@


# 1.3 06-Sep-2001 jason

use some make magic (borrowed from macppc) to build {obj/}machine


# 1.2 22-Aug-2001 art

make it work with our make infrastructure.


# 1.1 18-Aug-2001 jason

branches: 1.1.1;
Initial revision


Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.12 06-Nov-2016 tb

Do not create machine@ symlinks in obj as root during includes:, but
defer their creation to later, so that they are owned by BUILDUSER.
This eliminates the last root-owned files in obj/ from 'make build'.
In addition, place a MACHINE == hppa test in hppa/stand/Makefile.inc
to avoid creating bogus symlinks on all other archs.

joint work with & ok natano, "let's try it" deraadt


Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.11 16-Nov-2015 miod

Replace unbounded gets() in libsa with getln() which takes a buffer size,
and convert all gets() users.
ok deraadt@


Revision tags: OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.10 19-Nov-2014 miod

Move {recv,send}udp() out of net.c into their own file; to be used shortly.
Add the new files to the few md libsa builds which require it.


Revision tags: OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE
# 1.9 01-Jan-2013 miod

Remove libsa exec.c, not used by anything anymore; all boot blocks now use
loadfile or a derivative of.


# 1.8 30-Aug-2012 pascal

Kill NOPIE and NOPIE_FLAGS in sparc64/stand. Binaries are identical according
to deraadt@, ok kettenis@


# 1.7 21-Aug-2012 pascal

Add NOPIE= bits for sys/arch/*/stand to ensure that bootblocks will always be
built with -fno-pie. This gets the hairiest part of PIE out of the way ...

ok deraadt@


Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE
# 1.6 26-Nov-2007 deraadt

few more dribbles of LIBKERN cleanup


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE SMP_SYNC_A SMP_SYNC_B
# 1.5 01-Jun-2003 deraadt

strcpy/strcat/sprintf removal in all bootblocks. various testing by
various people. outside of some messy things in src/gnu, only one
thing in the main tree now violates this rule: bind


Revision tags: OPENBSD_3_0_BASE OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE UBC_BASE UBC_SYNC_A UBC_SYNC_B
# 1.4 10-Oct-2001 miod

branches: 1.4.4;
Enable zlib in libsa (i.e. compressed kernels support in bootloaders)
ok deraadt@


# 1.3 06-Sep-2001 jason

use some make magic (borrowed from macppc) to build {obj/}machine


# 1.2 22-Aug-2001 art

make it work with our make infrastructure.


# 1.1 18-Aug-2001 jason

branches: 1.1.1;
Initial revision