Fix symbols which need underscore

To some archs, the symbols are added a '_' prefix. we should handle it.
Bfin support

Signed-off-by: Peng Fan <van.freenix@gmail.com>
H8300 Support

Signed-off-by: Peng Fan <van.freenix@gmail.com>
LM32 Support

Signed-off-by: Peng Fan <van.freenix@gmail.com>
Moxie Support

Signed-off-by: Peng Fan <van.freenix@gmail.com>
V850 Support

Signed-off-by: Peng Fan <van.freenix@gmail.com>
M32r support

Signed-off-by: Peng Fan <van.freenix@gmail.com>
More m68k reloc support

Signed-off-by: Peng Fan <van.freenix@gmail.com>
pair unlock when rap load

Signed-off-by: Peng Fan <van.freenix@gmail.com>
assign NULL to free pointer

Signed-off-by: Peng Fan <van.freenix@gmail.com>
file details and debug support

This patch contains the file details part and linkmap support. In order to
save space, the linkmap part and file details part are merged into one
implementation. Both use the same pointer, obj->detail.

Signed-off-by: Peng Fan <van.freenix@gmail.com>
Add rpath support

Signed-off-by: Peng Fan <van.freenix@gmail.com>
Debug support for elf files

Here I used rap_text,rap_const and etc for elf files. I use these just for elf text,
elf const and etc, but not introduce new enum structure.

Signed-off-by: Peng Fan <van.freenix@gmail.com>
load rap file from ra file

To a single rap file, obj->oofset is 0 and rlen is actually right.
But to rap file in ra file, rlen should be added obj->oofset to
correctly load the contents of rap file.

Signed-off-by: Peng Fan <van.freenix@gmail.com>
Test for new features and new tools

Signed-off-by: Peng Fan <van.freenix@gmail.com>