Deleted Added
full compact
elf.h (77931) elf.h (84783)
1/*-
2 * Copyright (c) 2001 David E. O'Brien
3 * Copyright (c) 1996-1997 John D. Polstra.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 10 unchanged lines hidden (view full) ---

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
1/*-
2 * Copyright (c) 2001 David E. O'Brien
3 * Copyright (c) 1996-1997 John D. Polstra.
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 10 unchanged lines hidden (view full) ---

19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 * $FreeBSD: head/sys/arm/include/elf.h 77931 2001-06-09 05:21:17Z obrien $
27 * $FreeBSD: head/sys/arm/include/elf.h 84783 2001-10-10 23:06:54Z ps $
28 */
29
30#ifndef _MACHINE_ELF_H_
31#define _MACHINE_ELF_H_ 1
32
33/*
34 * EABI ELF definitions for the StrongARM architecture.
35 * See "ARM ELF", document no. `SWS ESPC 0003 A-08' for details.

--- 59 unchanged lines hidden (view full) ---

95
96/*
97 * On the StrongARM we load the dynamic linker where a userland call
98 * to mmap(0, ...) would put it. The rationale behind this
99 * calculation is that it leaves room for the heap to grow to
100 * its maximum allowed size.
101 */
102#define ELF_RTLD_ADDR(vmspace) \
28 */
29
30#ifndef _MACHINE_ELF_H_
31#define _MACHINE_ELF_H_ 1
32
33/*
34 * EABI ELF definitions for the StrongARM architecture.
35 * See "ARM ELF", document no. `SWS ESPC 0003 A-08' for details.

--- 59 unchanged lines hidden (view full) ---

95
96/*
97 * On the StrongARM we load the dynamic linker where a userland call
98 * to mmap(0, ...) would put it. The rationale behind this
99 * calculation is that it leaves room for the heap to grow to
100 * its maximum allowed size.
101 */
102#define ELF_RTLD_ADDR(vmspace) \
103 (round_page((vm_offset_t)(vmspace)->vm_daddr + MAXDSIZ))
103 (round_page((vm_offset_t)(vmspace)->vm_daddr + maxdsiz))
104
105#endif /* _KERNEL */
106#endif /* !_MACHINE_ELF_H_ */
104
105#endif /* _KERNEL */
106#endif /* !_MACHINE_ELF_H_ */