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]: Use RAX_LP/RDX_LP on SAVE_PTR in sysdeps/x86_64/strtok.S


"H.J. Lu" <hjl.tools@gmail.com> writes:

> +/* Make sure that LINE is right after SAVEPTR so that updating SAVEPTR
> +   with 8 byte store will override first 4 bytes in LINE.  */
> +	.data
> +	.globl	line
> +	.globl	saveptr
> +	.p2align 2
> +saveptr:
> +	.long	0
> +line:
> +	.string	"udf 75868 1 - Live 0xffffffffa0bfb000\n"

struct
{
  char *saveptr;
  char line[];
} data = { 0, "udf 75868 1 - Live 0xffffffffa0bfb000\n" };

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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