This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: new attribute?
- To: jeff <jeff at allegrosys dot com>
- Subject: Re: new attribute?
- From: Alan Lehotsky <alehotsky at cygnus dot com>
- Date: Wed, 18 Apr 2001 13:50:47 -0400
- Cc: gcc at gcc dot gnu dot org
- References: <23051C9F9BABD411A7850002B3084799124F6C@DELTA>
At 9:51 AM -0700 4/18/01, jeff wrote:
>Hi. Is there anything in the works (or would it be acceptable) to add an
>"org"
>attr - the idea being that one could place a data structure at a specific
>memory
>location in the code?
>
>thx.
>
>Jeff
what's wrong with
struct data * const p = (struct data *) (0x1000);
p->member = ....