Re: [Tinycc-devel] [ RFC] About packing two infos in a long v2

2012-11-16 Thread Thomas Preud'homme
Le vendredi 16 novembre 2012 22:07:52, Thomas Preud'homme a écrit : > Le jeudi 15 novembre 2012 18:34:51, grischka a écrit : > > > Compare > > > > put_sym_attr(s1, sym_index, got_offset, s1->got->data_offset); > > > > with > > > > alloc_sym_attr(s1, sym_index)->got_offset = s1->got-

Re: [Tinycc-devel] [ RFC] About packing two infos in a long v2

2012-11-16 Thread Thomas Preud'homme
Le jeudi 15 novembre 2012 18:34:51, grischka a écrit : > robo...@celest.fr wrote: > > I already did a general function to store a value but I adopted a > > different approach: > > > > #define put_sym_attr(s,index,field,val) \ > > > > alloc_sym_attr(s, index); \ > > s->sym_attrs[