aboutsummaryrefslogtreecommitdiff
path: root/bfd/libaout.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/libaout.h')
-rw-r--r--bfd/libaout.h70
1 files changed, 35 insertions, 35 deletions
diff --git a/bfd/libaout.h b/bfd/libaout.h
index 94bedf9..4b4462f 100644
--- a/bfd/libaout.h
+++ b/bfd/libaout.h
@@ -232,18 +232,18 @@ struct internal_exec
unsigned char a_talign; /* Alignment of text segment. */
unsigned char a_dalign; /* Alignment of data segment. */
unsigned char a_balign; /* Alignment of bss segment. */
- char a_relaxable; /* Enough info for linker relax. */
+ char a_relaxable; /* Enough info for linker relax. */
};
/* Magic number is written
- < MSB >
+ < MSB >
3130292827262524232221201918171615141312111009080706050403020100
- < FLAGS >< MACHINE TYPE >< MAGIC NUMBER > */
+ < FLAGS >< MACHINE TYPE >< MAGIC NUMBER > */
/* Magic number for NetBSD is
- <MSB >
+ <MSB >
3130292827262524232221201918171615141312111009080706050403020100
- < FLAGS >< MACHINE TYPE >< MAGIC NUMBER > */
+ < FLAGS >< MACHINE TYPE >< MAGIC NUMBER > */
enum machine_type
{
@@ -256,7 +256,7 @@ enum machine_type
M_NS32032 = (64), /* NS32032 running ? */
M_NS32532 = (64 + 5), /* NS32532 running mach. */
M_386 = 100,
- M_29K = 101, /* AMD 29000. */
+ M_29K = 101, /* AMD 29000. */
M_386_DYNIX = 102, /* Sequent running dynix. */
M_ARM = 103, /* Advanced Risc Machines ARM. */
M_SPARCLET = 131, /* SPARClet = M_SPARC + 128. */
@@ -272,8 +272,8 @@ enum machine_type
M_SPARCLET_1 = 147, /* 0x93, reserved. */
M_POWERPC_NETBSD = 149, /* NetBSD/powerpc (big-endian) binary. */
M_VAX4K_NETBSD = 150, /* NetBSD/vax 4K pages binary. */
- M_MIPS1 = 151, /* MIPS R2000/R3000 binary. */
- M_MIPS2 = 152, /* MIPS R4000/R6000 binary. */
+ M_MIPS1 = 151, /* MIPS R2000/R3000 binary. */
+ M_MIPS2 = 152, /* MIPS R4000/R6000 binary. */
M_88K_OPENBSD = 153, /* OpenBSD/m88k binary. */
M_HPPA_OPENBSD = 154, /* OpenBSD/hppa binary. */
M_SPARC64_NETBSD = 156, /* NetBSD/sparc64 binary. */
@@ -428,25 +428,25 @@ struct aout_data_struct
struct internal_exec e;
};
-#define adata(bfd) ((bfd)->tdata.aout_data->a)
-#define exec_hdr(bfd) (adata (bfd).hdr)
-#define obj_aout_symbols(bfd) (adata (bfd).symbols)
-#define obj_textsec(bfd) (adata (bfd).textsec)
-#define obj_datasec(bfd) (adata (bfd).datasec)
-#define obj_bsssec(bfd) (adata (bfd).bsssec)
-#define obj_sym_filepos(bfd) (adata (bfd).sym_filepos)
-#define obj_str_filepos(bfd) (adata (bfd).str_filepos)
-#define obj_reloc_entry_size(bfd) (adata (bfd).reloc_entry_size)
-#define obj_symbol_entry_size(bfd) (adata (bfd).symbol_entry_size)
-#define obj_aout_subformat(bfd) (adata (bfd).subformat)
-#define obj_aout_external_syms(bfd) (adata (bfd).external_syms)
+#define adata(bfd) ((bfd)->tdata.aout_data->a)
+#define exec_hdr(bfd) (adata (bfd).hdr)
+#define obj_aout_symbols(bfd) (adata (bfd).symbols)
+#define obj_textsec(bfd) (adata (bfd).textsec)
+#define obj_datasec(bfd) (adata (bfd).datasec)
+#define obj_bsssec(bfd) (adata (bfd).bsssec)
+#define obj_sym_filepos(bfd) (adata (bfd).sym_filepos)
+#define obj_str_filepos(bfd) (adata (bfd).str_filepos)
+#define obj_reloc_entry_size(bfd) (adata (bfd).reloc_entry_size)
+#define obj_symbol_entry_size(bfd) (adata (bfd).symbol_entry_size)
+#define obj_aout_subformat(bfd) (adata (bfd).subformat)
+#define obj_aout_external_syms(bfd) (adata (bfd).external_syms)
#define obj_aout_external_sym_count(bfd) (adata (bfd).external_sym_count)
-#define obj_aout_sym_window(bfd) (adata (bfd).sym_window)
-#define obj_aout_external_strings(bfd) (adata (bfd).external_strings)
+#define obj_aout_sym_window(bfd) (adata (bfd).sym_window)
+#define obj_aout_external_strings(bfd) (adata (bfd).external_strings)
#define obj_aout_external_string_size(bfd) (adata (bfd).external_string_size)
-#define obj_aout_string_window(bfd) (adata (bfd).string_window)
-#define obj_aout_sym_hashes(bfd) (adata (bfd).sym_hashes)
-#define obj_aout_dynamic_info(bfd) (adata (bfd).dynamic_info)
+#define obj_aout_string_window(bfd) (adata (bfd).string_window)
+#define obj_aout_sym_hashes(bfd) (adata (bfd).sym_hashes)
+#define obj_aout_dynamic_info(bfd) (adata (bfd).dynamic_info)
/* We take the address of the first element of an asymbol to ensure that the
macro is only ever applied to an asymbol. */
@@ -626,10 +626,10 @@ extern bfd_boolean NAME (aout, bfd_free_cached_info)
{ \
if (adata(abfd).magic == undecided_magic) \
NAME (aout, adjust_sizes_and_vmas) (abfd); \
- \
+ \
execp->a_syms = bfd_get_symcount (abfd) * EXTERNAL_NLIST_SIZE; \
execp->a_entry = bfd_get_start_address (abfd); \
- \
+ \
execp->a_trsize = ((obj_textsec (abfd)->reloc_count) * \
obj_reloc_entry_size (abfd)); \
execp->a_drsize = ((obj_datasec (abfd)->reloc_count) * \
@@ -641,9 +641,9 @@ extern bfd_boolean NAME (aout, bfd_free_cached_info)
abfd) != EXEC_BYTES_SIZE) \
return FALSE; \
/* Now write out reloc info, followed by syms and strings. */ \
- \
+ \
if (bfd_get_outsymbols (abfd) != NULL \
- && bfd_get_symcount (abfd) != 0) \
+ && bfd_get_symcount (abfd) != 0) \
{ \
if (bfd_seek (abfd, (file_ptr) (N_SYMOFF (execp)), SEEK_SET) != 0)\
return FALSE; \
@@ -653,14 +653,14 @@ extern bfd_boolean NAME (aout, bfd_free_cached_info)
} \
\
if (bfd_seek (abfd, (file_ptr) (N_TRELOFF (execp)), SEEK_SET) != 0) \
- return FALSE; \
- if (!NAME (aout, squirt_out_relocs) (abfd, obj_textsec (abfd))) \
- return FALSE; \
+ return FALSE; \
+ if (!NAME (aout, squirt_out_relocs) (abfd, obj_textsec (abfd))) \
+ return FALSE; \
\
if (bfd_seek (abfd, (file_ptr) (N_DRELOFF (execp)), SEEK_SET) != 0) \
- return FALSE; \
- if (!NAME (aout, squirt_out_relocs) (abfd, obj_datasec (abfd))) \
- return FALSE; \
+ return FALSE; \
+ if (!NAME (aout, squirt_out_relocs) (abfd, obj_datasec (abfd))) \
+ return FALSE; \
}
#endif