https://sourceware.org/bugzilla/show_bug.cgi?id=24389

Jim Wilson <wilson at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at sourceware dot org   |wilson at gcc dot 
gnu.org

--- Comment #5 from Jim Wilson <wilson at gcc dot gnu.org> ---
Created attachment 11717
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11717&action=edit
don't warn for ABI issues if no code section

I found a solution in the ARM port that I can borrow.  This patch checks for
code sections, and skips the ABI checks if there is no code in an object file. 
None of our ABI flags affect data (currently), so this should be safe.

This works on an extracted testcase with a cross compiler.  I want to test it
natively before committing, but my HiFive Unleashed is unavailable at the
moment.

-- 
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

Reply via email to