This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I've been trying to implement this with elf_add_symbol_hook by returning a null name for a symbol that should be skipped, e.g. in accordance with the elflink.c/elf_link_add_object_symbols() comment:
/* The hook function sets the name to NULL if this symbol should be skipped for some reason. */ if (name == NULL) continue;
Setting the name to null wrecks tremendous havoc later in the link. I'm looking for some ideas on how to make this work.
Cheers Nick
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |