All of lore.kernel.org
 help / color / mirror / Atom feed
* Using a custom LDFLAG for all objects and binaries
@ 2020-05-10 13:35 Mahmood Naderan
  2020-05-10 16:02 ` Randy Dunlap
  0 siblings, 1 reply; 8+ messages in thread
From: Mahmood Naderan @ 2020-05-10 13:35 UTC (permalink / raw)
  To: linux-kernel

Hi
I would like to modify the kernel makefile in a way to include
--emit-relocs for every file that is linked during the process of
kernel make.
I see

KBUILD_HOSTLDFLAGS  := $(HOST_LFS_LDFLAGS) $(HOSTLDFLAGS)
LDFLAGS_MODULE  =
LDFLAGS_vmlinux =
...

But I don't know which one is the main. Should I put that option in
front of every LD* variable? Or it is possible to apply one variable
for every file that is linked?
Appreciate your help.


Regards,
Mahmood

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-05-10 20:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-10 13:35 Using a custom LDFLAG for all objects and binaries Mahmood Naderan
2020-05-10 16:02 ` Randy Dunlap
2020-05-10 17:13   ` Mahmood Naderan
2020-05-10 17:50     ` Randy Dunlap
2020-05-10 19:04       ` Mahmood Naderan
2020-05-10 19:08         ` Randy Dunlap
2020-05-10 19:53           ` Mahmood Naderan
2020-05-10 20:30             ` Randy Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.