aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in.h
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1995-06-10 00:05:51 +0000
committerJeff Law <law@redhat.com>1995-06-10 00:05:51 +0000
commit6167a840e59a21b814d8f14a2c2aebcb5fe52cda (patch)
tree0d5a42b851a04d789220e1ef4d55a5754cbff297 /bfd/bfd-in.h
parente431d135cfc579960b914df3d85aa68be936c44a (diff)
downloadgdb-6167a840e59a21b814d8f14a2c2aebcb5fe52cda.zip
gdb-6167a840e59a21b814d8f14a2c2aebcb5fe52cda.tar.gz
gdb-6167a840e59a21b814d8f14a2c2aebcb5fe52cda.tar.bz2
* targets.c: Add copy_private_symbol_data and link_split_section
to the target vector. * libbfd-in.h (_bfd_generic_bfd_copy_private_symbol_data): Define. (_bfd_nolink_bfd_link_split_section): Likewise. (bfd_generic_link_split_section): Declare. * syms.c (bfd_copy_private_symbol_data): Define. * linker.c (bf_link_split_section): Likewise. * som.c (som_bfd_copy_private_symbol_data): New function (som_bfd_link_split_section): Likewise. * All other targets updated with default versions of new routines. * Take out my braindamaged bfd_true/bfd_false changes from earlier today. Replace with just: * bfd-in.h: (TRUE_FALSE_ALREADY_DEFINED): Define this if compiling with g++-2.6 or later. * bfd-in2.h: Rebuilt.
Diffstat (limited to 'bfd/bfd-in.h')
-rw-r--r--bfd/bfd-in.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h
index bdc4ed0..2c333c9 100644
--- a/bfd/bfd-in.h
+++ b/bfd/bfd-in.h
@@ -89,8 +89,6 @@ typedef struct _bfd bfd;
#ifndef TRUE_FALSE_ALREADY_DEFINED
typedef enum bfd_boolean {false, true} boolean;
#define BFD_TRUE_FALSE
-#define bfd_false false
-#define bfd_true true
#else
typedef enum bfd_boolean {bfd_false, bfd_true} boolean;
#endif
@@ -299,9 +297,9 @@ typedef struct sec *sec_ptr;
#define bfd_is_com_section(ptr) (((ptr)->flags & SEC_IS_COMMON) != 0)
-#define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma= (val)), ((ptr)->user_set_vma = bfd_true), bfd_true)
-#define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),bfd_true)
-#define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),bfd_true)
+#define bfd_set_section_vma(bfd, ptr, val) (((ptr)->vma = (ptr)->lma= (val)), ((ptr)->user_set_vma = true), true)
+#define bfd_set_section_alignment(bfd, ptr, val) (((ptr)->alignment_power = (val)),true)
+#define bfd_set_section_userdata(bfd, ptr, val) (((ptr)->userdata = (val)),true)
typedef struct stat stat_type;
@@ -506,7 +504,7 @@ typedef struct _bfd_link_stack_heap bfd_link_stack_heap;
#define bfd_get_symbol_leading_char(abfd) ((abfd)->xvec->symbol_leading_char)
-#define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = (bool)), bfd_true)
+#define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = (bool)), true)
/* Byte swapping routines. */