bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/12809] New: R_X86_64_TPOFF64 isn't handled properly


From: hjl.tools at gmail dot com
Subject: [Bug ld/12809] New: R_X86_64_TPOFF64 isn't handled properly
Date: Thu, 26 May 2011 04:26:14 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12809

           Summary: R_X86_64_TPOFF64 isn't handled properly
           Product: binutils
           Version: 2.22 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: address@hidden
        ReportedBy: address@hidden


address@hidden tmp]$ cat foo.c
extern void abort (void);

__thread char thra[2];

void
__attribute__((noinline))
f1 (void)
{
  int i;
  for (i = 0; i < 2; i++)
    thra[i]= i;
}

int
main (void)
{
  f1 ();
  if (thra[0] != 0)
    abort ();
  return 0;
}
address@hidden tmp]$ gcc -mcmodel=large -g foo.c -O  
address@hidden tmp]$ ./a.out 
Segmentation fault
address@hidden tmp]$

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]