make vmlinux .bss PROGBITS
Valdis Kl=?utf-8?Q?=c4=93?=tnieks
valdis.kletnieks at vt.edu
Tue Oct 6 14:11:05 EDT 2020
On Tue, 06 Oct 2020 08:17:44 -0500, William Tambe said:
> How can I modify Makefile such that when vmlinux is created, following
> command is run on vmlinux to make section .bss PROGBITS:
> objcopy --set-section-flags .bss=alloc,load,contents
Remember - vmlinux isn't going to be loaded by the userspace loader,
but rather by a bootstrap loader. So those flags probably don't actually
do what you think they do.
For that matter, what *do* you think they do, and what problem are you
trying to solve with them?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20201006/5d681951/attachment.sig>
More information about the Kernelnewbies
mailing list