Commit 1c10217c authored by John van Groningen's avatar John van Groningen

fix heap and stack sizes for 64 bit options file, only the least significant 32 bits were written

parent 5263a826
......@@ -431,17 +431,17 @@ write_options_file_64 options_file_name flags heap_size stack_size initial_heap_
// data section offset 140
FWI heap_size
FWI 0
FWI (heap_size>>32)
FWI stack_size
FWI (stack_size>>32)
FWI flags
FWI 0
FWI flags
FWI 0
FWI initial_heap_size
FWI 0
FWI heap_size_multiple
FWI initial_heap_size
FWI (initial_heap_size>>32)
FWI heap_size_multiple
FWI 0
FWI min_write_heap_size
FWI 0
FWI (min_write_heap_size>>32)
// symbol table offset
// .file at 188
......
......@@ -947,8 +947,8 @@ write_options_file options_file_name flags heap_size stack_size initial_heap_siz
0x00000000 FWI 0x00000000 FWI 0x00000000 FWI 0x00000000 FWI
0x00000000 FWI 0x00000000 FWI 0x00000000 FWI 0x00000000 FWI
0x00000000 FWI 0x00000000 FWI 0x00000000 FWI 0x00000000 FWI
flags FWI 0x00000000 FWI initial_heap_size FWI 0x00000000 FWI
heap_size FWI 0x00000000 FWI stack_size FWI 0x00000000 FWI
flags FWI 0x00000000 FWI initial_heap_size FWI (initial_heap_size>>32) FWI
heap_size FWI (heap_size>>32) FWI stack_size FWI (stack_size>>32) FWI
heap_size_multiple FWI 0x00000000 FWI 0x00000026 FWI 0x0000020f FWI
0x00000018 FWI 0x00000000 FWI 0x00000001 FWI 0x0000020f FWI
0x00000000 FWI 0x00000000 FWI 0x0000001b FWI 0x0000020f FWI
......
......@@ -966,9 +966,9 @@ write_options_file options_file_name flags heap_size stack_size initial_heap_siz
0x00000000 FWI 0x00000000 FWI 0x00000094 FWI 0x00000000 FWI
0x00000000 FWI 0x00000040 FWI 0x00400000 FWI 0x00040007 FWI
heap_size FWI 0x00000000 FWI stack_size FWI 0x00000000 FWI
heap_size FWI (heap_size>>32) FWI stack_size FWI (stack_size>>32) FWI
flags FWI 0x00000000 FWI heap_size_multiple FWI 00 FWI
initial_heap_size FWI 0x0 FWI
initial_heap_size FWI (initial_heap_size>>32) FWI
0x79732e00 FWI 0x6261746d FWI
0x74732e00 FWI 0x62617472 FWI 0x68732e00 FWI 0x74727473 FWI
0x2e006261 FWI 0x74786574 FWI 0x61642e00 FWI 0x2e006174 FWI
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment