This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Sign extend relocation result to 64bit forR_X86_64_DTPOFF64/R_X86_64_TPOFF64


> On Tue, May 08, 2012 at 09:48:09AM -0700, H.J. Lu wrote:
> > +#   ifdef __ILP32__
> > +	    *(Elf64_Sxword *) reloc_addr
> > +	      = (Elf64_Sxword)
> > +		  ((Elf32_Sword) (sym->st_value + reloc->r_addend));
> > +#   else
> 
> The usual style is to keep the = at the end of the line.

No, it's not.  GNU style puts the operator on the next line, even the
assignment operator.


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