All of lore.kernel.org
 help / color / mirror / Atom feed
* .section problems in entry.S
@ 2001-12-07 18:05 Kip Walker
  2001-12-10  0:18 ` Ralf Baechle
  0 siblings, 1 reply; 12+ messages in thread
From: Kip Walker @ 2001-12-07 18:05 UTC (permalink / raw)
  To: linux-mips

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

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

end of thread, other threads:[~2001-12-14 15:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-07 18:05 .section problems in entry.S Kip Walker
2001-12-10  0:18 ` 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

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.