This is the mail archive of the gcc-help@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]

int _gs_ *ptr; -is this possible?


I want to addres pointer relative to some specific segment, eg. %gs.
It could be something like this:
int _gs_ *ptr;
ptr=0x04; // ptr referencing to 0x04 in %gs

Is something like this possible in gcc?

I stay with hope for answer - regards 

A.D.Danilecki "szopen"

-- 
--
wsiowy informatyk, lama z checiami
,,moja zona ma cool meza''
--------------------------------------------------


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