Lines 796-802
Link Here
|
796 |
/* Look through the phdrs to see if we need to adjust the lma. |
796 |
/* Look through the phdrs to see if we need to adjust the lma. |
797 |
If all the p_paddr fields are zero, we ignore them, since |
797 |
If all the p_paddr fields are zero, we ignore them, since |
798 |
some ELF linkers produce such output. */ |
798 |
some ELF linkers produce such output. */ |
799 |
phdr = elf_tdata (abfd)->phdr; |
799 |
if ((phdr = elf_tdata (abfd)->phdr) == NULL) |
|
|
800 |
return FALSE; |
800 |
for (i = 0; i < elf_elfheader (abfd)->e_phnum; i++, phdr++) |
801 |
for (i = 0; i < elf_elfheader (abfd)->e_phnum; i++, phdr++) |
801 |
{ |
802 |
{ |
802 |
if (phdr->p_paddr != 0) |
803 |
if (phdr->p_paddr != 0) |