This section is used for debug information and has no need to be
in memory at runtime. With this patch, LLVM now emits the same flags as
the GNU assembler. This patch also fixes an error when compiling
the Linux kernel, The error is that there are relocations within the
.pdr section in a VDSO.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM with a couple tweaks to the commit message.
[mips] Made the .pdr section not allocatable.
This section is used for debug information and has no need to be
allocatable. This also causes errors when compiling the Linux kernel.
We should probably mention SHF_ALLOC on the first subject line.
Could you explain what kind of errors it fixes? It should be enough to mention eliminating relocations in a VDSO and that we now emit the same flags as GAS.