summaryrefslogtreecommitdiff
path: root/dos
Commit message (Collapse)AuthorAgeFilesLines
...
| * Run Nindent on dos/skipatou.cH. Peter Anvin2009-05-291-4/+4
| | | | | | | | | | | | | | | | | | Automatically reformat dos/skipatou.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on dos/printf.cH. Peter Anvin2009-05-291-235/+246
| | | | | | | | | | | | | | | | | | Automatically reformat dos/printf.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on dos/perror.cH. Peter Anvin2009-05-291-1/+1
| | | | | | | | | | | | | | | | | | Automatically reformat dos/perror.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on dos/mystuff.hH. Peter Anvin2009-05-291-3/+2
| | | | | | | | | | | | | | | | | | Automatically reformat dos/mystuff.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on dos/malloc.hH. Peter Anvin2009-05-291-5/+5
| | | | | | | | | | | | | | | | | | Automatically reformat dos/malloc.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on dos/malloc.cH. Peter Anvin2009-05-291-74/+73
| | | | | | | | | | | | | | | | | | Automatically reformat dos/malloc.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on dos/free.cH. Peter Anvin2009-05-291-47/+46
| | | | | | | | | | | | | | | | | | Automatically reformat dos/free.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on dos/conio.cH. Peter Anvin2009-05-291-11/+11
| | | | | | | | | | | | | | | | | | Automatically reformat dos/conio.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on dos/atou.cH. Peter Anvin2009-05-291-4/+4
| | | | | | | | | | | | | | | | | | Automatically reformat dos/atou.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on dos/argv.cH. Peter Anvin2009-05-291-41/+41
| | | | | | | | | | | | | | | | | | Automatically reformat dos/argv.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on dos/__udivmoddi4.cH. Peter Anvin2009-05-291-21/+21
| | | | | | | | | | | | | | | | | | Automatically reformat dos/__udivmoddi4.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on dos/__divdi3.cH. Peter Anvin2009-05-291-15/+15
| | | | | | | | | | | | | | | | | | Automatically reformat dos/__divdi3.c using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | 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
|