glibc/csu
H.J. Lu abcb584d0e Use newly built crt*.o files to build shared objects [BZ #22362]
When multi-lib GCC is used to build glibc, the search order of GCC driver
for crt*.o is -B*/`gcc -print-multi-directory`, the installed diretory,
-B*/.  This patch adds multi-lib support to csu/Makefile so that
-B/glibc-build-directory/csu/ will pick up the newly built crt*.o.

Tested on x86-64 for i686 and x32.

	[BZ #22362]
	* Makerules (make-link-multidir): New.
	* config.make.in (multidir): New.
	* configure.ac (libc_cv_multidir): New.  AC_SUBST.
	* configure: Regenerated.
	* csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
	[$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
	[$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
	New target.
2017-11-06 08:29:57 -08:00
..
abi-note.S
check_fds.c Consolidate non cancellable open call 2017-08-17 16:50:35 -03:00
dso_handle.c
elf-init.c
errno-loc.c
errno.c
gmon-start.c
init-first.c
init.c
libc-start.c Mark __libc_multiple_libcs with attribute_hidden [BZ #18822] 2017-08-21 05:32:39 -07:00
libc-tls.c
Makefile Use newly built crt*.o files to build shared objects [BZ #22362] 2017-11-06 08:29:57 -08:00
start.c
sysdep.c
version.c Hide internal __libc_print_version function [BZ #18822] 2017-10-01 17:55:30 -07:00
Versions