aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-03-26 08:34:24 +0000
committerAlan Modra <amodra@gmail.com>2010-03-26 08:34:24 +0000
commitddfd679590d5e2555cc7a5d80696d82b1839016a (patch)
tree9be1c11b0f3b9cd20c93766b48443bd5dbfb670b /bfd/bfd-in2.h
parentcd64ee318352dd4f4a7a88029d5ac41152f91a21 (diff)
downloadgdb-ddfd679590d5e2555cc7a5d80696d82b1839016a.zip
gdb-ddfd679590d5e2555cc7a5d80696d82b1839016a.tar.gz
gdb-ddfd679590d5e2555cc7a5d80696d82b1839016a.tar.bz2
* 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.
Diffstat (limited to 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index 7be93ff..abf4c17 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -301,7 +301,7 @@ typedef struct bfd_section *sec_ptr;
(((sec)->rawsize ? (sec)->rawsize : (sec)->size) \
/ 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) \
(!bfd_is_abs_section (sec) \
&& bfd_is_abs_section ((sec)->output_section) \
@@ -2244,10 +2244,7 @@ struct reloc_howto_struct
when doing overflow checking. */
unsigned int bitsize;
- /* Notes that the relocation is relative to the location in the
- data section of the addend. The relocation function will
- subtract from the relocation value the address of the location
- being relocated. */
+ /* The relocation is relative to the field being relocated. */
bfd_boolean pc_relative;
/* The bit position of the reloc value in the destination.