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; |
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 |
|
|
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 |
} |
} |