RFC: COMDAT group names become anonymouse local symbols

Hans-Peter Nilsson hans-peter.nilsson@axis.com
Sun Oct 24 03:50:00 GMT 2010
> Date: Sat, 23 Oct 2010 18:43:38 -0700
> From: Mark Mitchell <mark@codesourcery.com>

> > 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?

That's it.  I didn't say, because I'm not familiar too with this
code. :)  I only discovered it and fixed a few bugs eons ago.

>  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?

Dunno, it might not, but there's no arm multi-object target
anyway.

(Looking...eek!  All the other multi-object targets are gone!
There used to be mips and i386 targets...)

brgds, H-P



More information about the Binutils mailing list