mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 19:09:31 +08:00
* elf64-hppa.c (elf64_hppa_finish_dynamic_sections)
<DT_HP_LOAD_MAP>: Return unsuccessfully if there's no `.data' section.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2013-07-28 Maciej W. Rozycki <macro@linux-mips.org>
|
||||||
|
|
||||||
|
* elf64-hppa.c (elf64_hppa_finish_dynamic_sections)
|
||||||
|
<DT_HP_LOAD_MAP>: Return unsuccessfully if there's no `.data'
|
||||||
|
section.
|
||||||
|
|
||||||
2013-07-27 Andrew Pinski <apinski@cavium.com>
|
2013-07-27 Andrew Pinski <apinski@cavium.com>
|
||||||
|
|
||||||
* elfnn-aarch64.c (elfNN_aarch64_check_relocs):
|
* elfnn-aarch64.c (elfNN_aarch64_check_relocs):
|
||||||
|
@ -2524,6 +2524,8 @@ elf64_hppa_finish_dynamic_sections (bfd *output_bfd,
|
|||||||
area at the start of the .data section. So all we have to
|
area at the start of the .data section. So all we have to
|
||||||
to is find the start of the .data section. */
|
to is find the start of the .data section. */
|
||||||
s = bfd_get_section_by_name (output_bfd, ".data");
|
s = bfd_get_section_by_name (output_bfd, ".data");
|
||||||
|
if (!s)
|
||||||
|
return FALSE;
|
||||||
dyn.d_un.d_ptr = s->vma;
|
dyn.d_un.d_ptr = s->vma;
|
||||||
bfd_elf64_swap_dyn_out (output_bfd, &dyn, dyncon);
|
bfd_elf64_swap_dyn_out (output_bfd, &dyn, dyncon);
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user