| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | Static variables and "gp" |
| From: | "Gilad Benjamini" <yaelgilad@myrealbox.com> |
| Date: | Sun, 02 Mar 2003 09:07:28 +0000 |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
Hi,
How can I force a specific static variable to be used by the "gp" register
rather than by a two-step load ?
Compiling a mips-linux using gcc.
I was poking around for information and stumbled across the "-G" flag,
the "__attribute__ ((section (".sdata")))" (or sbss), the "-msdata" but to no
avail.
I only got more confused.
Any help will be appreciated
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: CardBus on DBAu1500, Pete Popov |
|---|---|
| Next by Date: | Re: Static variables and "gp", Ralf Baechle |
| Previous by Thread: | CardBus on DBAu1500, Jeff Baitis |
| Next by Thread: | Re: Static variables and "gp", Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |