On Thu, Jan 03, 2019 at 08:31:53PM +0000, Kamil Rytarowski via Phabricator via cfe-commits wrote: > krytarowski added a comment. > > On 03.01.2019 21:19, Joerg Sonnenberger wrote: > > > On Thu, Jan 03, 2019 at 06:34:22PM +0000, Kamil Rytarowski via Phabricator > > via cfe-commits wrote: > > > >> krytarowski added a comment. > >> > >> Actually I find it frustrating and unfair as GNU ld doesn't have builtin > >> knowledge either.. it's passed with gross 'super hack' comments from > >> build scripts... but we are forced to push it to lld in order to move on. > > > > I'm puzzled. Seriously, when was the last time you actually checked how > > much customization contains on a per-OS base in GNU ld? Yes, I'm > > including the various build scripts because GNU ld is generally build by > > a mix of hard-coded logic in the tool itself and various adjustments in > > the linker scripts it is shipped with. But they are all a builtin part > > of GNU ld as far as the end user is concerned. It is pretty much > > irrelevant from a point of functionality where that logic is, but > > skipping is a serious usability issue. > > > > Joerg > > I'm referring to code '/usr/src/external/gpl3/binutils/usr.bin/ld/Makefile':
I think that's a left over from old times before the emulparams/* logic was done properly. But that's more a case of GNU ld's build system being gross than anything else. Joerg _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits