summaryrefslogtreecommitdiffstats
path: root/usr.sbin/btxld
Commit message (Collapse)AuthorAgeFilesLines
* use .Mt to mark up email addresses consistently (part2)bapt2014-06-201-1/+1
| | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
* In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.bdrewery2014-06-081-0/+2
| | | | | | | | | | | | | | | | This is currently an opt-in build flag. Once ASLR support is ready and stable it should changed to opt-out and be enabled by default along with ASLR. Each application Makefile uses opt-out to ensure that ASLR will be enabled by default in new directories when the system is compiled with PIE/ASLR. [2] Mark known build failures as NO_PIE for now. The only known runtime failure was rtld. [1] http://www.bsdcan.org/2014/schedule/events/452.en.html Submitted by: Shawn Webb <lattera@gmail.com> Discussed between: des@ and Shawn Webb [2]
* In puthdr(), start the ELF .data section on a new page, as this isbrueffer2014-02-251-1/+1
| | | | | | | | | | | | what btxldr expects (.set MEM_DATA,start+0x1000 in btxldr.S). This makes resulting ELF binaries bootable with grub, gptboot and boot2. PR: 153801 Submitted by: Gleb Kurtsou <gleb.kurtsou at gmail.com> Tested by: Ruben Kerkhof <ruben at rubenkerkhof.com> Glanced at by: jhb, peter MFC after: 1 month
* The last big commit: let usr.sbin/ use WARNS=6 by default.ed2010-01-021-2/+0
|
* The boot loader is a FreeBSD a.out binary for x86, not a VAX binary.imp2009-09-101-1/+1
| | | | | | | | | | | | | Rather than writing out a MID of '0', write a MID of 0x86 (aka MID_I386) so that file gets it right. This is a nop for boot2. It just checks the MAGIC part of the field, ignoring the MID. boot2 is the only thing that loads this file, and only on x86 so the MID_i386 is always the right value (the rest of the code is already x86 specific). Reviewed by: bde@, jhb@ MFC after: 8.0 is out the door :)
* Allow for a zero length 'loader'.dfr2008-04-051-0/+2
|
* An old patch from Dan Lukes <dan at obluda.cz>:delphij2006-01-232-2/+6
| | | | | | | | | + Include netinet/in.h for ntohl() * Since the return value was tested separately, cast the values to size_t in order to shut up compiler warnings. + Raise WARNS= level to 6 PR: bin/71666
* Fix the same problem that was fixed in rev. 1.6 and got reintroducedru2005-02-191-0/+5
| | | | | | in rev. 1.8 -- make btxld(8) a cross-tool for i386 and now amd64. Tested on: alpha (which has a different idea of __LDPGSZ)
* Sort sections.ru2005-01-181-2/+2
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+2
|
* Adjust the system endian and a.out headers to be more MI and cross-buildingobrien2004-06-223-95/+94
| | | | | | friendly. Use the systems headers rather than local versions. Reviewed by: ru
* Make this work on different endianness machines.ru2003-03-114-173/+100
| | | | | | | | Tested on: sparc64 : FreeBSD/i386 bootstrap loader, Revision 1.1 : (ru@panther.freebsd.org, Tue Mar 11 05:31:14 PST 2003) : Loading /boot/defaults/loader.conf
* Added MI version of <sys/imgact_aout.h>, "a.out.h", which isru2003-02-042-2/+87
| | | | | | | always compatible with the i386 version. This fixes one of the problems I had cross-releasing i386 on Alpha: the produced "-f aout" binaries are now identical.
* Get howmany() macro from <sys/param.h>, instead of depending on itsmike2002-09-241-1/+1
| | | | existence in <sys/types.h>.
* mdoc(7) police: utilize the new .Ex macro.ru2001-08-151-1/+1
|
* Unset MAINTAINER.rnordier2001-07-211-2/+0
|
* Perform a major cleanup of the usr.sbin Makefiles.obrien2001-07-201-1/+1
| | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before.
* Remove GCC'isms in CFLAGS.obrien2001-07-201-2/+0
|
* - Backout botched attempt to introduce MANSECT feature.ru2001-03-261-0/+1
| | | | - MAN[1-9] -> MAN.
* Set the default manual section for usr.sbin/ to 8.ru2001-03-201-1/+0
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Set MAINTAINER.rnordier2000-10-021-0/+2
|
* o Allow btxld to be compiled on 64-bit machinesmarcel2000-01-044-18/+24
| | | | | | | | o s/unsigned/unsigned int/g o Add -Wall btxld can now be built as a cross-tool for cross-building i386/pc98 on platforms that don't have btxld (such as alpha).
* $Id$ -> $FreeBSD$peter1999-08-286-6/+6
|
* Enable client entry point support.rnordier1998-09-131-1/+5
|
* btxld is a link editor for BTX (boot extender) clients, supporting ELF,rnordier1998-09-126-0/+882
a.out, and binary formats.
OpenPOWER on IntegriCloud