diff options
author | Rui Ueyama <ruiu@google.com> | 2017-04-03 19:14:35 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2017-04-03 19:14:35 +0000 |
commit | c49bb0f418f3bfb958ce50d1e0e2eeb4c1ef65db (patch) | |
tree | ee4c5e26444406688a54fb764989ffb32c5bab1b | |
parent | eb2d1a782c0bd66413fc45e66848baf774511c83 (diff) | |
download | bcm5719-llvm-c49bb0f418f3bfb958ce50d1e0e2eeb4c1ef65db.tar.gz bcm5719-llvm-c49bb0f418f3bfb958ce50d1e0e2eeb4c1ef65db.zip |
Make a helper function file-local.
llvm-svn: 299377
-rw-r--r-- | lld/ELF/OutputSections.cpp | 2 |
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; |