[Bug binutils/24768] Stop using __gnu_lto_slim symbol as a detection of a slim LTO object

2019-07-13 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24768 --- Comment #2 from Alan Modra --- +/* This a copy of lto_section defined in GCC (lto-streamer.h). */ + +struct lto_section +{ + int16_t major_version; + int16_t minor_version; + unsigned char slim_object: 1; + unsigned int compression: 4

[Bug ld/24806] New: Linking with unclosed -start-group and -T init.ld creates incorrect result

2019-07-13 Thread ohngeonocaewoungooth at xff dot cz
https://sourceware.org/bugzilla/show_bug.cgi?id=24806 Bug ID: 24806 Summary: Linking with unclosed -start-group and -T init.ld creates incorrect result Product: binutils Version: 2.33 (HEAD) Status: UNCONFIRMED

[Bug ld/24784] elf_x86_64_check_tls_transition should allow R_X86_64_GOTPCREL (-fno-plt)

2019-07-13 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24784 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug ld/24784] elf_x86_64_check_tls_transition should allow R_X86_64_GOTPCREL (-fno-plt)

2019-07-13 Thread maskray at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24784 --- Comment #5 from Fangrui Song --- I don't see how this bug is "invalid". I've already worked around the bug in clang, but I hope this hack can be deleted in a few years. > g++ -fno-plt -fpic a.cc -Wa,-mrelax-relocations=no -fuse-ld=bfd I