bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/27565] ld: Support input section description keyword: REVERSE


From: alexey.lapshin at espressif dot com
Subject: [Bug ld/27565] ld: Support input section description keyword: REVERSE
Date: Thu, 19 Oct 2023 16:49:38 +0000

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

--- Comment #9 from Alexey <alexey.lapshin at espressif dot com> ---
That is what I found.

Issue 1:

Can not pass multiple sections to REVERSE, e.g:
*(REVERSE(.init_array .ctors))

Can only with combining:
*(REVERSE(.init_array))
*(REVERSE(.ctors))

Issue 2:

Reverse does not apply for:

*(REVERSE(EXCLUDE_FILE (*crtend.* *crtbegin.*) .ctors))

? Issue 3:

The first element is 0xffffffff for:
*(REVERSE(.ctors))

I would like to not change the place of terminating 0xffffffff ctors.
Could not check how it works with clang linker, because getting this:
ld.lld: error: script.ld:112: expected filename pattern
>>>     KEEP (*(REVERSE(.ctors)))
>>>                             ^

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