[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/23872] MinGW Binaries can be built with misaligned relocation in
From: |
martin at martin dot st |
Subject: |
[Bug ld/23872] MinGW Binaries can be built with misaligned relocation information |
Date: |
Mon, 26 Nov 2018 07:37:44 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=23872
Martin Storsjö <martin at martin dot st> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |martin at martin dot st
--- Comment #3 from Martin Storsjö <martin at martin dot st> ---
(In reply to Nick Clifton from comment #2)
>
> It sounds a bit suspicious that clang is not aligning the relocs
Just for discussion, clang doesn't align the relocs (as they are produced by
ld) - I presume you meant why clang doesn't align the rdata section.
Judging from the linker script, wouldn't it mostly be a case of clang producing
object files with .rdata sections that end with an uneven number of bytes? And
I don't see how that would be suspicious. I haven't dug into a full case of
this happening though.
In any case, the applied patch certainly is right though.
(I'm just arguing because I don't think there is a bug to be fixed on the clang
side wrt this, as someone is led to believe in
https://bugs.llvm.org/show_bug.cgi?id=39754.)
--
You are receiving this mail because:
You are on the CC list for the bug.