| To: | linux-mips@oss.sgi.com |
|---|---|
| Subject: | .section problems in entry.S |
| From: | "Kip Walker" <kwalker@broadcom.com> |
| Date: | Fri, 07 Dec 2001 10:05:08 -0800 |
| Organization: | Broadcom Corp. BPBU |
| Sender: | owner-linux-mips@oss.sgi.com |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: PATCH: io.h remove detrimental do {...} whiles, add sequence points, add const modifiers, Jim Paris |
|---|---|
| Next by Date: | Re: PATCH: io.h remove detrimental do {...} whiles, add sequence points, add const modifiers, Ralf Baechle |
| Previous by Thread: | PATCH: io.h remove detrimental do {...} whiles, add sequence points, add const modifiers, Bradley D. LaRonde |
| Next by Thread: | Re: .section problems in entry.S, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |