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 Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
check_fds.c Consolidate non cancellable open call 2017-08-17 16:50:35 -03:00
dso_handle.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
elf-init.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
errno-loc.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
errno.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
gmon-start.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
init-first.c getopt: remove USE_NONOPTION_FLAGS 2017-04-07 07:45:53 -04:00
init.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
libc-start.c Mark __libc_multiple_libcs with attribute_hidden [BZ #18822] 2017-08-21 05:32:39 -07:00
libc-tls.c i386: Add <startup.h> [BZ #21913] 2017-08-08 08:43:15 -07:00
Makefile Use newly built crt*.o files to build shared objects [BZ #22362] 2017-11-06 08:29:57 -08:00
start.c More fallout from supporting only ELF 2012-01-08 00:45:01 -05:00
sysdep.c Moved to csu/errno-loc.c. 2005-12-14 15:06:39 +00:00
version.c Hide internal __libc_print_version function [BZ #18822] 2017-10-01 17:55:30 -07:00
Versions Remove unused %include lines from Versions files. 2014-02-22 00:58:54 -08:00