[Bug binutils/23297] New: macOS: BFD_MACH_O_X86_64_RELOC_TLV is not supported

2018-06-16 Thread mephi42 at gmail dot com
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

[Bug binutils/23297] macOS: BFD_MACH_O_X86_64_RELOC_TLV is not supported

2018-06-16 Thread mephi42 at gmail dot com
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

[Bug binutils/23297] macOS: BFD_MACH_O_X86_64_RELOC_TLV is not supported

2018-06-16 Thread mephi42 at gmail dot com
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.

[Bug binutils/23299] New: macOS: objcopy renders object files unusable

2018-06-16 Thread mephi42 at gmail dot com
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

[Bug binutils/23299] macOS: objcopy renders object files unusable

2018-06-18 Thread mephi42 at gmail dot com
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

[Bug binutils/23299] macOS: objcopy renders object files unusable

2018-06-18 Thread mephi42 at gmail dot com
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

[Bug binutils/23315] New: macOS: objcopy --globalize-symbol and --localize-symbol are no-ops

2018-06-19 Thread mephi42 at gmail dot com
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

[Bug binutils/23315] macOS: objcopy --globalize-symbol and --localize-symbol are no-ops

2018-06-19 Thread mephi42 at gmail dot com
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

[Bug binutils/23315] macOS: objcopy --globalize-symbol and --localize-symbol are no-ops

2018-06-19 Thread mephi42 at gmail dot com
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

[Bug binutils/23299] macOS: objcopy renders object files unusable

2018-06-19 Thread mephi42 at gmail dot com
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

[Bug binutils/23315] macOS: objcopy --globalize-symbol and --localize-symbol are no-ops

2018-08-20 Thread mephi42 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23315 mephi42 at gmail dot com changed: What|Removed |Added Attachment #11085|0 |1 is obsolete

[Bug binutils/23315] macOS: objcopy --globalize-symbol and --localize-symbol are no-ops

2020-12-23 Thread mephi42 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=23315 mephi42 at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED