Improved l0sym patch

This commit is contained in:
Jakub Čajka 2017-07-12 17:25:39 +02:00
parent f28f703aec
commit b76346572f

View File

@ -6,9 +6,9 @@ index d4f9fc4..87dabaa 100644
continue
}
+ if sect.name == ".debug_str" && strings.HasPrefix(sym.name, "L0") && sym.type_ == 0 {
+ if sect.name == ".debug_str" && sym.name == "L0" && sym.type_ == 0 {
+ // introduced by https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=49fced1206db40c71208c201165d65f92c69cebe on s390x
+ // TODO investigate from where they are actually coming from
+ // TODO investigate from where they are actually coming from, could be possible issue with elf parsing as seeing 0x1 in name is weird
+ // See issue
+ continue
+ }