Skip to content

Commit 7daf0e6

Browse files
update comment to reference legacy .ctors section
Co-authored-by: Ralf Jung <post@ralfj.de>
1 parent d060859 commit 7daf0e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/miri/src/shims/ctor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl<'tcx> GlobalCtorState<'tcx> {
5252

5353
// Read the standard `.init_array` section on platforms that use ELF, or WASM,
5454
// which supports the same linker directive.
55-
// FIXME: Add support for `.init_array.N`.
55+
// FIXME: Add support for `.init_array.N` and `.ctors`?
5656
BinaryFormat::Elf | BinaryFormat::Wasm =>
5757
this.lookup_link_section(|section| section == ".init_array")?,
5858

0 commit comments

Comments
 (0)