PR 12739
* libbfd.c (bfd_get_8, bfd_get_signed_8): Use const cast. * bfd-in2.h: Regenerate.
This commit is contained in:
parent
6303c4aebd
commit
70778fc768
@ -1,3 +1,9 @@
|
||||
2011-05-07 Anders Kaseorg <andersk@ksplice.com>
|
||||
|
||||
PR 12739
|
||||
* libbfd.c (bfd_get_8, bfd_get_signed_8): Use const cast.
|
||||
* bfd-in2.h: Regenerate.
|
||||
|
||||
2011-05-06 Tristan Gingold <gingold@adacore.com>
|
||||
|
||||
* vms-alpha.c (evax_section_flags): Remove SEC_IN_MEMORY.
|
||||
|
@ -1029,9 +1029,9 @@ bfd_boolean bfd_fill_in_gnu_debuglink_section
|
||||
#define bfd_put_signed_8 \
|
||||
bfd_put_8
|
||||
#define bfd_get_8(abfd, ptr) \
|
||||
(*(unsigned char *) (ptr) & 0xff)
|
||||
(*(const unsigned char *) (ptr) & 0xff)
|
||||
#define bfd_get_signed_8(abfd, ptr) \
|
||||
(((*(unsigned char *) (ptr) & 0xff) ^ 0x80) - 0x80)
|
||||
(((*(const unsigned char *) (ptr) & 0xff) ^ 0x80) - 0x80)
|
||||
|
||||
#define bfd_put_16(abfd, val, ptr) \
|
||||
BFD_SEND (abfd, bfd_putx16, ((val),(ptr)))
|
||||
|
@ -431,9 +431,9 @@ DESCRIPTION
|
||||
.#define bfd_put_signed_8 \
|
||||
. bfd_put_8
|
||||
.#define bfd_get_8(abfd, ptr) \
|
||||
. (*(unsigned char *) (ptr) & 0xff)
|
||||
. (*(const unsigned char *) (ptr) & 0xff)
|
||||
.#define bfd_get_signed_8(abfd, ptr) \
|
||||
. (((*(unsigned char *) (ptr) & 0xff) ^ 0x80) - 0x80)
|
||||
. (((*(const unsigned char *) (ptr) & 0xff) ^ 0x80) - 0x80)
|
||||
.
|
||||
.#define bfd_put_16(abfd, val, ptr) \
|
||||
. BFD_SEND (abfd, bfd_putx16, ((val),(ptr)))
|
||||
|
Loading…
Reference in New Issue
Block a user