Nicholas Piggin
3a166fc2d4
kbuild: handle libs-y archives separately from built-in.o archives
...
The thin archives build currently puts all lib.a and built-in.o
files together and links them with --whole-archive.
This works because thin archives can recursively refer to thin
archives. However some architectures include libgcc.a, which may
not be a thin archive, or it may not be constructed with the "P"
option, in which case its contents do not get linked correctly.
So don't pull .a libs into the root built-in.o archive. These
libs should already have symbol tables and indexes built, so they
can be direct linker inputs. Move them out of the --whole-archive
option, which restore the conditional linking behaviour of lib.a
to thin archives builds.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-06-30 09:03:03 +09:00
..
basic
fixdep: faster CONFIG_ search
2016-08-24 22:34:19 +02:00
coccinelle
drm: Introduce drm_property_blob_{get,put}()
2017-02-28 16:16:46 +01:00
dtc
DeviceTree fixes for 4.12-rc:
2017-05-19 15:03:24 -07:00
gcc-plugins
Fixes a typo in sancov plugin, exposed in earlier compiler versions
2017-03-09 18:05:41 -08:00
gdb
scripts/gdb: make lx-dmesg command work (reliably)
2017-06-02 15:07:38 -07:00
genksyms
Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
2017-03-11 01:18:25 +09:00
kconfig
gconfig: remove misleading parentheses around a condition
2017-03-22 02:56:33 +09:00
ksymoops
Fix dead URLs to ftp.kernel.org
2017-03-28 16:16:52 +02:00
mod
kbuild: Consolidate header generation from ASM offset information
2017-04-13 05:43:37 +09:00
package
Kbuild misc updates for 4.12
2017-05-10 20:41:43 -07:00
selinux
selinux: include sys/socket.h in host programs to have PF_MAX
2017-03-10 15:09:27 -05:00
tracing
ftrace/scripts: Add helper script to bisect function tracing problem functions
2016-09-21 13:56:55 -04:00
.gitignore
adjust_autoksyms.sh
kbuild: fix scripts/adjust_autoksyms.sh* for the no modules case
2016-12-11 22:30:10 +01:00
asn1_compiler.c
bloat-o-meter
scripts/bloat-o-meter: compile .NUMBER regex
2016-12-12 18:55:06 -08:00
bootgraph.pl
check-lc_ctype.c
check_00index.sh
scripts: add a script to check if Documentation/00-INDEX is sane
2016-12-05 14:21:24 -07:00
check_extable.sh
checkincludes.pl
scripts/checkincludes.pl: add exit message for no duplicates found
2017-02-22 16:41:26 -08:00
checkkconfigsymbols.py
checkkconfigsymbols.py: support Kconfig's 'imply' statement
2017-02-03 11:49:06 +01:00
checkpatch.pl
checkpatch: improve the SUSPECT_CODE_INDENT test
2017-05-08 17:15:11 -07:00
checkstack.pl
scripts: remove AVR32 support from checkstack.pl
2017-05-01 09:27:15 +02:00
checksyscalls.sh
x86/syscalls/32: Ignore arch_prctl for other architectures
2017-03-24 14:13:55 +01:00
checkversion.pl
cleanfile
cleanpatch
coccicheck
scripts/coccicheck: Update reference for the corresponding documentation
2016-10-11 09:50:43 +02:00
config
conmakehash.c
const_structs.checkpatch
const_structs.checkpatch: add frequently used from Julia Lawall's list
2016-10-11 15:06:30 -07:00
decode_stacktrace.sh
scripts/decode_stacktrace.sh: Fix address line detection on x86
2016-11-29 14:19:50 +01:00
decodecode
depmod.sh
diffconfig
docproc.c
export_report.pl
extract-cert.c
extract-ikconfig
extract-module-sig.pl
extract-sys-certs.pl
extract-vmlinux
extract_xc3028.pl
[media] extract_xc3028.pl: move it to scripts/dir
2016-07-17 14:08:12 -03:00
faddr2line
scripts/faddr2line: Fix "size mismatch" error
2016-10-25 18:40:37 +02:00
gcc-goto.sh
gcc-ld
gcc-plugin.sh
gcc-plugins: abort builds cleanly when not supported
2016-08-08 17:49:05 -07:00
gcc-version.sh
gcc-x86_32-has-stack-protector.sh
gcc-x86_64-has-stack-protector.sh
scripts/has-stack-protector: add -fno-PIE
2016-11-09 22:28:05 +01:00
gen_initramfs_list.sh
initramfs: Escape colons in depfile
2016-09-23 10:35:32 +02:00
get_dvb_firmware
get_maintainer.pl
get_maintainer: look for arbitrary letter prefixes in sections
2016-12-12 18:55:09 -08:00
gfp-translate
headerdep.pl
headers.sh
headers_check.pl
headers_install.sh
insert-sys-cert.c
kallsyms.c
kbuild: modversions: add infrastructure for emitting relative CRCs
2017-02-03 08:28:25 -08:00
Kbuild.include
Kbuild updates for v4.12
2017-05-10 20:11:05 -07:00
kernel-doc
scripts/kernel-doc: fix handling of parameters with parenthesis
2017-04-02 14:06:56 -06:00
kernel-doc-xml-ref
ld-version.sh
Lindent
scripts/Lindent: clean up and optimize
2017-02-22 16:41:26 -08:00
link-vmlinux.sh
kbuild: handle libs-y archives separately from built-in.o archives
2017-06-30 09:03:03 +09:00
Makefile
Makefile.asm-generic
Makefile.build
kbuild: thin archives use P option to ar
2017-06-30 09:03:03 +09:00
Makefile.clean
Makefile.dtbinst
kbuild: dtbinst: remove unnecessary __dtbs_install_prep target
2017-05-08 07:26:06 +09:00
Makefile.extrawarn
kbuild: drop -Wno-unknown-warning-option from clang options
2017-04-23 16:09:15 +09:00
Makefile.fwinst
Makefile.gcc-plugins
powerpc updates for 4.11 part 1.
2017-02-22 10:30:38 -08:00
Makefile.headersinst
kbuild: skip install/check of headers right under uapi directories
2017-05-18 02:17:45 +09:00
Makefile.help
Makefile.host
Makefile.kasan
kasan: turn on -fsanitize-address-use-after-scope
2016-12-12 18:55:09 -08:00
Makefile.lib
devicetree: Move include prefixes from arch to separate directory
2017-05-18 23:55:48 -07:00
Makefile.modbuiltin
Makefile.modinst
Makefile.modpost
kbuild: add arch specific post-link Makefile
2016-09-09 10:47:00 +02:00
Makefile.modsign
Makefile.ubsan
Kbuild: enable -Wmaybe-uninitialized warning for "make W=1"
2016-11-11 08:45:08 -08:00
makelst
markup_oops.pl
mkcompile_h
mkmakefile
mksysmap
mkuboot.sh
mkversion
module-common.lds
module: set .init_array alignment to 8
2017-03-13 09:40:28 -07:00
namespace.pl
objdiff
scripts: objdiff: Ignore debug info when comparing
2017-03-11 11:13:38 +09:00
patch-kernel
pnmtologo.c
profile2linkerlist.pl
prune-kernel
recordmcount.c
ftrace: Allow for function tracing to record init functions on boot up
2017-03-24 20:51:49 -04:00
recordmcount.h
recordmcount.pl
ftrace: Allow for function tracing to record init functions on boot up
2017-03-24 20:51:49 -04:00
setlocalversion
show_delta
sign-file.c
sign-file: fix build error in sign-file.c with libressl
2017-02-10 12:43:47 +11:00
sortextable.c
powerpc: Build-time sort the exception table
2016-11-14 11:11:51 +11:00
sortextable.h
spelling.txt
treewide: spelling: correct diffrent[iate] and banlance typos
2017-05-08 17:15:13 -07:00
stackdelta
stackusage
tags.sh
scripts/tags.sh: include arch/Kconfig* for tags generation
2017-02-22 16:41:26 -08:00
unifdef.c
ver_linux
ver_linux: Use /usr/bin/awk instead of /bin/awk
2017-04-08 18:03:42 +02:00
xen-hypercalls.sh
xz_wrap.sh