diff mbox

Replace __int128 with __int128_t in sysdeps/x86_64/link-defines.sym

Message ID 538608F4.6010807@redhat.com
State New
Headers show

Commit Message

Marko Myllynen May 28, 2014, 4:04 p.m. UTC
Hi,

48332d missed a spot, this patch fixes build on RHEL 6 / x86_64.

	* sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
          with __int128_t.

Comments

H.J. Lu May 28, 2014, 4:47 p.m. UTC | #1
On Wed, May 28, 2014 at 9:04 AM, Marko Myllynen <myllynen@redhat.com> wrote:
> Hi,
>
> 48332d missed a spot, this patch fixes build on RHEL 6 / x86_64.
>
>         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
>           with __int128_t.
>
> diff --git a/sysdeps/x86_64/link-defines.sym b/sysdeps/x86_64/link-defines.sym
> index 862fa22..963c69b 100644
> --- a/sysdeps/x86_64/link-defines.sym
> +++ b/sysdeps/x86_64/link-defines.sym
> @@ -6,7 +6,7 @@ VECTOR_SIZE             sizeof (La_x86_64_vector)
>  XMM_SIZE               sizeof (La_x86_64_xmm)
>  YMM_SIZE               sizeof (La_x86_64_ymm)
>  ZMM_SIZE               sizeof (La_x86_64_zmm)
> -BND_SIZE               sizeof (__int128)
> +BND_SIZE               sizeof (__int128_t)
>
>  LR_SIZE                        sizeof (struct La_x86_64_regs)
>  LR_RDX_OFFSET          offsetof (struct La_x86_64_regs, lr_rdx)
> --
> 1.7.1
>

Looks good to me.

Thanks.
H.J. Lu May 30, 2014, 5:51 p.m. UTC | #2
On Wed, May 28, 2014 at 9:47 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Wed, May 28, 2014 at 9:04 AM, Marko Myllynen <myllynen@redhat.com> wrote:
>> Hi,
>>
>> 48332d missed a spot, this patch fixes build on RHEL 6 / x86_64.
>>
>>         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
>>           with __int128_t.
>>
>> diff --git a/sysdeps/x86_64/link-defines.sym b/sysdeps/x86_64/link-defines.sym
>> index 862fa22..963c69b 100644
>> --- a/sysdeps/x86_64/link-defines.sym
>> +++ b/sysdeps/x86_64/link-defines.sym
>> @@ -6,7 +6,7 @@ VECTOR_SIZE             sizeof (La_x86_64_vector)
>>  XMM_SIZE               sizeof (La_x86_64_xmm)
>>  YMM_SIZE               sizeof (La_x86_64_ymm)
>>  ZMM_SIZE               sizeof (La_x86_64_zmm)
>> -BND_SIZE               sizeof (__int128)
>> +BND_SIZE               sizeof (__int128_t)
>>
>>  LR_SIZE                        sizeof (struct La_x86_64_regs)
>>  LR_RDX_OFFSET          offsetof (struct La_x86_64_regs, lr_rdx)
>> --
>> 1.7.1
>>
>
> Looks good to me.
>

I checked it in for you.

Thanks.
diff mbox

Patch

diff --git a/sysdeps/x86_64/link-defines.sym b/sysdeps/x86_64/link-defines.sym
index 862fa22..963c69b 100644
--- a/sysdeps/x86_64/link-defines.sym
+++ b/sysdeps/x86_64/link-defines.sym
@@ -6,7 +6,7 @@  VECTOR_SIZE             sizeof (La_x86_64_vector)
 XMM_SIZE               sizeof (La_x86_64_xmm)
 YMM_SIZE               sizeof (La_x86_64_ymm)
 ZMM_SIZE               sizeof (La_x86_64_zmm)
-BND_SIZE               sizeof (__int128)
+BND_SIZE               sizeof (__int128_t)
 
 LR_SIZE                        sizeof (struct La_x86_64_regs)
 LR_RDX_OFFSET          offsetof (struct La_x86_64_regs, lr_rdx)