aboutsummaryrefslogtreecommitdiff
path: root/ELF/SectionPatcher.h
blob: a6b06705469fd6393cf74db0dc2490c3c8101578 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//===- SectionPatcher.h -----------------------------------------*- C++ -*-===//
//
//                             The LLVM Linker
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef LLD_ELF_SECTIONPATCHER_H
#define LLD_ELF_SECTIONPATCHER_H

#include "lld/Common/LLVM.h"

namespace lld {
namespace elf {

class OutputSection;

// Implementation of the -fix-cortex-a53-843419 which affects early revisions
// of the cortex-a53 when running in the AArch64 execution state.

// FIXME: Only detects and reports the presence of the instruction sequence that
// can trigger the erratum 843419.
void createA53Errata843419Fixes(ArrayRef<OutputSection *> OutputSections);

} // namespace elf
} // namespace lld

#endif