[stage2] Fix the ordering of rules in linker script

This commit is contained in:
TuxSH committed 2018-05-07 10:53:41 +02:00
1 parent 700f92162d
commit 7695b5bdbd
2 files changed
+22 -17

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
#include "chainloader.h"
uint8_t g_payload_arg_data[PAYLOAD_ARG_DATA_MAX_SIZE] = {1};
uint8_t __attribute__((used)) g_payload_arg_data[PAYLOAD_ARG_DATA_MAX_SIZE] = {0};
#pragma GCC optimize (3)
void relocate_and_chainload_main(uintptr_t load_address, uintptr_t src_address, size_t size, int argc) {