mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
fix for elfboot.
This commit is contained in:
parent
2d10d6bb26
commit
6d569e09e2
1 changed files with 1 additions and 0 deletions
|
@ -367,6 +367,7 @@ static int build_elf_segment_list(
|
||||||
struct segment *ptr;
|
struct segment *ptr;
|
||||||
int i;
|
int i;
|
||||||
memset(head, 0, sizeof(*head));
|
memset(head, 0, sizeof(*head));
|
||||||
|
head->phdr_next = head->phdr_prev = head;
|
||||||
head->next = head->prev = head;
|
head->next = head->prev = head;
|
||||||
for(i = 0; i < headers; i++) {
|
for(i = 0; i < headers; i++) {
|
||||||
struct segment *new;
|
struct segment *new;
|
||||||
|
|
Loading…
Add table
Reference in a new issue