This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: new attribute?


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  = ....

	


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]