Re: [PATCH v2] Unify linking of libasm, libelf, libdw, backends

2017-07-24 Thread Mark Wielaard
On Fri, Feb 17, 2017 at 04:11:28PM +0100, Ulf Hermann wrote: > Link them all with -z,defs,-z,relro,--no-undefined, provide complete > dependencies for the link steps, and add libeu.a to each one. libeu.a > contains useful library functionality that each of them might use. The > linker will strip un

[PATCH v2] Unify linking of libasm, libelf, libdw, backends

2017-02-17 Thread Ulf Hermann
Link them all with -z,defs,-z,relro,--no-undefined, provide complete dependencies for the link steps, and add libeu.a to each one. libeu.a contains useful library functionality that each of them might use. The linker will strip unneeded symbols, so linking it in won't hurt even if none of the funct