rtld.h (0bfd163f522701b486e066fa2e56624c02f5081a) rtld.h (dfe296c43a26175f98ded41168e5c106edd52599)
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

--- 338 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 *);
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

--- 338 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 ---