Skip to content

Re-organize linker layouts

Russell King - ARM Linux linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 7 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 7 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] Re-organize linker layouts
Quoted 19 lines · Stephen Boyd
Quoted 18 lines · Russell King - ARM Linux

The following series of patches are targetted at two issues:

1. Fixing large initramfs causing PC24 relocations to become out of range. This fixes both modules and link-time errors.

2. Making the vmlinux easier to pinpoint the various section-built data structures and inspect them later.

For the main kernel, this allows the size of various sections to be determined via objdump -h. This also aids objdump -d and -s usage when asking it to target a particular section.

For the decompressor, it means that it is now trivially possible to copy out the compressed kernel vmlinux image by:

arm-linux-objcopy -O binary -j .piggydata arch/arm/boot/compressed/vmlinux \
piggy.gz

Quoted 8 lines
Quoted 2 lines

and thereby obtain the binary kernel image (the Image file) which was originally used.

I gave this series a test with my poison initmem patch and all looks well

except for patch 2 as I didn't use a zImage.

Oh, what did you use instead? I thought no one used the Image files anymore...