Re: [PATCH v2 00/16] Remove dependency on ld --gc-section in PBL

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

 



On Mon, 25 Nov 2024 16:12:12 +0100, Ahmad Fatoum wrote:
> We depend on -ffunction-sections -fdata-sections at a lot of places and
> fail the link without due to undefined references. This is especially
> needed for obj-pbl-y code as the files usually have other functions
> depending on barebox proper infrastructure, but that is never called.
> 
> This works so far, but breaks for two things: LTO and using PBL on
> sandbox. Both I have not managed to get the linker not to complain about
> the undefined references in the ultimately unreferenced code.
> 
> [...]

Applied, thanks!

[01/16] scripts: include: add definitions for printk and BUG()
        https://git.pengutronix.de/cgit/barebox/commit/?id=5f714c461371 (link may not be stable)
[02/16] xfuncs: include <malloc.h> for free definition
        https://git.pengutronix.de/cgit/barebox/commit/?id=0b4b8e79bb29 (link may not be stable)
[03/16] pbl: define IN_PBL & IN_PROPER macros globally
        https://git.pengutronix.de/cgit/barebox/commit/?id=9a5dcb2db6d1 (link may not be stable)
[04/16] treewide: replace inverted check for PBL with new IN_PROPER macro
        https://git.pengutronix.de/cgit/barebox/commit/?id=f25049f852b8 (link may not be stable)
[05/16] lib: random: add stubs for PBL
        https://git.pengutronix.de/cgit/barebox/commit/?id=3c12b1a96d9d (link may not be stable)
[06/16] bootsource: stub out when in PBL
        https://git.pengutronix.de/cgit/barebox/commit/?id=a0e525ec732a (link may not be stable)
[07/16] crypto: provide crypto_memneq for PBL
        https://git.pengutronix.de/cgit/barebox/commit/?id=db767506b43f (link may not be stable)
[08/16] cdev: stub out cdev_read/write for PBL
        https://git.pengutronix.de/cgit/barebox/commit/?id=5d041e2a5d13 (link may not be stable)
[09/16] libfile: stub out file descriptor API for PBL
        https://git.pengutronix.de/cgit/barebox/commit/?id=5936a2a6b555 (link may not be stable)
[10/16] environment: stub out environment API for PBL
        https://git.pengutronix.de/cgit/barebox/commit/?id=2353d896d505 (link may not be stable)
[11/16] of: stub out live tree API when using PBL
        https://git.pengutronix.de/cgit/barebox/commit/?id=2b9c420413b0 (link may not be stable)
[12/16] errno: stub out perror/strerror API when built for PBL
        https://git.pengutronix.de/cgit/barebox/commit/?id=0195ed630f2c (link may not be stable)
[13/16] xfuncs: stub out API when built for PBL
        https://git.pengutronix.de/cgit/barebox/commit/?id=8bb5da08a0c4 (link may not be stable)
[14/16] stdio: stub out basprintf and friends when built for PBL
        https://git.pengutronix.de/cgit/barebox/commit/?id=787ca28ad2c3 (link may not be stable)
[15/16] memory: stub out request_barebox_region for PBL
        https://git.pengutronix.de/cgit/barebox/commit/?id=1fed78b24d3b (link may not be stable)
[16/16] malloc: add PBL stubs
        https://git.pengutronix.de/cgit/barebox/commit/?id=3e966a13c5ae (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux