PATCH: Accommodate BP return value from __errno_location ()
Greg McGary
greg@kayak.mcgary.org
Mon Jun 26 18:49:00 GMT 2000
Ulrich Drepper <drepper@redhat.com> writes:
> Greg McGary <greg@kayak.mcgary.org> writes:
>
> > PUSH_ERRNO_LOCATION_RETURN is defined in the new file
> > libc/sysdeps/i386/bp-asm.h that was checked in previously.
> >
> > PUSH_ERRNO_LOCATION_RETURN and POP_ERRNO_LOCATION_RETURN expand
> > to nothing, and BP_SYM does nothing for non-BP builds.
>
> Where are the definitions to define the macros to nothing?
They were already present in sysdeps/i386/bp-asm.h:
# else /* !__BOUNDED_POINTERS__ */
...
# define PUSH_ERRNO_LOCATION_RETURN
# define POP_ERRNO_LOCATION_RETURN
# endif /* !__BOUNDED_POINTERS__ */
> If it compiled without BP it's OK.
Yes, it does.
More information about the Libc-hacker
mailing list