def c_self_relocs(self):
relocs = []<EOL>if not callable(self.opts.hash_func):<EOL><INDENT>relocs = [<EOL>reloc_ptr(<EOL>self.opts.prefix + name, self.opts.reloc_delta,<EOL>'<STR_LIT>'<EOL>)<EOL>for name, dummy_args in self.funcs<EOL>]<EOL><DEDENT>if self.name != '<STR_LIT>':<EOL><INDENT>relocs = [<EOL>reloc_ptr(<EOL>self.opts.prefix + self.name,<EOL>self.opts.reloc_delta, '<STR_LIT>'<EOL>)<EOL>] + relocs<EOL><DEDENT>return relocs<EOL>
Build relocation for strings.