bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/18845] Using emit-relocs and icf ends in assert fail.


From: johan.karlsson at enea dot com
Subject: [Bug gold/18845] Using emit-relocs and icf ends in assert fail.
Date: Wed, 19 Aug 2015 08:14:32 +0000

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]