bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/12480] 'ld' does not show command line arguments despite of '--v


From: sergstesh at yahoo dot com
Subject: [Bug ld/12480] 'ld' does not show command line arguments despite of '--verbose'
Date: Fri, 11 Feb 2011 10:21:20 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=12480

Sergei Steshenko <sergstesh at yahoo dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |

--- Comment #2 from Sergei Steshenko <sergstesh at yahoo dot com> 2011-02-11 
10:21:09 UTC ---
(In reply to comment #1)
> Args to ld can be seen by passing -v -Wl,-v to gcc.  Having ld --verbose echo
> ld args may break projects such as glibc that use --verbose to extract the
> current ld script.

This is wrong in the approach. I.e. the fact that 'gcc' says something does not
necessarily mean that 'gcc' does that something. I.e. 'gcc' can be buggy as
everything else.

The only true way to see a program's arguments is to dump contents of 'argv'
from inside the program.

If you are concerned about backwards compatibility then say, another command
line switch (e.g. '--show_args') can be added.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]