All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kip Walker" <kwalker@broadcom.com>
To: linux-mips@oss.sgi.com
Subject: .section problems in entry.S
Date: Fri, 07 Dec 2001 10:05:08 -0800	[thread overview]
Message-ID: <3C1104D4.F700768A@broadcom.com> (raw)

I just investigated assembler warnings coming from
arch/mips/kernel/entry.S (checked out as of 12/07 00:00 UTC), and
noticed the following.  After expanding macros, you get something like:

	.text

	.section ".text.init"   (from __INIT)

	.data			(from PANIC)
	.previous		(from PANIC)
	--> section is now .text.init

	.previous		(from __FINIT)
	--> section is now .data, not .text as intended.

Perhaps .pushsection and .popsection should be used in some or all
macros like this?

Or am I smoking crack?

Kip

             reply	other threads:[~2001-12-07 19:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-07 18:05 Kip Walker [this message]
2001-12-10  0:18 ` .section problems in entry.S Ralf Baechle
2001-12-10 16:03   ` Maciej W. Rozycki
2001-12-13 20:45     ` Ralf Baechle
2001-12-13 21:12       ` Thiemo Seufer
2001-12-13 21:27         ` Daniel Jacobowitz
2001-12-13 22:13           ` Thiemo Seufer
2001-12-13 22:21             ` Daniel Jacobowitz
2001-12-13 21:28       ` Daniel Jacobowitz
2001-12-13 21:37         ` Ralf Baechle
2001-12-13 21:41           ` Daniel Jacobowitz
2001-12-14 14:47           ` Maciej W. Rozycki

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=3C1104D4.F700768A@broadcom.com \
    --to=kwalker@broadcom.com \
    --cc=linux-mips@oss.sgi.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 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.