Closed Quuxplusone closed 7 years ago
Bugzilla Link | PR30387 |
Status | RESOLVED FIXED |
Importance | P normal |
Reported by | Rafael Ávila de Espíndola (rafael@espindo.la) |
Reported on | 2016-09-14 14:00:21 -0700 |
Last modified on | 2016-09-16 08:20:33 -0700 |
Version | unspecified |
Hardware | PC Linux |
CC | grimar@accesssoftek.com, llvm-bugs@lists.llvm.org |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
It is even can be like next:
*(SORT(.foo.1) SORT(EXCLUDE_FILE (*file1.o) .foo.2) SORT(EXCLUDE_FILE (*file2.o) .foo.3))
Working on a fix.
I noticed difference in semanics of ld/gold here.
Like:
ld wants.
*(SORT(EXCLUDE_FILE (*file1.o) .foo.1))
gold likes different order.
*(EXCLUDE_FILE (*file1.o) SORT(.foo.1))
I am inclined to think that means that in real world excludes probably not used
with sorting and it is possible to simplify code a bit and not support that
either. I`ll continue to work on this bug tomorrow.
r281721