aboutsummaryrefslogtreecommitdiffstats
path: root/dos
Commit message (Collapse)AuthorAgeFilesLines
...
* | dos installer: reuse ldlinux_segH. Peter Anvin2009-05-251-1/+1
| | | | | | | | | | | | | | Make ldlinux_seg a global variable, and use it in syslxmod.c. This reduces the size of syslxmod.o fairly significantly. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | upx: try --lzma first, since --ultra-brute doesn't... sighH. Peter Anvin2009-05-191-1/+3
| | | | | | | | | | | | | | You'd think upx --ultra-brute would test everything that is possible, but not so. --lzma needs to be specified separately. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | dos: run UPX on the DOS installer binary if we have itH. Peter Anvin2009-05-191-0/+1
| | | | | | | | | | | | | | If UPX is installed on the host system, we might as well use it to compress the DOS installer binary. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | dos: add a prototype for calloc()H. Peter Anvin2009-05-191-0/+1
| | | | | | | | | | | | Add a prototype for calloc() to the DOS installer library. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Standardize the names SECTOR_SIZE and SECTOR_SHIFTH. Peter Anvin2009-05-191-7/+7
| | | | | | | | | | | | | | Use the names SECTOR_SIZE and SECTOR_SHIFT everywhere, instead of an odd mix of symbols and hard-coded constants. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | FAT: change DOS installer to EXE; additional 32K limit fixesH. Peter Anvin2009-05-198-165/+262
|/ | | | | | | | | | | | | | Additional fixes for the 32K limits in the installers. In the case of the DOS installer, that means changing it from COM format to EXE format (since COM format has a 63K hard limit); retain the name syslinux.com for user compatibility, though (DOS doesn't care what the extension except for pathname search; if it finds an MZ EXE header it will use it.) With the change to EXE means having to handle more than one segment. Since we don't have a real DOS compiler we have to wing it a bit. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Fix NASM dependency generationH. Peter Anvin2009-04-271-1/+1
| | | | | | | | | Fix missing -M from NASM dependency generation calls; adopt the uniform stanza "-M -DDEPEND" even for sites that were already correct. Also, use ">" not ">>" for obvious reasons... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Unify dependency generation: MCONFIG.embeddedH. Peter Anvin2009-04-271-10/+1
| | | | | | | Unify dependency generation and move common rules into MCONFIG.embedded. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Unify dependency generationH. Peter Anvin2009-04-271-5/+5
| | | | | | | | | | | | Make the dependency generation more common; have a general pattern in MCONFIG, and use it in rules (not in CFLAGS). For NASM source, in order to stay compatible with old versions of NASM, run NASM twice; newer versions of NASM is capable of generating dependencies simultaneously like gcc can, but that would break compatibility with older distros. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Clean up embedded Makefile targets; fix build failureH. Peter Anvin2008-08-221-16/+2
| | | | | | Unify common pieces to "embedded" targets (those that produce code that runs neither in the host nor in a com32 environment); this fixes the broken sample/ directory Makefile.
* Major Makefile cleanups; gcc 4.3.0 compatiblityH. Peter Anvin2008-08-201-22/+33
| | | | | Cleanup and centralize the Makefile system even more. Fix a gcc 4.3 incompatibility in memdisk (definition of strlen).
* Build _bin.c files in libinstaller; clean up B/I separationH. Peter Anvin2008-06-271-2/+4
| | | | | | | Clean up the BSUBDIR/ISUBDIR separation further. Build _bin.c files, which are an intermediate stage toward building the installers, in the libinstaller directory, since that directory is used by all the installers anyway. That also lets us get bin2c.pl out of the root.
* Move files out of root into core, dos, and utilsH. Peter Anvin2008-05-292-8/+284
| | | | | | | | Move source files out of the root directory; the root is a mess and has become virtually unmaintainable. The Syslinux core now lives in core/; the Linux and generic utilities has moved into utils/, and copybs.com has moved into dos/; it had to go somewhere, and it seemed as good a place as any.
* Assemble via ELF, to enable future linkingH. Peter Anvin2008-05-281-1/+2
| | | | | Assemble all files to ELF instead of using the NASM built-in linker. This can enable us to do actual linking in the future.
* Fixed the various Makefiles so that SYSLINUX compiles on platforms with GCC ↵Stefan Bucur2008-05-121-1/+2
| | | | -fstack-protector flag enabled by default.
* Use $(CC) in gcc_ok macro, not plain gccH. Peter Anvin2008-03-051-1/+1
| | | | | Use $(CC) in gcc_ok macro, not plain gcc. This seems to work, iff the gcc_ok macro is declared with =, not :=
* Prevent inclusion of system include files when inappropriateH. Peter Anvin2008-03-031-1/+2
| | | | | Use "-nostdinc -iwithprefix include" to prevent the inclusion of system header files, but still permitting *compiler* header files.
* Merge commit 'origin/master' into advH. Peter Anvin2008-01-103-3/+3
|\ | | | | | | | | | | Conflicts: extlinux/extlinux.c
| * Update copyright yearH. Peter Anvin2008-01-103-3/+3
| |
* | Create libinstaller; actually implement boot-once for extlinuxH. Peter Anvin2007-12-141-3/+5
|/ | | | | | --once now supported for extlinux; some infrastructure for syslinux there as well, need implementation in all the various installers, however.
* Fix building on a 64-bit system without a 32-bit system installedsyslinux-3.52-pre10syslinux-3.52H. Peter Anvin2007-09-242-0/+143
| | | | | A bunch of glibc header files were bogusly included. We should not depend on having a 32-bit glibc installed, since we don't use it.
* RAID mode installer support for SYSLINUXsyslinux-3.50-pre18H. Peter Anvin2007-06-011-3/+8
| | | | Hook up RAID mode in the installers for SYSLINUX
* Don't clobber /dev/null when compiling as rootLuciano Rocha2007-05-251-2/+4
| | | | | | Compiling as root is highly discouraged, but some people do it anyway. gcc_ok, however, can clobber /dev/null due to "-o /dev/null"; this is bad. Instead, write a temporary file and delete it.
* Stealth whitespace cleanup (automated)H. Peter Anvin2007-03-141-3/+3
|
* Deal with various distributions breaking gcc in weird waysH. Peter Anvin2007-02-061-1/+6
|
* DOS FAT installer: Fix name mangling for -d optionH. Peter Anvin2007-01-241-3/+10
|
* DOS FAT installer: Correct parsing of -d optionH. Peter Anvin2007-01-231-2/+2
|
* DOS FAT installer: support installing ldlinux.sys in a subdirectoryH. Peter Anvin2007-01-231-3/+71
|
* Makefile cleanup to be able to build with CC='gcc -m32'syslinux-3.32-pre2H. Peter Anvin2006-10-172-1/+7
|
* Move -m32 to CFLAGS as wellH. Peter Anvin2006-10-171-2/+2
|
* Move flags from CC to CFLAGSH. Peter Anvin2006-10-171-2/+2
|
* Remove more CVS-era $Id$ tags.H. Peter Anvin2006-08-172-2/+0
|
* Remove CVS-era $Id$ tags.H. Peter Anvin2006-08-172-2/+0
|
* DOS installer: make sure we tell gcc what the memory constraints aresyslinux-3.20-pre11H. Peter Anvin2006-08-081-14/+21
|
* Across-the-board stealth whitespace cleanupH. Peter Anvin2006-05-0313-56/+47
|
* Make the various Makefiles agree what is BTARGET and what is ITARGEThpa2004-12-301-4/+5
|
* Fix using the resolver function from the API (with DS != CS); addsyslinux-3.00-pre8hpa2004-12-281-1/+1
| | | | test/sample file to do that; fix bug in chain.c.
* Fix the scanning of the partition table (for the -a option)hpa2004-12-281-0/+1
|
* Support the -m and -a options for the DOS installer as wellhpa2004-12-282-13/+227
|
* Fix the -m and -a options for Win32; add support for a boot sector filehpa2004-12-221-1/+1
| | | | for Win32; minor cleanups.
* Make DOS installer use our homegrown 64-bit dividesyslinux-2.20-pre7hpa2004-12-193-2/+62
|
* Beef up the sanity checking of the boot sector. For really better checkinghpa2004-12-193-11/+20
| | | | we should be checking the FAT for the media signature, too.
* Make the DOS-based installer actually work; mark debugging statementssyslinux-2.20-pre6hpa2004-12-183-28/+63
| | | | as "dprintf"
* Fix handling of alignment issueshpa2004-12-182-6/+6
|
* Fix dec/hex bug in crt0.S; do -msoft-float just in casehpa2004-12-182-5/+9
|
* Resurrect printf(), and create a library. This way we can use printf()hpa2004-12-182-3/+310
| | | | during debugging without having it linked in during production build.
* Additional fixes for the proper argc/argv parsinghpa2004-12-171-3/+0
|
* Actually parse argc/argv properly.hpa2004-12-174-37/+104
|
* Output \n as \r\nhpa2004-12-171-0/+2
|
* Character to print goes in DL, not in BLhpa2004-12-171-2/+2
|