Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/atari/stand



Module Name:    src
Committed By:   tsutsui
Date:           Tue Jan  6 13:35:30 UTC 2009

Modified Files:
        src/sys/arch/atari/stand/bootxx: Makefile.bootxx bootxx.c
        src/sys/arch/atari/stand/bootxxx: Makefile.bootxxx bootxxx.c
        src/sys/arch/atari/stand/installboot: disklabel.c installboot.c
            installboot.h
        src/sys/arch/atari/stand/libsa: Makefile
        src/sys/arch/atari/stand/tostools/libtos: aout.c elf.c libtos.h
            sysinfo.c
        src/sys/arch/atari/stand/xxboot: Makefile.xxboot
Added Files:
        src/sys/arch/atari/stand: Makefile.booters
        src/sys/arch/atari/stand/bootxx: start.S
        src/sys/arch/atari/stand/bootxxx: start.S
Removed Files:
        src/sys/arch/atari/stand: Makefile.inc

Log Message:
Fix PR port-atari/40315: Bootloader fails on Atari TT030
 Add asm sources which provide a fixed entry point for raw bootxx and bootxxx
 because modern aggressive gcc4 may reorder functions in the same source
 and the first function in a C source won't always appear at the beginning
 in its object.

Also overhaul various files in the stand directory:
- rename stand/Makefile.inc to stand/Makefile.booters and
  explicitly include it from each Makefile because the stand
  directory contains non standalone programs like installboot and
  Makefile.inc will be included implicitly from all Makefiles in SUBDIRs
- put more common options into Makefile.booters so that
  all boot programs use proper options (-Os etc.)
- make standalone boot programs compile without installed ${DESTDIR}:
  - create machine and m68k symlinks in ${.OBJDIR} in all boot programs
  - set appropriate make environments to suppress errors and warnings
  - <string.h> isn't there in _STANDALONE case
  - put #ifdef TOSTOOLS (looks equivarent with !_STANDALONE)
    to some files in stand/tostools
  - use ${LD} ${LINKFLAGS} rather than ${CC} ${LDFLAGS}
- create raw binaries on ${PROG} target rather than on beforeinstall
  and stop weird renaming on beforeinstall and afterinstall
- print proper error message if bootxx size is larger than limit
- create ${DESTDIR}/usr/mdec/{milan,std} directories on beforeinstall
  in all boot programs
  (XXX: how can we put MD /usr/mdec/foo directories into src/etc/mtree?)
- prototype warnsfy
- cleanup Makefiles for readablity and remove unnecessary rules
- no need to use daddr_t in installboot because the AHDI label doesn't
  support 64 bit block numbers

Tested by David Ross (PR submitter) on port-atari, and
finally NetBSD/atari on TT030 is now fully functional.

Should be pulled up to netbsd-4 (where gcc4 was initially imported)
and netbsd-5.


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 src/sys/arch/atari/stand/Makefile.booters
cvs rdiff -r1.2 -r0 src/sys/arch/atari/stand/Makefile.inc
cvs rdiff -r1.7 -r1.8 src/sys/arch/atari/stand/bootxx/Makefile.bootxx
cvs rdiff -r1.12 -r1.13 src/sys/arch/atari/stand/bootxx/bootxx.c
cvs rdiff -r0 -r1.1 src/sys/arch/atari/stand/bootxx/start.S
cvs rdiff -r1.3 -r1.4 src/sys/arch/atari/stand/bootxxx/Makefile.bootxxx \
    src/sys/arch/atari/stand/bootxxx/bootxxx.c
cvs rdiff -r0 -r1.1 src/sys/arch/atari/stand/bootxxx/start.S
cvs rdiff -r1.2 -r1.3 src/sys/arch/atari/stand/installboot/disklabel.c
cvs rdiff -r1.21 -r1.22 src/sys/arch/atari/stand/installboot/installboot.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/atari/stand/installboot/installboot.h
cvs rdiff -r1.27 -r1.28 src/sys/arch/atari/stand/libsa/Makefile
cvs rdiff -r1.10 -r1.11 src/sys/arch/atari/stand/tostools/libtos/aout.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/atari/stand/tostools/libtos/elf.c
cvs rdiff -r1.4 -r1.5 src/sys/arch/atari/stand/tostools/libtos/libtos.h
cvs rdiff -r1.7 -r1.8 src/sys/arch/atari/stand/tostools/libtos/sysinfo.c
cvs rdiff -r1.4 -r1.5 src/sys/arch/atari/stand/xxboot/Makefile.xxboot

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



Home | Main Index | Thread Index | Old Index