[Bug preprocessor/66871] .incbin in .S files does not appear in automatically generated dependencies
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 15 10:39:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66871
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
(In reply to David Woodhouse from comment #2)
> It would still be extremely useful for it to emit dependencies on those
> files which are actually included (after preprocessing).
>
> Otherwise we end up screwing around with preprocessing it and then looking
> for '.incbin' and generating the full set of dependencies manually. Which is
> horrid.
How about you file a bug to the assembler (binutils) asking to produce a .d
file with .incbin files? Or just post process the .s files and add it to the
.d file.
More information about the Gcc-bugs
mailing list