On 3/3/20 3:44 PM, Egeyar Bagcioglu wrote: > In addition to the new test case, I built binutils as my test case after passing this option to CFLAGS. The added .GCC.command.line section of ld.bfd listed many compile commands as expected. Tested on x86_64-pc-linux-gnu. As mentioned above, I used binutils as the sample project to compile with --record-gcc-command-line. I am attaching to this email the file produced by the command "readelf -p .GCC.command.line ld/ld-new  > ld.commandline.out". You can see in it, all the gcc invocations whose output is merged into ld.bfd. Regards Egeyar