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]
Other format: [Raw text]

Re: [PATCH] Tiny bi-arch bits/syscall.h change


Jakub Jelinek <jakub@redhat.com> writes:

> Hi!
>
> I noticed bits/syscall.h on x86-64 has all defines in __WORDSIZE
> == 64, ie. defines no 32-bit syscall.
> Fixed thusly. 32bit-predefine is not needed
> on other arches, since asm stubs use #if defined basearch && defined 64bitarch
> resp. #if defined basearch && !defined 64bitarch.
>
> 2002-10-30  Jakub Jelinek  <jakub@redhat.com>
>
> 	* sysdeps/unix/sysv/linux/Makefile (syscall-%.h): Add -D for each
> 	32bit-predefine when creating .new32 list and -U for each
> 	32bit-predefine when creating .new64 list.
>
> --- libc/sysdeps/unix/sysv/linux/x86_64/Makefile.jj	2002-10-16 23:22:16.000000000 +0200
> +++ libc/sysdeps/unix/sysv/linux/x86_64/Makefile	2002-10-30 16:42:02.000000000 +0100
> @@ -1,3 +1,4 @@
> +32bit-predefine = __i386__
>  64bit-predefine = __x86_64__

Thanks, committed with ChangeLog mentioning the above change,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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