View | Details | Raw Unified | Return to bug 228700
Collapse All | Expand All

(-)www/webkit2-gtk3/files/patch-Source_JavaScriptCore_offlineasm_arm64_rb (+11 lines)
Line 0 Link Here
1
--- Source/JavaScriptCore/offlineasm/arm64.rb.orig	2018-06-01 22:16:58 UTC
2
+++ Source/JavaScriptCore/offlineasm/arm64.rb
3
@@ -945,7 +945,7 @@ class Instruction
4
             $asm.puts "ldr #{operands[1].arm64Operand(:ptr)}, [#{operands[1].arm64Operand(:ptr)}, #{operands[0].asmLabel}@GOTPAGEOFF]"
5
 
6
             # On Linux, use ELF GOT relocation specifiers.
7
-            $asm.putStr("#elif OS(LINUX)")
8
+            $asm.putStr("#elif OS(LINUX) || OS(FREEBSD)")
9
             $asm.puts "adrp #{operands[1].arm64Operand(:ptr)}, :got:#{operands[0].asmLabel}"
10
             $asm.puts "ldr #{operands[1].arm64Operand(:ptr)}, [#{operands[1].arm64Operand(:ptr)}, :got_lo12:#{operands[0].asmLabel}]"
11
 

Return to bug 228700