Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: mephi42 at gmail dot com
Target Milestone: ---
$ cat thread.c
__thread int x = 42;
int main() {
return x;
}
$ gcc -c thread.c
$ binutils-gdb/binutils/objdump -r thread.o
thread.o
https://sourceware.org/bugzilla/show_bug.cgi?id=23297
--- Comment #1 from mephi42 at gmail dot com ---
Created attachment 11074
--> https://sourceware.org/bugzilla/attachment.cgi?id=11074&action=edit
patch
Did git "grep -w -e BFD_RELOC_MACH_O_X86_64_GOT -e BFD_MACH_O_X86_64_RE
https://sourceware.org/bugzilla/show_bug.cgi?id=23297
--- Comment #2 from mephi42 at gmail dot com ---
The version of "OS X ABI Mach-O File Format Reference" that I found did not
contain the information about this relocation.
But I found a relevant LLVM change (https://reviews.llvm.
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: mephi42 at gmail dot com
Target Milestone: ---
$ cat main.c
int main() {}
$ gcc -c main.c
$ gcc main.o -o main
$ binutils-gdb/binutils/objcopy main.o main1.o
$ gcc main1.o -o main1
ld: object file
https://sourceware.org/bugzilla/show_bug.cgi?id=23299
--- Comment #2 from mephi42 at gmail dot com ---
Created attachment 11080
--> https://sourceware.org/bugzilla/attachment.cgi?id=11080&action=edit
initial object file
--
You are receiving this mail because:
You are on the CC list
https://sourceware.org/bugzilla/show_bug.cgi?id=23299
--- Comment #3 from mephi42 at gmail dot com ---
Created attachment 11081
--> https://sourceware.org/bugzilla/attachment.cgi?id=11081&action=edit
corrupted object file
--
You are receiving this mail because:
You are on the CC list
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: mephi42 at gmail dot com
Target Milestone: ---
$ cat obj.c
static void f() {}
void g() { f(); }
$ gcc -c obj.c
$ nm obj.o
0010 t _f
https://sourceware.org/bugzilla/show_bug.cgi?id=23315
--- Comment #1 from mephi42 at gmail dot com ---
Created attachment 11085
--> https://sourceware.org/bugzilla/attachment.cgi?id=11085&action=edit
patch
--
You are receiving this mail because:
You are on the CC list for
https://sourceware.org/bugzilla/show_bug.cgi?id=23315
--- Comment #2 from mephi42 at gmail dot com ---
Created attachment 11087
--> https://sourceware.org/bugzilla/attachment.cgi?id=11087&action=edit
object file from the repro
--
You are receiving this mail because:
You are on the CC l
https://sourceware.org/bugzilla/show_bug.cgi?id=23299
--- Comment #5 from mephi42 at gmail dot com ---
With your patch the problem is gone. Thanks!!
--
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing
https://sourceware.org/bugzilla/show_bug.cgi?id=23315
mephi42 at gmail dot com changed:
What|Removed |Added
Attachment #11085|0 |1
is obsolete
https://sourceware.org/bugzilla/show_bug.cgi?id=23315
mephi42 at gmail dot com changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
12 matches
Mail list logo