openjdk-8: remove debuglink
openjdk-8: remove debuglink

During openjdk-8 compiling, its debug file is xxx.debuginfo, and it will
add libjvm.debuginfo as libjvm.so's debuglink section's file name, this
name is different with that we will create and add in splitdebuginfo()
of package.bbclass, in oe-core, the debug file name is the same with the
corresponding executable file or library file, this will make we can't get
symbol information when debug libjvm.so in gdb, so we must remove the
previous debuglink before add it if it has existed(if a file has contained
the debuglink section, it will not be changed when add again).

Signed-off-by: Wenlin Kang <59c32e08742fdc9bf0bd9f1ea9645eb2df186229@windriver.com>
Tested-by: Richard Leitner <0f2fdd4d2dfbb4dde6236fd550af0a2071b34781@skidata.com>
Signed-off-by: Richard Leitner <0f2fdd4d2dfbb4dde6236fd550af0a2071b34781@skidata.com>

rehsack/meta-java,rehsack/meta-java,rehsack/meta-java,rehsack/meta-java,rehsack/meta-java