]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[librm] Add meaningful labels at section changes
authorMichael Brown <mcb30@ipxe.org>
Wed, 30 Apr 2014 17:03:10 +0000 (18:03 +0100)
committerMichael Brown <mcb30@ipxe.org>
Fri, 2 May 2014 14:23:20 +0000 (15:23 +0100)
commit03e76c34d8d78544b7c19c4b5bb61d9ad24db0ea
tree5056af33806db9ca0a7c662ca274428815fb8a67
parentbd640bc3644a2906f139114bb0071d26d9abb614
[librm] Add meaningful labels at section changes

The mode-transition code involves paths which switch back and forth
between the .text and .text16 sections.  At present, only the start of
each function is labelled, which makes it difficult to decode
addresses within the parts of the function existing in a different
section.

Add explicit labels at the start of each section change, so that
addresses can be meaningfully decoded to the nearest label.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/transitions/librm.S