Some of the baremetal users of libc use elf.h to generate coredumps and we would like to support this use case without needing Linux elf.h.
20 lines
557 B
Modula-2
20 lines
557 B
Modula-2
//===-- System V header link.h --------------------------------------------===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_LIBC_LINK_H
|
|
#define LLVM_LIBC_LINK_H
|
|
|
|
#include "__llvm-libc-common.h"
|
|
#include "llvm-libc-macros/link-macros.h"
|
|
|
|
#include <elf.h>
|
|
|
|
%%public_api()
|
|
|
|
#endif // LLVM_LIBC_LINK_H
|