Overlapping program headers/segments

Andreas Schwab schwab@suse.de
Mon Sep 25 07:24:47 GMT 2023


On Sep 24 2023, Max Larsson via Binutils wrote:

> So my question why do I get such a result, and how can I avoid it?

If you want to avoid the overlap you need to provide enough padding
between TEXT and RODATA.  See the handling of SEPARATE_CODE in
scripttempl/elf.sc.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."


More information about the Binutils mailing list