jsji added a comment. > "as binder can NOT discard a subset of a csect."?
Thanks, this does looks better! > The linker (binder) doesn't have to discard a subset of csect, but it should > ensure there are not two non-local symbols with the same name. > The latter is what I request. > Without section deduplication we just end up with PDP-11 a.out extended with > .weak directive, it isn't too bad. Mach-O uses this model as well. > (PE-COFF/ELF properly deduplicates in the absence of section based GC.) > Having two non-local symbols could cause serious symbol resolution problems. That I can definitely forward to AIX binder team, but we can't expect they implement it right away for us. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D110422/new/ https://reviews.llvm.org/D110422 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits