kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: "Valdis Klētnieks" <valdis.kletnieks@vt.edu>
To: William Tambe <tambewilliam@gmail.com>
Cc: Kernel Newbies <kernelnewbies@kernelnewbies.org>
Subject: Re: make vmlinux .bss PROGBITS
Date: Tue, 06 Oct 2020 14:11:05 -0400	[thread overview]
Message-ID: <123123.1602007865@turing-police> (raw)
In-Reply-To: <CAF8i9mPK0ZUe_tkWPpbXNqJbZWtMpxHM4C0wxJYaohcWRe7K=Q@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 514 bytes --]

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?


[-- Attachment #1.2: Type: application/pgp-signature, Size: 832 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

  reply	other threads:[~2020-10-06 18:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-06 13:17 make vmlinux .bss PROGBITS William Tambe
2020-10-06 18:11 ` Valdis Klētnieks [this message]
2020-10-06 18:56   ` William Tambe
2020-10-06 23:52     ` Valdis Klētnieks

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=123123.1602007865@turing-police \
    --to=valdis.kletnieks@vt.edu \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=tambewilliam@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).