HomeFreeBSD

loader: fix powerpc64le ofw loader

Description

loader: fix powerpc64le ofw loader

This is similar to 5d48fb3b16c1496bf415fee620c61cc944b0326d.
With LLVM14 the .data.rel.ro ELF section appears after .data,
making loader behave erractly and kernel is not loaded.
This patch makes ensures the correct order.

Based on discussion at:

https://github.com/llvm/llvm-project/issues/56306

MFC after: 1 day
Sponsored by: Instituto de Pesquisas Eldorado (eldorado.org.br)

Details

Provenance
alfredoAuthored on Jul 29 2022, 8:03 AM
Parents
rG42736dc44dd0: x86/iommu: Reduce DMAR lock contention
Branches
Unknown
Tags
Unknown