/[gcl]/gcl/o/sfaslbfd.c
ViewVC logotype

Diff of /gcl/o/sfaslbfd.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by camm, Mon Aug 23 23:09:23 2004 UTC revision 1.19 by camm, Wed Nov 24 16:01:04 2004 UTC
# Line 256  fasload(object faslfile) { Line 256  fasload(object faslfile) {
256    
257      current=round_up(current,1<<s->alignment_power);      current=round_up(current,1<<s->alignment_power);
258    
259      current+=s->_raw_size;      current+=bfd_section_size(b,s);
260    
261    }    }
262    curr_size=(unsigned long)current;    curr_size=(unsigned long)current;
# Line 281  fasload(object faslfile) { Line 281  fasload(object faslfile) {
281    
282      m=round_up(m,1<<s->alignment_power);      m=round_up(m,1<<s->alignment_power);
283      s->output_section->vma=(unsigned long)m;      s->output_section->vma=(unsigned long)m;
284      m+=s->_raw_size;      m+=bfd_section_size(b,s);
285                            
286    }    }
287    
# Line 346  fasload(object faslfile) { Line 346  fasload(object faslfile) {
346                                               v,0,q))                                               v,0,q))
347         FEerror("Cannot get relocated section contents\n",0);         FEerror("Cannot get relocated section contents\n",0);
348    
349       memcpy((void *)(unsigned long)s->output_section->vma,v,s->_raw_size);       memcpy((void *)(unsigned long)s->output_section->vma,v,bfd_section_size(b,s));
350            
351     }     }
352   }   }

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26