This is the mail archive of the libc-hacker@sourceware.cygnus.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: Accommodate BP return value from __errno_location ()


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.

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