This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: [PATCH] Fix alpha elf_machine_load_address


Richard Henderson <rth@redhat.com> writes:

>   asm ("bsr %0,1f	\n\
> 	.data		\n\
> 	.align 3	\n\
> 	nop		\n\
> 1:	ret %0,(%0),0	\n\
> 	.quad .		\n\
> 	.previous"
> 	: "=r"(addr));

This would assume that the data section is executable which isn't
normally the case.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


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