summaryrefslogtreecommitdiffstats
path: root/lib/Target/PIC16/PIC16ABINames.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/PIC16/PIC16ABINames.h')
-rw-r--r--lib/Target/PIC16/PIC16ABINames.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/Target/PIC16/PIC16ABINames.h b/lib/Target/PIC16/PIC16ABINames.h
index 7f4c2f1..e18ddf1 100644
--- a/lib/Target/PIC16/PIC16ABINames.h
+++ b/lib/Target/PIC16/PIC16ABINames.h
@@ -234,6 +234,12 @@ namespace llvm {
return "romdata.#";
}
+ static std::string getSharedUDataSectionName() {
+ std::ostringstream o;
+ o << getTagName(PREFIX_SYMBOL) << "udata_shr" << ".#";
+ return o.str();
+ }
+
static std::string getRomdataSectionName(unsigned num,
std::string prefix = "") {
std::ostringstream o;
OpenPOWER on IntegriCloud