remove .orig file
This commit is contained in:
parent
4bc85882f4
commit
f043ec761a
|
@ -1,30 +0,0 @@
|
|||
Index: src/3rdparty/chromium/v8/src/snapshot/embedded/platform-embedded-file-writer-generic.cc
|
||||
--- src/3rdparty/chromium/v8/src/snapshot/embedded/platform-embedded-file-writer-generic.cc.orig
|
||||
+++ src/3rdparty/chromium/v8/src/snapshot/embedded/platform-embedded-file-writer-generic.cc
|
||||
@@ -35,6 +35,8 @@ const char* DirectiveAsString(DataDirective directive)
|
||||
void PlatformEmbeddedFileWriterGeneric::SectionText() {
|
||||
if (target_os_ == EmbeddedTargetOs::kChromeOS) {
|
||||
fprintf(fp_, ".section .text.hot.embedded\n");
|
||||
+ } else if (target_os_ == EmbeddedTargetOs::kOpenBSD) {
|
||||
+ fprintf(fp_, ".section .openbsd.mutable,\"a\"\n");
|
||||
} else {
|
||||
fprintf(fp_, ".section .text\n");
|
||||
}
|
||||
@@ -70,7 +72,17 @@ void PlatformEmbeddedFileWriterGeneric::DeclareSymbolG
|
||||
}
|
||||
|
||||
void PlatformEmbeddedFileWriterGeneric::AlignToCodeAlignment() {
|
||||
+#if V8_OS_OPENBSD
|
||||
+ fprintf(fp_, ".balign 4096\n");
|
||||
+#else
|
||||
fprintf(fp_, ".balign 32\n");
|
||||
+#endif
|
||||
+}
|
||||
+
|
||||
+void PlatformEmbeddedFileWriterGeneric::AlignToPageSizeIfNeeded() {
|
||||
+#if V8_OS_OPENBSD
|
||||
+ fprintf(fp_, ".balign 4096\n");
|
||||
+#endif
|
||||
}
|
||||
|
||||
void PlatformEmbeddedFileWriterGeneric::AlignToDataAlignment() {
|
Loading…
Reference in New Issue
Block a user