mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:49:54 +08:00
* elf32-ppc.c (ppc_elf_howto_raw <R_PPC_EMB_RELSDA>): Not pc-relative.
* bfd-in.h (elf_discarded_section): Clarify comment. * reloc.c (struct reloc_howto_struct <pc_relative>): Likewise. * bfd-in2.h: Regenerate.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2010-03-26 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* elf32-ppc.c (ppc_elf_howto_raw <R_PPC_EMB_RELSDA>): Not pc-relative.
|
||||||
|
* bfd-in.h (elf_discarded_section): Clarify comment.
|
||||||
|
* reloc.c (struct reloc_howto_struct <pc_relative>): Likewise.
|
||||||
|
* bfd-in2.h: Regenerate.
|
||||||
|
|
||||||
2010-03-26 Matt Rice <ratmice@gmail.com>
|
2010-03-26 Matt Rice <ratmice@gmail.com>
|
||||||
|
|
||||||
* archive.c (_bfd_compute_and_write_armap): Allow symbols flagged
|
* archive.c (_bfd_compute_and_write_armap): Allow symbols flagged
|
||||||
|
@ -294,7 +294,7 @@ typedef struct bfd_section *sec_ptr;
|
|||||||
(((sec)->rawsize ? (sec)->rawsize : (sec)->size) \
|
(((sec)->rawsize ? (sec)->rawsize : (sec)->size) \
|
||||||
/ bfd_octets_per_byte (bfd))
|
/ bfd_octets_per_byte (bfd))
|
||||||
|
|
||||||
/* Return TRUE if section has been discarded. */
|
/* Return TRUE if input section SEC has been discarded. */
|
||||||
#define elf_discarded_section(sec) \
|
#define elf_discarded_section(sec) \
|
||||||
(!bfd_is_abs_section (sec) \
|
(!bfd_is_abs_section (sec) \
|
||||||
&& bfd_is_abs_section ((sec)->output_section) \
|
&& bfd_is_abs_section ((sec)->output_section) \
|
||||||
|
@ -301,7 +301,7 @@ typedef struct bfd_section *sec_ptr;
|
|||||||
(((sec)->rawsize ? (sec)->rawsize : (sec)->size) \
|
(((sec)->rawsize ? (sec)->rawsize : (sec)->size) \
|
||||||
/ bfd_octets_per_byte (bfd))
|
/ bfd_octets_per_byte (bfd))
|
||||||
|
|
||||||
/* Return TRUE if section has been discarded. */
|
/* Return TRUE if input section SEC has been discarded. */
|
||||||
#define elf_discarded_section(sec) \
|
#define elf_discarded_section(sec) \
|
||||||
(!bfd_is_abs_section (sec) \
|
(!bfd_is_abs_section (sec) \
|
||||||
&& bfd_is_abs_section ((sec)->output_section) \
|
&& bfd_is_abs_section ((sec)->output_section) \
|
||||||
@ -2244,10 +2244,7 @@ struct reloc_howto_struct
|
|||||||
when doing overflow checking. */
|
when doing overflow checking. */
|
||||||
unsigned int bitsize;
|
unsigned int bitsize;
|
||||||
|
|
||||||
/* Notes that the relocation is relative to the location in the
|
/* The relocation is relative to the field being relocated. */
|
||||||
data section of the addend. The relocation function will
|
|
||||||
subtract from the relocation value the address of the location
|
|
||||||
being relocated. */
|
|
||||||
bfd_boolean pc_relative;
|
bfd_boolean pc_relative;
|
||||||
|
|
||||||
/* The bit position of the reloc value in the destination.
|
/* The bit position of the reloc value in the destination.
|
||||||
|
@ -1380,7 +1380,7 @@ static reloc_howto_type ppc_elf_howto_raw[] = {
|
|||||||
0, /* rightshift */
|
0, /* rightshift */
|
||||||
1, /* size (0 = byte, 1 = short, 2 = long) */
|
1, /* size (0 = byte, 1 = short, 2 = long) */
|
||||||
16, /* bitsize */
|
16, /* bitsize */
|
||||||
TRUE, /* pc_relative */
|
FALSE, /* pc_relative */
|
||||||
0, /* bitpos */
|
0, /* bitpos */
|
||||||
complain_overflow_signed, /* complain_on_overflow */
|
complain_overflow_signed, /* complain_on_overflow */
|
||||||
bfd_elf_generic_reloc, /* special_function */
|
bfd_elf_generic_reloc, /* special_function */
|
||||||
|
@ -305,10 +305,7 @@ CODE_FRAGMENT
|
|||||||
. when doing overflow checking. *}
|
. when doing overflow checking. *}
|
||||||
. unsigned int bitsize;
|
. unsigned int bitsize;
|
||||||
.
|
.
|
||||||
. {* Notes that the relocation is relative to the location in the
|
. {* The relocation is relative to the field being relocated. *}
|
||||||
. data section of the addend. The relocation function will
|
|
||||||
. subtract from the relocation value the address of the location
|
|
||||||
. being relocated. *}
|
|
||||||
. bfd_boolean pc_relative;
|
. bfd_boolean pc_relative;
|
||||||
.
|
.
|
||||||
. {* The bit position of the reloc value in the destination.
|
. {* The bit position of the reloc value in the destination.
|
||||||
|
Reference in New Issue
Block a user