mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
2013-06-22 Sandra Loosemore <sandra@codesourcery.com>
bfd/ * elf32-nios2.c (nios2_elf32_finish_dynamic_sections): Don't set sh_entsize for PLT section.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2013-06-22 Sandra Loosemore <sandra@codesourcery.com>
|
||||||
|
|
||||||
|
* elf32-nios2.c (nios2_elf32_finish_dynamic_sections): Don't
|
||||||
|
set sh_entsize for PLT section.
|
||||||
|
|
||||||
2013-06-20 Yufeng Zhang <yufeng.zhang@arm.com>
|
2013-06-20 Yufeng Zhang <yufeng.zhang@arm.com>
|
||||||
|
|
||||||
* bfd-in.h (bfd_elf64_aarch64_set_options): Add 'extern'.
|
* bfd-in.h (bfd_elf64_aarch64_set_options): Add 'extern'.
|
||||||
|
@ -3264,9 +3264,6 @@ nios2_elf32_finish_dynamic_sections (bfd *output_bfd,
|
|||||||
nios2_elf32_install_imm16 (splt, 4, hiadj (corrected));
|
nios2_elf32_install_imm16 (splt, 4, hiadj (corrected));
|
||||||
nios2_elf32_install_imm16 (splt, 12, (corrected & 0xffff) + 4);
|
nios2_elf32_install_imm16 (splt, 12, (corrected & 0xffff) + 4);
|
||||||
nios2_elf32_install_imm16 (splt, 16, (corrected & 0xffff) + 8);
|
nios2_elf32_install_imm16 (splt, 16, (corrected & 0xffff) + 8);
|
||||||
|
|
||||||
elf_section_data (splt->output_section)->this_hdr.sh_entsize
|
|
||||||
= 24;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -3292,9 +3289,6 @@ nios2_elf32_finish_dynamic_sections (bfd *output_bfd,
|
|||||||
(got_address & 0xffff) + 4);
|
(got_address & 0xffff) + 4);
|
||||||
nios2_elf32_install_imm16 (splt, res_size + 20,
|
nios2_elf32_install_imm16 (splt, res_size + 20,
|
||||||
(got_address & 0xffff) + 8);
|
(got_address & 0xffff) + 8);
|
||||||
|
|
||||||
elf_section_data (splt->output_section)->this_hdr.sh_entsize
|
|
||||||
= 28 + res_size;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user