ELF: clean up the arithmetic for global symbols
commit559d936ad7de8330965f9b7456fe3cb48d49a386
authorH. Peter Anvin <hpa@zytor.com>
Fri, 26 Jun 2009 00:26:43 +0000 (25 17:26 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 26 Jun 2009 00:26:43 +0000 (25 17:26 -0700)
tree5bc078f79b917e1e77054b47ba930d4344f2a373
parent3716238058fbb8ebd89bc3d90661705736b3eff4
ELF: clean up the arithmetic for global symbols

Clean up the arithmetic for global symbols; in particular, make it
clear where the dependency on the debug format comes from (DWARF needs
three symbol table entries all by itself.)

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
output/outelf32.c
output/outelf64.c