On Пн, 2022-05-02 at 14:20 -0700, Fangrui Song wrote: > I think this is useful. Does the size of dl-reloc.os code increase or > decrease with the change? > It's an interesting thing but the file has decreased by 7472 bytes with -Og and by 6896 bytes with -O3 optimization level (debug info enabled). Despite that readelf(1) sees a new local symbol, _dl_resolve_map. When debug info is disabled with the -g0 flag, size of the file is also reduced by 3296 and 1440 bytes respectively.