Module Name: src Committed By: christos Date: Sat Oct 1 19:25:25 UTC 2011
Modified Files: src/external/gpl3/binutils/dist/gas/config: tc-arm.c Log Message: The arm .arm.atpcs section does not have segment information, so skip it. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/binutils/dist/gas/config/tc-arm.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/binutils/dist/gas/config/tc-arm.c diff -u src/external/gpl3/binutils/dist/gas/config/tc-arm.c:1.3 src/external/gpl3/binutils/dist/gas/config/tc-arm.c:1.4 --- src/external/gpl3/binutils/dist/gas/config/tc-arm.c:1.3 Sun Sep 25 00:32:37 2011 +++ src/external/gpl3/binutils/dist/gas/config/tc-arm.c Sat Oct 1 15:25:24 2011 @@ -16133,12 +16133,16 @@ check_it_blocks_finished (void) asection *sect; for (sect = stdoutput->sections; sect != NULL; sect = sect->next) - if (seg_info (sect)->tc_segment_info_data.current_it.state - == MANUAL_IT_BLOCK) - { - as_warn (_("section '%s' finished with an open IT block."), - sect->name); - } + { + segment_info_type *seginfo = seg_info (sect); + + if (seginfo && seginfo->tc_segment_info_data.current_it.state + == MANUAL_IT_BLOCK) + { + as_warn (_("section '%s' finished with an open IT block."), + sect->name); + } + } #else if (now_it.state == MANUAL_IT_BLOCK) as_warn (_("file finished with an open IT block."));