* expression.cc (eval): Replace dummy argument with NULL.
authorNick Clifton <nickc@redhat.com>
Fri, 1 Oct 2010 15:02:33 +0000 (15:02 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 1 Oct 2010 15:02:33 +0000 (15:02 +0000)
commitbacff3ab9ca8b5f171823f2659f44770c594710f
treefc218e1feff5a1ebd4f5f40c35cbeb244632abed
parentf6d250ce5c780e6b43ea4b658d6037be34eb91bd
    * expression.cc (eval): Replace dummy argument with NULL.
        (eval_maybe_dot): Check for a NULL result section pointer.
        (Symbol_expression::value): Likewise.
        (Dot_expression::value): Likewise.
        (BINARY_EXPRESSION): Likewise.
        (Max_expression::value): Likewise.
        (Min_expression::value): Likewise.
        (Absolute_expression::value): Likewise.
        (Addr_expression::value_from_output_section): Likewise.
        (Loaddddr_expression::value_from_output_section): Likewise.
        (Segment_start_expression::value): Likewise.
        * script-sections.cc
        (Sections_elememt_dot_assignment::finalize_symbols): Replace dummy
        argument with NULL.
        (Sections_elememt_dot_assignment::set_section_addresses):
        Likewise.
        (Output_data_expression::do_write_to_buffer): Likewise.
        (Output_section_definition::finalize_symbols): Likewise.
        (Output_section_definition::set_section_addresses): Likewise.
gold/ChangeLog
gold/expression.cc
gold/script-sections.cc