Hi,

I'm getting a couple cases where a relocation of DW_AT_low_pc and DW_AT_high_pc attribute is formed against a section that's either non-EXEC, or even non-ALLOC.

The case of non-EXEC is in .rodata of vmlinux. A single die that comes from arch/x86/kernel/trampoline_32.S has this property. So I shift my understanding of low_pc and high_pc from "we can expect PC to have this address" to "it's a place in address space".

Another case is basically any GRUB module. These have relocations of low_pc and high_pc formed against .moddeps, which is non-ALLOC section (which, if I understand things correctly, means it doesn't end up in address space at all).

So, is my ALLOC & EXEC expectation valid? If it's too strict, is any ALLOC section kosher, and GRUB modules are erroneous, or is any section at all kosher?

PM

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
elfutils-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/elfutils-devel

Reply via email to