mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-07-13 03:14:37 +08:00
Comment tidy
Past tense is wrong for a comment before some action. * elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Comment tidy. * elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise. * elfnn-aarch64.c (elfNN_aarch64_adjust_dynamic_symbol): Likewise.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2017-12-06 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Comment tidy.
|
||||||
|
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Likewise.
|
||||||
|
* elfnn-aarch64.c (elfNN_aarch64_adjust_dynamic_symbol): Likewise.
|
||||||
|
|
||||||
2017-12-04 Alan Modra <amodra@gmail.com>
|
2017-12-04 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* elfxx-x86.c (readonly_dynrelocs): New function.
|
* elfxx-x86.c (readonly_dynrelocs): New function.
|
||||||
|
@ -5611,7 +5611,7 @@ ppc_elf_adjust_dynamic_symbol (struct bfd_link_info *info,
|
|||||||
if (info->nocopyreloc)
|
if (info->nocopyreloc)
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
/* If we didn't find any dynamic relocs in read-only sections, then
|
/* If we don't find any dynamic relocs in read-only sections, then
|
||||||
we'll be keeping the dynamic relocs and avoiding the copy reloc.
|
we'll be keeping the dynamic relocs and avoiding the copy reloc.
|
||||||
We can't do this if there are any small data relocations. This
|
We can't do this if there are any small data relocations. This
|
||||||
doesn't work on VxWorks, where we can not have dynamic
|
doesn't work on VxWorks, where we can not have dynamic
|
||||||
|
@ -7233,7 +7233,7 @@ ppc64_elf_adjust_dynamic_symbol (struct bfd_link_info *info,
|
|||||||
/* If -z nocopyreloc was given, don't generate them either. */
|
/* If -z nocopyreloc was given, don't generate them either. */
|
||||||
|| info->nocopyreloc
|
|| info->nocopyreloc
|
||||||
|
|
||||||
/* If we didn't find any dynamic relocs in read-only sections, then
|
/* If we don't find any dynamic relocs in read-only sections, then
|
||||||
we'll be keeping the dynamic relocs and avoiding the copy reloc. */
|
we'll be keeping the dynamic relocs and avoiding the copy reloc. */
|
||||||
|| (ELIMINATE_COPY_RELOCS && !alias_readonly_dynrelocs (h))
|
|| (ELIMINATE_COPY_RELOCS && !alias_readonly_dynrelocs (h))
|
||||||
|
|
||||||
|
@ -6811,7 +6811,7 @@ elfNN_aarch64_adjust_dynamic_symbol (struct bfd_link_info *info,
|
|||||||
if (ELIMINATE_COPY_RELOCS)
|
if (ELIMINATE_COPY_RELOCS)
|
||||||
{
|
{
|
||||||
struct elf_aarch64_link_hash_entry *eh;
|
struct elf_aarch64_link_hash_entry *eh;
|
||||||
/* If we didn't find any dynamic relocs in read-only sections, then
|
/* If we don't find any dynamic relocs in read-only sections, then
|
||||||
we'll be keeping the dynamic relocs and avoiding the copy reloc. */
|
we'll be keeping the dynamic relocs and avoiding the copy reloc. */
|
||||||
eh = (struct elf_aarch64_link_hash_entry *) h;
|
eh = (struct elf_aarch64_link_hash_entry *) h;
|
||||||
if (!need_copy_relocation_p (eh))
|
if (!need_copy_relocation_p (eh))
|
||||||
|
Reference in New Issue
Block a user