------- Comment #8 from aldot at gcc dot gnu dot org  2008-01-31 15:11 -------
(In reply to comment #2)
> I suppose the static function
> 
> static const unsigned char *
> read_uleb128 (const unsigned char *p, _uleb128_t *val)
> {
> 
> in unwind-pe.h should be marked 'inline', otherwise it will be emitted
> multiple times to the asm file by -combine.

unwind-pe.h as a header should provide an interface to and not implementations
of the required functions. Apart from fixing the functions in IMA, unwind-pe.h
should split it's implementations off into a e.g. unwind-pe.c that exports the
common helpers.

Does somebody know if it is really intended that dwarf2asm.c has grown (or
kept) a different impl of size_of_encoded_value() than all the rest?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35034

Reply via email to