aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-01-15 08:35:39 +0000
committerNick Clifton <nickc@redhat.com>2013-01-15 08:35:39 +0000
commit77bf820f915a0c12108e266b185430fb73561c94 (patch)
tree27a97f58c6ebf3a312c38ed5dfc8e62098b5c286
parente24587436538578f3ee2dc671a8a619dd7a3f0bd (diff)
downloadgdb-77bf820f915a0c12108e266b185430fb73561c94.zip
gdb-77bf820f915a0c12108e266b185430fb73561c94.tar.gz
gdb-77bf820f915a0c12108e266b185430fb73561c94.tar.bz2
Fix spelling typo.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf32-msp430.c7
2 files changed, 7 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7aeba6f..9698fca 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2013-01-15 Nick Clifton <nickc@redhat.com>
+
+ * elf32-msp430.c: Fix spelling typo.
+
2013-01-15 Alan Modra <amodra@gmail.com>
* elf64-ppc.c (ppc64_elf_size_stubs): Default shared libs to
diff --git a/bfd/elf32-msp430.c b/bfd/elf32-msp430.c
index 102e93d..c08f596 100644
--- a/bfd/elf32-msp430.c
+++ b/bfd/elf32-msp430.c
@@ -339,8 +339,8 @@ msp430_final_link_relocate (reloc_howto_type * howto, bfd * input_bfd,
bfd_put_16 (input_bfd, x, contents - 2);
break;
- case R_MSP430_16_PCREL:
case R_MSP430_RL_PCREL:
+ case R_MSP430_16_PCREL:
contents += rel->r_offset;
srel = (bfd_signed_vma) relocation;
srel += rel->r_addend;
@@ -667,7 +667,7 @@ elf32_msp430_object_p (bfd * abfd)
Relaxation required only in two cases:
- Bad hand coding like jumps from one section to another or
from file to file.
- - Sibling calls. This will affect onlu 'jump label' polymorph. Without
+ - Sibling calls. This will affect only 'jump label' polymorph. Without
relaxing this enlarges code by 2 bytes. Sibcalls implemented but
do not work in gcc's port by the reason I do not know.
Anyway, if a relaxation required, user should pass -relax option to the
@@ -794,7 +794,7 @@ msp430_elf_symbol_address_p (bfd * abfd,
}
/* Adjust all local symbols defined as '.section + 0xXXXX' (.section has sec_shndx)
- referenced from current and other sections */
+ referenced from current and other sections. */
static bfd_boolean
msp430_elf_relax_adjust_locals(bfd * abfd, asection * sec, bfd_vma addr,
int count, unsigned int sec_shndx, bfd_vma toaddr)
@@ -897,7 +897,6 @@ msp430_elf_relax_delete_bytes (bfd * abfd, asection * sec, bfd_vma addr,
return TRUE;
}
-
static bfd_boolean
msp430_elf_relax_section (bfd * abfd, asection * sec,
struct bfd_link_info * link_info,