I still have no idea from your answer how a user is meant to know whether to use the option when compiling, linking or both, which is what needs to be clear from invoke.texi.
What does it mean for the option to be supported for compiling but not linking? What in that case will the linker do with compressed debug sections on input? Combine them in some way, good or bad? Uncompress them? Likewise, for it to be supported for linking but not compiling? Will the linker then compress the uncompressed sections it receives on input? I think it would be better if the option semantics are more like "if you pass the same option when both compiling and linking, the linked output will have the sections appropriately compressed as specified by the option, whether or not the individual .o files do" - and if this can't be supported with the tools being used, don't allow the option. -- Joseph S. Myers jos...@codesourcery.com