1
0
Fork 0
forked from len0rd/rockbox

MIPS: remove .MIPS.abiflags section

The abiflags data is only used to communicate ABI information to a
program loader -- you can see what info is stored with readelf -A.
Dropping it shaves 24 bytes off of every binary (including plugins).

Change-Id: Iae78eeffe5c840ff67717707fb94821d24aac8ec
This commit is contained in:
Aidan MacDonald 2021-04-25 16:17:33 +01:00
parent 7d0d32dbc6
commit d5695822a7
5 changed files with 17 additions and 0 deletions

View file

@ -299,6 +299,7 @@ SECTIONS
{
*(.eh_frame)
#ifdef CPU_MIPS
*(.MIPS.abiflags)
*(.rel.dyn)
#endif
}