Deleted Added
full compact
rtld.h (256101) rtld.h (259043)
1/*-
2 * Copyright 1996, 1997, 1998, 1999, 2000 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

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

17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 *
1/*-
2 * Copyright 1996, 1997, 1998, 1999, 2000 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

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

17 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 *
25 * $FreeBSD: head/libexec/rtld-elf/rtld.h 256101 2013-10-07 08:19:30Z kib $
25 * $FreeBSD: head/libexec/rtld-elf/rtld.h 259043 2013-12-06 21:30:31Z kib $
26 */
27
28#ifndef RTLD_H /* { */
29#define RTLD_H 1
30
31#include <machine/elf.h>
32#include <sys/types.h>
33#include <sys/queue.h>

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

347} SymLook;
348
349void _rtld_error(const char *, ...) __printflike(1, 2);
350const char *rtld_strerror(int);
351Obj_Entry *map_object(int, const char *, const struct stat *);
352void *xcalloc(size_t, size_t);
353void *xmalloc(size_t);
354char *xstrdup(const char *);
26 */
27
28#ifndef RTLD_H /* { */
29#define RTLD_H 1
30
31#include <machine/elf.h>
32#include <sys/types.h>
33#include <sys/queue.h>

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

347} SymLook;
348
349void _rtld_error(const char *, ...) __printflike(1, 2);
350const char *rtld_strerror(int);
351Obj_Entry *map_object(int, const char *, const struct stat *);
352void *xcalloc(size_t, size_t);
353void *xmalloc(size_t);
354char *xstrdup(const char *);
355void *malloc_aligned(size_t size, size_t align);
356void free_aligned(void *ptr);
355extern Elf_Addr _GLOBAL_OFFSET_TABLE_[];
356extern Elf_Sym sym_zero; /* For resolving undefined weak refs. */
357
358void dump_relocations(Obj_Entry *);
359void dump_obj_relocations(Obj_Entry *);
360void dump_Elf_Rel(Obj_Entry *, const Elf_Rel *, u_long);
361void dump_Elf_Rela(Obj_Entry *, const Elf_Rela *, u_long);
362

--- 36 unchanged lines hidden ---
357extern Elf_Addr _GLOBAL_OFFSET_TABLE_[];
358extern Elf_Sym sym_zero; /* For resolving undefined weak refs. */
359
360void dump_relocations(Obj_Entry *);
361void dump_obj_relocations(Obj_Entry *);
362void dump_Elf_Rel(Obj_Entry *, const Elf_Rel *, u_long);
363void dump_Elf_Rela(Obj_Entry *, const Elf_Rela *, u_long);
364

--- 36 unchanged lines hidden ---