Blame include/elf.h

Packit 6c4009
#ifndef _ELF_H
Packit 6c4009
#include <elf/elf.h>
Packit 6c4009
Packit 6c4009
#ifndef _ISOMAC
Packit 6c4009
Packit 6c4009
# include <libc-pointer-arith.h>
Packit 6c4009
Packit 6c4009
/* Compute the offset of the note descriptor from size of note entry's
Packit 6c4009
   owner string and note alignment.  */
Packit 6c4009
# define ELF_NOTE_DESC_OFFSET(namesz, align) \
Packit 6c4009
  ALIGN_UP (sizeof (ElfW(Nhdr)) + (namesz), (align))
Packit 6c4009
Packit 6c4009
/* Compute the offset of the next note entry from size of note entry's
Packit 6c4009
   owner string, size of the note descriptor and note alignment.  */
Packit 6c4009
# define ELF_NOTE_NEXT_OFFSET(namesz, descsz, align) \
Packit 6c4009
  ALIGN_UP (ELF_NOTE_DESC_OFFSET ((namesz), (align)) + (descsz), (align))
Packit 6c4009
Packit 6c4009
/* Some information which is not meant for the public and therefore not
Packit 6c4009
   in <elf.h>.  */
Packit 6c4009
# include <dl-dtprocnum.h>
Packit 6c4009
# ifdef DT_1_SUPPORTED_MASK
Packit 6c4009
#  error DT_1_SUPPORTED_MASK is defined!
Packit 6c4009
# endif
Packit 6c4009
# define DT_1_SUPPORTED_MASK \
Packit 6c4009
   (DF_1_NOW | DF_1_NODELETE | DF_1_INITFIRST | DF_1_NOOPEN \
Packit Service 2ea772
    | DF_1_ORIGIN | DF_1_NODEFLIB | DF_1_PIE)
Packit 6c4009
Packit 6c4009
#endif /* !_ISOMAC */
Packit 6c4009
#endif /* elf.h */