This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: Define DR_LEN_8 only if __x86_64__ is defined
- From: Roland McGrath <roland at hack dot frob dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Fri, 1 Jun 2012 13:02:52 -0700 (PDT)
- Subject: Re: PATCH: Define DR_LEN_8 only if __x86_64__ is defined
- References: <20120531143256.GA8591@intel.com>
The kernel doesn't actually constrain the dr7 value, so a user could use
DR_LEN_8 on 64-bit hardware (maybe even with a 32-bit kernel?). But it
seems reasonable that in -m32 mode you are only encouraged to produce code
that actually works on 32-bit-only hardware. So this is fine.