https://sourceware.org/bugzilla/show_bug.cgi?id=18845
--- Comment #2 from Johan Karlsson <johan.karlsson at enea dot com> --- Right now there is a check for the -r/--gc-section/--icf combination in queue_initial_tasks(), however I think I saw a PR about it generating lots of error afterwards. Can't find it though. I don't think the patch I attached would end in an assert failing when using -r in combination with --gc-section or --icf. I'm using it to relocate a program when loading it on an embedded system. Why not an relocatable ELF is used would be due to legacy, however it works quite well to do it this way. The only drawback would be that most of the relocation entries are unnecessary. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils