PATCH: Sign extend relocation result to 64bit for R_X86_64_DTPOFF64/R_X86_64_TPOFF64

Marek Polacek polacek@redhat.com
Tue May 8 17:08:00 GMT 2012


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.

	Marek



More information about the Libc-alpha mailing list