mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
To: Geert Uytterhoeven <geert@linux-m68k.org>,
	Artur Rojek <contact@artur-rojek.eu>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>,
	Rich Felker <dalias@libc.org>,
	 Daniel Lezcano <daniel.lezcano@linaro.org>,
	Thomas Gleixner <tglx@linutronix.de>,
	Uros Bizjak <ubizjak@gmail.com>,
	 "D . Jeff Dionne"	 <jeff@coresemi.io>,
	Rob Landley <rob@landley.net>,
	linux-sh@vger.kernel.org, 	linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] sh: align .bss section padding to 8-byte boundary
Date: Thu, 13 Mar 2025 11:36:21 +0100	[thread overview]
Message-ID: <cb1d47ddc86ad1b2235dbd430fed28f6d6cd1c80.camel@physik.fu-berlin.de> (raw)
In-Reply-To: <CAMuHMdVmKk9vML=p1MsnkGATzUh3HD+Pa==7C=QMYjjzqzxk2A@mail.gmail.com>

Hi Geert,

On Wed, 2025-03-12 at 09:06 +0100, Geert Uytterhoeven wrote:
> What about moving (or duplicating, e.g. sbss_align alignment is
> done before and after __bss_start)  the stop_align alignment
> from BSS_SECTION() into BSS() instead, i.e. just changing
> include/asm-generic/vmlinux.lds.h for everyone?  I don't think that
> would hurt any platforms, while fixing the issue for good.
> IMHO it is a bit strange that the size of the bss section can differ
> from __bss_stop - __bss_start.

This sounds reasonable. Could you send a patch? I assume that would go
through a different tree as we're touching generic code.

> One last question though: what about sbss? How does the TurtleBoard
> loader handle that?  __bss_stop - __bss_start is not the size of bss,
> but the sum of the sizes of sbss and bss, plus extra alignment in
> between. The latter might cause trouble, too.

Does the compiler actually generate the SBSS section on SH?

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

  reply	other threads:[~2025-03-13 10:36 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-16 17:55 [PATCH 0/2] J2 Turtle Board fixes Artur Rojek
2025-02-16 17:55 ` [PATCH 1/2] sh: align .bss section padding to 8-byte boundary Artur Rojek
2025-02-18 12:41   ` Rob Landley
2025-03-11 17:28   ` John Paul Adrian Glaubitz
2025-03-11 23:40     ` Artur Rojek
2025-03-12  8:06       ` Geert Uytterhoeven
2025-03-13 10:36         ` John Paul Adrian Glaubitz [this message]
2025-03-12  8:21       ` John Paul Adrian Glaubitz
2025-03-12  8:32         ` Uros Bizjak
2025-03-12  8:44           ` John Paul Adrian Glaubitz
2025-03-12  9:47           ` Geert Uytterhoeven
2025-03-12  9:55             ` Uros Bizjak
2025-03-13  9:38             ` David Laight
2025-04-05 17:38   ` John Paul Adrian Glaubitz
2025-02-16 17:55 ` [PATCH 2/2] irqchip: clocksource: fix jcore-pit irq request Artur Rojek
2025-02-17  7:14   ` Uros Bizjak
2025-02-17 22:35   ` [tip: irq/urgent] irqchip/jcore-aic, clocksource/drivers/jcore: Fix jcore-pit interrupt request tip-bot2 for Artur Rojek
2025-02-18 12:43   ` [PATCH 2/2] irqchip: clocksource: fix jcore-pit irq request Rob Landley
2025-02-19 14:43   ` Daniel Lezcano
2025-02-19 14:50     ` Geert Uytterhoeven
2025-02-19 14:52       ` Daniel Lezcano
2025-02-27  7:52 ` [PATCH 0/2] J2 Turtle Board fixes John Paul Adrian Glaubitz
2025-02-28  3:03   ` Rob Landley
2025-02-28  8:34     ` John Paul Adrian Glaubitz
2025-02-28 22:19       ` Rob Landley
2025-02-28 22:34         ` John Paul Adrian Glaubitz
2025-03-01  3:20           ` Rob Landley
2025-04-08 15:23         ` John Paul Adrian Glaubitz
2025-04-11 11:25           ` Rob Landley
2025-06-09 10:01             ` John Paul Adrian Glaubitz
2025-06-10 20:22               ` Rob Landley

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=cb1d47ddc86ad1b2235dbd430fed28f6d6cd1c80.camel@physik.fu-berlin.de \
    --to=glaubitz@physik.fu-berlin.de \
    --cc=contact@artur-rojek.eu \
    --cc=dalias@libc.org \
    --cc=daniel.lezcano@linaro.org \
    --cc=geert@linux-m68k.org \
    --cc=jeff@coresemi.io \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sh@vger.kernel.org \
    --cc=rob@landley.net \
    --cc=tglx@linutronix.de \
    --cc=ubizjak@gmail.com \
    --cc=ysato@users.sourceforge.jp \
    /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

all inboxes | Powered by JetHome®