lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <de8d50360712050248u70229b8cib6a28903ef830ad1@mail.gmail.com>
Date:	Wed, 5 Dec 2007 02:48:07 -0800
From:	"Andrew Pinski" <pinskia@...il.com>
To:	"Jan Beulich" <jbeulich@...ell.com>
Cc:	Luca <luca.b633@...il.com>, gcc@....gnu.org,
	binutils@...rceware.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC] [PATCH] 32-bit pointers in x86-64

On 12/5/07, Jan Beulich <jbeulich@...ell.com> wrote:
> >>> "Andrew Pinski" <pinskia@...il.com> 25.11.07 19:45 >>>
> >On 11/25/07, Luca <luca.b633@...il.com> wrote:
> >> 7.1. Add __attribute__((pointer_size(XXX))) and #pragma pointer_size
> >> to allow 64-bit pointers in 32-bit mode and viceversa
> >
> >This is already there, try using __attribute__((mode(DI) )).
>
> Hmm, unless this is a new feature in 4.3, I can't seem to get this to work on
> either i386 (using mode DI) or x86-64 (using mode SI). Could you clarify?

This only works when you add support for the different pointer modes.
I was saying the middle support for this feature was already there,
just the target support was not.

Also there are issues with mode on pointers for C++, I don't know what
they are though.

Note this feature is used on the s390 target and also the ia64-hpux targets.
--Pinski
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ