elf.h (80700) | elf.h (84783) |
---|---|
1/*- 2 * Copyright (c) 1996-1997 John D. Polstra. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 1996-1997 John D. Polstra. 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/amd64/include/elf.h 80700 2001-07-31 03:46:39Z jake $ | 26 * $FreeBSD: head/sys/amd64/include/elf.h 84783 2001-10-10 23:06:54Z ps $ |
27 */ 28 29#ifndef _MACHINE_ELF_H_ 30#define _MACHINE_ELF_H_ 1 31 32/* 33 * ELF definitions for the i386 architecture. 34 */ --- 98 unchanged lines hidden (view full) --- 133 134/* 135 * On the i386 we load the dynamic linker where a userland call 136 * to mmap(0, ...) would put it. The rationale behind this 137 * calculation is that it leaves room for the heap to grow to 138 * its maximum allowed size. 139 */ 140#define ELF_RTLD_ADDR(vmspace) \ | 27 */ 28 29#ifndef _MACHINE_ELF_H_ 30#define _MACHINE_ELF_H_ 1 31 32/* 33 * ELF definitions for the i386 architecture. 34 */ --- 98 unchanged lines hidden (view full) --- 133 134/* 135 * On the i386 we load the dynamic linker where a userland call 136 * to mmap(0, ...) would put it. The rationale behind this 137 * calculation is that it leaves room for the heap to grow to 138 * its maximum allowed size. 139 */ 140#define ELF_RTLD_ADDR(vmspace) \ |
141 (round_page((vm_offset_t)(vmspace)->vm_daddr + MAXDSIZ)) | 141 (round_page((vm_offset_t)(vmspace)->vm_daddr + maxdsiz)) |
142 143#endif /* _KERNEL */ 144#endif /* !_MACHINE_ELF_H_ */ | 142 143#endif /* _KERNEL */ 144#endif /* !_MACHINE_ELF_H_ */ |