RFC: COMDAT group names become anonymouse local symbols

Mark Mitchell mark@codesourcery.com
Sun Oct 24 01:43:00 GMT 2010
On 10/23/2010 6:02 PM, Hans-Peter Nilsson wrote:

> It looks like this patch caused my cris-elf autotester to
> regress.

Sorry!

> I guess your new code is missing an adjustment to
> gas/config/obj-multi.[hc] to add obj_adjust_symtab there to
> handle (not break for) multi-objformat targets: when obj-elf.c
> is compiled as not *the* object-format but one of several, and
> when another format is selected.

Does that mean adding a new entry to struct format_ops?  I'm not
familiar with this code, but it looks like struct format_ops is vtable
for the format, but right now it doesn't have a adjust_symtab entry.
And, how is this supposed to work for something like tc-arm.c which
itself overrides the default ELF obj_adjust_symtab?

Thanks,

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Binutils mailing list