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

@ -111,6 +111,7 @@ SECTIONS
/DISCARD/ :
{
*(.MIPS.abiflags);
*(.eh_frame);
*(.rel.dyn);
}