FYI: old OCTEON bootloaders and .MIPS.abiflags

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Current binutils adds .MIPS.abiflags section to the kernel vmlinux.

This seems break the boot on some old (buggy) OCTEON bootloaders:

	ELF file is 64 bit
	Attempting to allocate memory for ELF segment: addr: 0xffffffff816e67f0 (adjusted to: 0x00000000016e67f0), size 0x18
	Allocated memory for ELF segment: addr: 0xffffffff816e67f0, size 0x18
	Attempting to allocate memory for ELF segment: addr: 0xffffffff81100000 (adjusted to: 0x0000000001100000), size 0x1b86360
	Error allocating memory for elf image!
	## ERROR loading File!

The workaround is to remove the .MIPS.abiflags with "strip" - I guess that
is safe for the kernel... Not sure if there is nothing much else to be
done, and already a similar hack needs to be done for the .notes section.

I just wanted to post this in case some else faces the same issue.

A.




[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux