elftools, local symbols

 The elftools part should be reviewed before submit to elftools
 A temporary implementation to resolve local symbols for the
 target side of RTL.
 Both should be fixed at the final stage