diff options
author | Roland McGrath <roland@gnu.org> | 2013-10-09 17:54:32 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2013-10-09 17:54:32 +0000 |
commit | 0e4894b9f944e352c9b75b7cd60a2f0a96a0e0c1 (patch) | |
tree | da76e102f94ca5494cfd675249a9c0eb862552a4 /bfd | |
parent | 578d3588ee67d9beb22763b0c0ac423fb25b15ec (diff) | |
download | fsf-binutils-gdb-0e4894b9f944e352c9b75b7cd60a2f0a96a0e0c1.zip fsf-binutils-gdb-0e4894b9f944e352c9b75b7cd60a2f0a96a0e0c1.tar.gz fsf-binutils-gdb-0e4894b9f944e352c9b75b7cd60a2f0a96a0e0c1.tar.bz2 |
bfd/
* elfxx-tilegx.c (tilegx32_plt_tail_entry, tilegx32_plt_tail_entry):
Move second const qualifier so it applies to the pointer.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elfxx-tilegx.c | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 6162114..25f4cee 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2013-10-09 Roland McGrath <mcgrathr@google.com> + + * elfxx-tilegx.c (tilegx32_plt_tail_entry, tilegx32_plt_tail_entry): + Move second const qualifier so it applies to the pointer. + 2013-10-09 Nick Clifton <nickc@redhat.com> PR binutils/16022 diff --git a/bfd/elfxx-tilegx.c b/bfd/elfxx-tilegx.c index 74afdf8..c57e38f 100644 --- a/bfd/elfxx-tilegx.c +++ b/bfd/elfxx-tilegx.c @@ -1,5 +1,5 @@ /* TILE-Gx-specific support for ELF. - Copyright 2011, 2012 Free Software Foundation, Inc. + Copyright 2011, 2012, 2013 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -1220,7 +1220,7 @@ tilegx64_short_plt_entry[PLT_ENTRY_SIZE] = }; /* Reuse an existing info 10 bundle. */ -static const bfd_byte const *tilegx64_plt_tail_entry = +static const bfd_byte *const tilegx64_plt_tail_entry = &tilegx64_short_plt_entry[4 * TILEGX_BUNDLE_SIZE_IN_BYTES]; static const bfd_byte @@ -1265,7 +1265,7 @@ tilegx32_short_plt_entry[PLT_ENTRY_SIZE] = }; /* Reuse an existing info 10 bundle. */ -static const bfd_byte const *tilegx32_plt_tail_entry = +static const bfd_byte *const tilegx32_plt_tail_entry = &tilegx64_short_plt_entry[4 * TILEGX_BUNDLE_SIZE_IN_BYTES]; static int |