nm: add some .text.* support for symbols
authorsemarie <semarie@openbsd.org>
Sun, 7 Nov 2021 08:09:04 +0000 (08:09 +0000)
committersemarie <semarie@openbsd.org>
Sun, 7 Nov 2021 08:09:04 +0000 (08:09 +0000)
commit2493c10c82a0adb2bfe26d4fde013549daecb520
tree801152a4884a63af6c1e622c438c36f43e8dca40
parent46d8bbe61ce96a35f176dd10933b30d9d8adfb09
nm: add some .text.* support for symbols

.text.* are generated when using -ffunction-sections.

makes nm(1) to correctly identify the function symbols as N_TEXT.

found while debugging librsvg build error, where some symbols where not found by libtool(1) (which is using nm(1)).

ok gkoehler@
usr.bin/nm/elf.c