[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/26265] New: Spurious 'gc-sections requires either an entry or an
From: |
i at maskray dot me |
Subject: |
[Bug ld/26265] New: Spurious 'gc-sections requires either an entry or an undefined symbol' when --init or --fini is specified |
Date: |
Sun, 19 Jul 2020 22:09:44 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=26265
Bug ID: 26265
Summary: Spurious 'gc-sections requires either an entry or an
undefined symbol' when --init or --fini is specified
Product: binutils
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
link_info.init_function & link_info.fini_function are GC roots. When they are
explicitly specified, there is no need for the error:
% ld.bfd -r --gc-sections -init _init a.o
ld.bfd: gc-sections requires either an entry or an undefined symbol
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug ld/26265] New: Spurious 'gc-sections requires either an entry or an undefined symbol' when --init or --fini is specified,
i at maskray dot me <=