263 |
|
|
264 |
current=round_up(current,1<<s->alignment_power); |
current=round_up(current,1<<s->alignment_power); |
265 |
|
|
266 |
current+=s->_raw_size; |
current+=bfd_section_size(b,s); |
267 |
|
|
268 |
} |
} |
269 |
curr_size=(unsigned long)current; |
curr_size=(unsigned long)current; |
288 |
|
|
289 |
m=round_up(m,1<<s->alignment_power); |
m=round_up(m,1<<s->alignment_power); |
290 |
s->output_section->vma=(unsigned long)m; |
s->output_section->vma=(unsigned long)m; |
291 |
m+=s->_raw_size; |
m+=bfd_section_size(b,s); |
292 |
|
|
293 |
} |
} |
294 |
|
|
306 |
struct bfd_link_hash_entry *h; |
struct bfd_link_hash_entry *h; |
307 |
|
|
308 |
if (!strncmp(entry_name_ptr,q[u]->name,5)) { |
if (!strncmp(entry_name_ptr,q[u]->name,5)) { |
309 |
init_address=q[u]->value; |
init_address=q[u]->value+(q[u]->section->output_section->vma-(unsigned long)memory->cfd.cfd_start); |
310 |
continue; |
continue; |
311 |
} |
} |
312 |
|
|
344 |
|
|
345 |
for (s=b->sections;s;s=s->next) { |
for (s=b->sections;s;s=s->next) { |
346 |
|
|
347 |
|
unsigned long ss=bfd_section_size(b,s); |
348 |
|
|
349 |
if (!(s->flags & SEC_LOAD)) |
if (!(s->flags & SEC_LOAD)) |
350 |
continue; |
continue; |
351 |
|
|
355 |
v,0,q)) |
v,0,q)) |
356 |
FEerror("Cannot get relocated section contents\n",0); |
FEerror("Cannot get relocated section contents\n",0); |
357 |
|
|
358 |
memcpy((void *)(unsigned long)s->output_section->vma,v,s->_raw_size); |
memcpy((void *)(unsigned long)s->output_section->vma,v,ss); |
359 |
|
|
360 |
} |
} |
361 |
|
|
362 |
} |
} |
363 |
|
|
364 |
dum.sm.sm_object1=faslfile; |
dum.sm.sm_object1=faslfile; |