Previously it assumed that the entry point was allocated at the beginning of the ".rwtext" output section, which is not always true. Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>