On Fri, Jul 18, 2008 at 8:44 PM, James G. Sack (jim) <[EMAIL PROTECTED]> wrote:
> Carl Lowenstein wrote:
>>
>> If I may allude to an old discussion, isn't this an argument for
>> embedding people-readable tags in object files?
>
> I only kinda-vaguely recall that discussion. What was the context and
> conclusion -- do you remember?
>
> In any case, I can think of something else to observe: embedded labels
> can not really be used to verify files -- you need a real hash
> authentication mechanism to do that, eh? But that wasn't the question
> here, I don't think ..so.. nevermind. :-)

It started with my observation that gcc now optimized away strings
that were never used.  Said strings were to be embedded in object
files as a record of RCS ID or equivalent.

On the kplug-lpsg list with subject: "gcc optimizes out program ID
string" and much rancor.

The accepted answer is that the previous behavior of gcc has been
deprecated for some time, and there is now
__attribute__((unused))
to deal with cases like this.

    carl
-- 
 carl lowenstein marine physical lab u.c. san diego
 [EMAIL PROTECTED]


-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to