Home | History | Annotate | Download | only in mkboot
History log of /src/sys/arch/hppa/stand/mkboot/mkboot.c
RevisionDateAuthorComments
 1.5  31-Oct-2024  gutteridge mkboot.c: ensure all functions are declared

Addresses build failure issue on current Linux distros that have a GCC
with implicit-function-declaration baked in as an error. Use be32toh(3)
instead of ntohl(3), seems to make more sense stylistically. Build
tested on Fedora 40.

Issue reported by Jan-Benedict Glaw. Also relevant to PR lib/58674.
 1.4  20-Mar-2024  christos remove extra stat (Jan-Benedict Glaw)
 1.3  08-Feb-2024  christos PR/57911: Jan-Benedict Glaw: Allow to set repro timestamp (and use it)
 1.2  21-Jan-2016  christos branches: 1.2.48;
PR/50684: David Binderman: Fix memory leak
 1.1  24-Feb-2014  skrll branches: 1.1.4; 1.1.6; 1.1.10; 1.1.12;
Rename NetBSD/hp700 to NetBSD/hppa.

Unfortunately our VCS isn't very helpful here.
 1.1.12.1  19-Mar-2016  skrll Sync with HEAD
 1.1.10.3  03-Dec-2017  jdolecek update from HEAD
 1.1.10.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1  24-Feb-2014  tls file mkboot.c was added on branch tls-maxphys on 2014-08-20 00:03:05 +0000
 1.1.6.2  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")
 1.1.6.1  24-Feb-2014  yamt file mkboot.c was added on branch yamt-pagecache on 2014-05-22 11:39:51 +0000
 1.1.4.2  18-May-2014  rmind sync with head
 1.1.4.1  24-Feb-2014  rmind file mkboot.c was added on branch rmind-smpnet on 2014-05-18 17:45:11 +0000
 1.2.48.1  15-Dec-2024  martin Pull up following revision(s) (requested by gutteridge in ticket #1019):

sys/arch/hppa/stand/mkboot/mkboot.c: revision 1.5
sys/arch/powerpc/stand/mkbootimage/mkbootimage.c: revision 1.21
usr.bin/elf2aout/elf2aout.c: revision 1.25

mkboot.c: ensure all functions are declared

Addresses build failure issue on current Linux distros that have a GCC
with implicit-function-declaration baked in as an error. Use be32toh(3)
instead of ntohl(3), seems to make more sense stylistically. Build
tested on Fedora 40.

Issue reported by Jan-Benedict Glaw. Also relevant to PR lib/58674.


elf2aout.c: switch to use htobe32(3)

As discussed on tech-toolchain. Tested with virt68k tools build on
Fedora 40. (Relevant to PR lib/58674.)


mkbootimage.c: consistently use sa_htobe32(2)

There were 38 calls to sa_htobe32(2) and two to htonl(3), mixed even
within the same function, with arpa/inet.h not included. (It's unclear
why this varied, as the original version of this file first checked in
included this discrepancy.)

Addresses build failure issue on current Linux distros that have a GCC
with implicit-function-declaration baked in as an error. Build tested
on Fedora 40.

Issue reported by Jan-Benedict Glaw. Also relevant to PR lib/58674.

RSS XML Feed