rtld.h (b3e7694832e81d7a904a10f525f8797b753bf0d3) rtld.h (feaae6ba1ace0091384ac371423976cd15e59e5a)
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright 1996, 1997, 1998, 1999, 2000 John D. Polstra.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

356
357void _rtld_error(const char *, ...) __printflike(1, 2) __exported;
358void rtld_die(void) __dead2;
359const char *rtld_strerror(int);
360Obj_Entry *map_object(int, const char *, const struct stat *);
361void *xcalloc(size_t, size_t);
362void *xmalloc(size_t);
363char *xstrdup(const char *);
1/*-
2 * SPDX-License-Identifier: BSD-2-Clause
3 *
4 * Copyright 1996, 1997, 1998, 1999, 2000 John D. Polstra.
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

356
357void _rtld_error(const char *, ...) __printflike(1, 2) __exported;
358void rtld_die(void) __dead2;
359const char *rtld_strerror(int);
360Obj_Entry *map_object(int, const char *, const struct stat *);
361void *xcalloc(size_t, size_t);
362void *xmalloc(size_t);
363char *xstrdup(const char *);
364void *malloc_aligned(size_t size, size_t align, size_t offset);
365void free_aligned(void *ptr);
364void *xmalloc_aligned(size_t size, size_t align, size_t offset);
366extern Elf_Addr _GLOBAL_OFFSET_TABLE_[];
367extern Elf_Sym sym_zero; /* For resolving undefined weak refs. */
368extern bool ld_bind_not;
369extern bool ld_fast_sigblock;
370
371void dump_relocations(Obj_Entry *);
372void dump_obj_relocations(Obj_Entry *);
373void dump_Elf_Rel(Obj_Entry *, const Elf_Rel *, u_long);

--- 47 unchanged lines hidden ---
365extern Elf_Addr _GLOBAL_OFFSET_TABLE_[];
366extern Elf_Sym sym_zero; /* For resolving undefined weak refs. */
367extern bool ld_bind_not;
368extern bool ld_fast_sigblock;
369
370void dump_relocations(Obj_Entry *);
371void dump_obj_relocations(Obj_Entry *);
372void dump_Elf_Rel(Obj_Entry *, const Elf_Rel *, u_long);

--- 47 unchanged lines hidden ---