[klibc] Make typesize extraction more robust
> Problem: binary (typesize.bin) created from object file (typesize.o)
> with 'objcopy -O binary ... '. But typesize.o has relocatable objects that all
> copied with offset 0. This will lead to overlapping sections in binary.
Avoid this by telling objcopy that we only want the read-only data
Reported-by: Petr Ovtchenkov <email@example.com>
Signed-off-by: Ben Hutchings <firstname.lastname@example.org>
1 file changed