[PATCH] D144617: [AVR][MC] Add ELF flag 'EF_AVR_LINKRELAX_PREPARED' to OBJ files
Ben Shi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 23 17:27:47 PST 2023
benshi001 added a comment.
In D144617#4148171 <https://reviews.llvm.org/D144617#4148171>, @MaskRay wrote:
> I think we should understand what this flag does and how it affects assemblers/linkers.
> If it does not cause behavior difference, I am unsure we should add it.
This is how gnu ld perform linker relaxation for AVR
https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=bfd/elf32-avr.c;h=702719136d09acbc8c98ec49ab8129d0f33fffa8;hb=6777dece58127236db900215857f9070ad63e0bf#l2455
We can see this flag `EF_AVR_LINKRELAX_PREPARED` does affect
https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=bfd/elf32-avr.c;h=702719136d09acbc8c98ec49ab8129d0f33fffa8;hb=6777dece58127236db900215857f9070ad63e0bf#l2533
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D144617/new/
https://reviews.llvm.org/D144617
More information about the llvm-commits
mailing list