Changeset 609 for branches/GNU/src/binutils/gas/subsegs.c
- Timestamp:
- Aug 16, 2003, 6:59:22 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/binutils/gas/subsegs.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r608 r609 1 1 /* subsegs.c - subsegments - 2 2 Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 3 1999, 2000 3 1999, 2000, 2002 4 4 Free Software Foundation, Inc. 5 5 … … 378 378 } 379 379 #else 380 as_bad (_(" Attempt to switch to nonexistent segment \"%s\""), segname);380 as_bad (_("attempt to switch to nonexistent segment \"%s\""), segname); 381 381 return now_seg; 382 382 #endif … … 430 430 { 431 431 /* Check whether output_section is set first because secptr may 432 432 be bfd_abs_section_ptr. */ 433 433 if (secptr->output_section != secptr) 434 434 secptr->output_section = secptr; … … 530 530 #endif 531 531 532 if (! EMIT_SECTION_SYMBOLS 533 #ifdef BFD_ASSEMBLER 534 || symbol_table_frozen 535 #endif 536 ) 532 if (! EMIT_SECTION_SYMBOLS || symbol_table_frozen) 537 533 { 538 534 /* Here we know it won't be going into the symbol table. */ 539 s = symbol_create (sec-> name, sec, 0, &zero_address_frag);535 s = symbol_create (sec->symbol->name, sec, 0, &zero_address_frag); 540 536 } 541 537 else 542 538 { 543 s = symbol_find_base (sec-> name, 0);539 s = symbol_find_base (sec->symbol->name, 0); 544 540 if (s == NULL) 545 s = symbol_new (sec-> name, sec, 0, &zero_address_frag);541 s = symbol_new (sec->symbol->name, sec, 0, &zero_address_frag); 546 542 else 547 543 { … … 559 555 if (obj_sec_sym_ok_for_reloc (sec)) 560 556 symbol_set_bfdsym (s, sec->symbol); 557 else 558 symbol_get_bfdsym (s)->flags |= BSF_SECTION_SYM; 561 559 562 560 seginfo->sym = s; … … 591 589 const char * const *p; 592 590 593 if (sec == data_section || sec == bss_section )591 if (sec == data_section || sec == bss_section || sec == absolute_section) 594 592 return 0; 595 593 … … 656 654 } 657 655 fprintf (file, "\n"); 658 fprintf (file, "\t%p %-10s\t%10d frags\n", frchp,656 fprintf (file, "\t%p %-10s\t%10d frags\n", (void *) frchp, 659 657 segment_name (frchp->frch_seg), count); 660 658 } -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.