This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gold patch rfa] print "error: " in front of error messages


On Fri, Feb 6, 2009 at 07:43, Ian Lance Taylor <iant@google.com> wrote:
> Chris Demetriou <cgd@google.com> writes:
>
>> 2009-02-05  Chris Demetriou  <cgd@google.com>
>>
>>         * gold.h (gold_undefined_symbol): Change to take only a Symbol
>>         pointer and to report location as the file name associated with
>>         the symbol.
>>         (gold_undefined_symbol_at_location): New function to replace the
>>         old gold_undefined_symbol functionality.
>>         * symbol.cc (target-reloc.h): Update to use
>>         gold_undefined_symbol_at_location.
>>         * symtab.cc (Symbol_table::warn_about_undefined_dynobj_symbol):
>>         Call gold_undefined_symbol function rather than gold_error.
>>         * errors.h (Errors::undefined_symbol): Take location as a
>>         string, rather than calculating it from a relocation.
>>         * errors.cc (Errors::fatal): Print "fatal error:" before the
>>         formatted message.
>>         (Errors::error, Errors::error_at_location): Print "error: "
>>         before the formatted message.
>>         (Errors::undefined_symbol): Take location as a string, rather
>>         than calculating it from a relocation.
>>         (gold_undefined_symbol_at_location): New function akin to
>>         old gold_undefined_symbol, calculates location from relocation.
>>         (gold_undefined_symbol): Change to take only a Symbol pointer
>>         and to report location as the file name associated with the symbol.
>>         * testsuite/debug_msg.sh: Update for changed error messages.
>>         * testsuite/undef_symbol.sh: Likewise.
>
> This is OK.
>
> Thanks for your patience.

No problem.  I noticed a botch in my ChangeLog before checkin
(target-reloc.h), so fixed it.  here's what I checked in:

2009-02-06  Chris Demetriou  <cgd@google.com>

        * gold.h (gold_undefined_symbol): Change to take only a Symbol
        pointer and to report location as the file name associated with
        the symbol.
        (gold_undefined_symbol_at_location): New function to replace the
        old gold_undefined_symbol functionality.
        * target-reloc.h (relocate_section): Update to use
        gold_undefined_symbol_at_location.
        * symtab.cc (Symbol_table::warn_about_undefined_dynobj_symbol):
        Call gold_undefined_symbol function rather than gold_error.
        * errors.h (Errors::undefined_symbol): Take location as a
        string, rather than calculating it from a relocation.
        * errors.cc (Errors::fatal): Print "fatal error:" before the
        formatted message.
        (Errors::error, Errors::error_at_location): Print "error: "
        before the formatted message.
        (Errors::undefined_symbol): Take location as a string, rather
        than calculating it from a relocation.
        (gold_undefined_symbol_at_location): New function akin to
        old gold_undefined_symbol, calculates location from relocation.
        (gold_undefined_symbol): Change to take only a Symbol pointer
        and to report location as the file name associated with the symbol.
        * testsuite/debug_msg.sh: Update for changed error messages.
        * testsuite/undef_symbol.sh: Likewise.


chris


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]