MIPS: compute num_got_entries from .got section's size
authorGabor Juhos <juhosg@openwrt.org>
Tue, 12 Feb 2013 21:22:12 +0000 (22:22 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Tue, 12 Feb 2013 21:22:12 +0000 (22:22 +0100)
commit45397816b204da27efd7f23d7e017cf381c5c9cd
tree269af0c69709aacda54642c9aa88ac7c643adf9d
parent8b1c7345c6d5ed20b6b5ec8db17a3282e592184d
MIPS: compute num_got_entries from .got section's size

The '__got_start' and '__got_end' symbols are used
only in the linker script to compute the value of
the 'num_got_entries' symbol.

Remove the symbols and use the SIZEOF(.got) command
to get the size of the .got section.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
arch/mips/cpu/u-boot.lds