[PATCH] D92052: [MC][ELF] Accept abbreviated form with sh_flags and sh_entsize

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 14 10:07:12 PST 2020


tstellar added a comment.

In D92052#2452577 <https://reviews.llvm.org/D92052#2452577>, @burnus wrote:

> In D92052#2452442 <https://reviews.llvm.org/D92052#2452442>, @MaskRay wrote:
>
>> This is about assembling GCC's -S output with LLVM's integrated assembler, which isn't an area that I think people frequently use, so I'd also hear from @burnus why this is urgent.
>
> GCC's AMD GCN (alias Radeon) target (most useful for offloading) uses LLVM's assembler as GNU Binutils does not support GCN (yet?).
>
> Many Linux distributions build GCC with offloading support for nvptx and amd gcn (installable was optional add-on packages).
>
> The issue was found as building GCC was breaking on Debian once LLVM 11.0.0 was imported into Debian unstable. (Happens during the build of newlib's libc for GCN; this uses -ffunction-section). First reported at https://gcc.gnu.org/PR97827

Have any other targets in gcc besides amdgcn run into this problem?  If this is something specific to amdgcn, then I'm not sure we should be adding a workaround for it to LLVM.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92052/new/

https://reviews.llvm.org/D92052



More information about the llvm-commits mailing list