[Bug binutils/24031] Cannot remove section related to a function (even if the function is in separate section and isn't referenced elsewhere)

2019-01-03 Thread ebotcazou at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24031

Eric Botcazou  changed:

   What|Removed |Added

 CC||ebotcazou at gcc dot gnu.org

--- Comment #3 from Eric Botcazou  ---
> Andreas, is there a way to remove .text symbols under -ffunction-sections?
> This might be in some embedded use-cases.

The only way is to link with --gc-sections.

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


[Bug binutils/24031] Cannot remove section related to a function (even if the function is in separate section and isn't referenced elsewhere)

2018-12-25 Thread tetra2005 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24031

Yuri Gribov  changed:

   What|Removed |Added

 CC||tetra2005 at gmail dot com

--- Comment #2 from Yuri Gribov  ---
(In reply to Andreas Schwab from comment #1)
> There is a relocation for .eh_frame that references .text.g.

Andreas, is there a way to remove .text symbols under -ffunction-sections? This
might be in some embedded use-cases.

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


[Bug binutils/24031] Cannot remove section related to a function (even if the function is in separate section and isn't referenced elsewhere)

2018-12-24 Thread sch...@linux-m68k.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24031

Andreas Schwab  changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |INVALID

--- Comment #1 from Andreas Schwab  ---
There is a relocation for .eh_frame that references .text.g.

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