[PATCH] D22683: [ELF] Symbol assignment within input section list

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 29 12:55:49 PDT 2016


> That was Rui's suggestion to use DefinedRegular. My initial suggestion
> (though it contained a bug) was about using DefinedSynthetic and setting
> offset within output section,
> not input section. I hardly see difference between these approaches - to my
> understanding they are of equal implementation complexity. May be Rui tell
> us, what he thinks.

For now I think they are probably comparable, but avoiding
OutputSection<ELFT>::assignOffsets and not creating a new input
section type is probably more future proof for implementing ". =
ALIGN" inside output sections.

Cheers,
Rafael


More information about the llvm-commits mailing list