bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/13683] usage tracking by --gc-sections ignores a --defsym mappin


From: nickc at redhat dot com
Subject: [Bug ld/13683] usage tracking by --gc-sections ignores a --defsym mapping
Date: Wed, 15 Feb 2012 09:57:43 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=13683

--- Comment #7 from Nick Clifton <nickc at redhat dot com> 2012-02-15 09:57:43 
UTC ---
Hi Alan,

> can you just run lang_do_assignments before lang_gc_sections instead?

I tried that, but could not find a way to make it work.  If you run it with
lang_first_phase_enum it does not recompute the defsym assignments.  If you run
it with any other enum it fails the "output section size must be non-zero"
assertion in lamg_size_sections_1.  

I agree however that re-invoking lang_do_assignments would be a better way to
fix the problem.  I will investigate some more and see if I can persuade it to
work.

Cheers
  Nick

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- 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]