summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-04-03 19:14:35 +0000
committerRui Ueyama <ruiu@google.com>2017-04-03 19:14:35 +0000
commitc49bb0f418f3bfb958ce50d1e0e2eeb4c1ef65db (patch)
treeee4c5e26444406688a54fb764989ffb32c5bab1b
parenteb2d1a782c0bd66413fc45e66848baf774511c83 (diff)
downloadbcm5719-llvm-c49bb0f418f3bfb958ce50d1e0e2eeb4c1ef65db.tar.gz
bcm5719-llvm-c49bb0f418f3bfb958ce50d1e0e2eeb4c1ef65db.zip
Make a helper function file-local.
llvm-svn: 299377
-rw-r--r--lld/ELF/OutputSections.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp
index cda8a2b3f42..315ba1cc4db 100644
--- a/lld/ELF/OutputSections.cpp
+++ b/lld/ELF/OutputSections.cpp
@@ -224,7 +224,7 @@ void OutputSection::sortCtorsDtors() {
// Fill [Buf, Buf + Size) with Filler. Filler is written in big
// endian order. This is used for linker script "=fillexp" command.
-void fill(uint8_t *Buf, size_t Size, uint32_t Filler) {
+static void fill(uint8_t *Buf, size_t Size, uint32_t Filler) {
uint8_t V[4];
write32be(V, Filler);
size_t I = 0;
OpenPOWER on IntegriCloud