aboutsummaryrefslogtreecommitdiff
path: root/bfd/aoutx.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1992-10-09 01:34:32 +0000
committerJohn Gilmore <gnu@cygnus>1992-10-09 01:34:32 +0000
commitd047d16af719a72d659c032f7b62bf7b1476c3e5 (patch)
tree672edbb8f1a0b6af9e670c46dfa8ab7cf7ce3de6 /bfd/aoutx.h
parente6c613728121f0aed002c3f089b2fa5579308904 (diff)
downloadgdb-d047d16af719a72d659c032f7b62bf7b1476c3e5.zip
gdb-d047d16af719a72d659c032f7b62bf7b1476c3e5.tar.gz
gdb-d047d16af719a72d659c032f7b62bf7b1476c3e5.tar.bz2
* configure.in: Undo some brain damage in the host section.
* Makefile.in (make): Remove obsolete `make make'. * aoutx.h (some_aout_object_p): Make defines line up.
Diffstat (limited to 'bfd/aoutx.h')
-rw-r--r--bfd/aoutx.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/bfd/aoutx.h b/bfd/aoutx.h
index 2f8d02c..b7d6197 100644
--- a/bfd/aoutx.h
+++ b/bfd/aoutx.h
@@ -374,11 +374,11 @@ DEFUN(NAME(aout,some_aout_object_p),(abfd, execp, callback_to_real_object_p),
obj_bsssec (abfd)->_raw_size = execp->a_bss;
obj_textsec (abfd)->flags = (execp->a_trsize != 0 ?
- (SEC_ALLOC | SEC_LOAD | SEC_RELOC | SEC_HAS_CONTENTS) :
- (SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS));
+ (SEC_ALLOC | SEC_LOAD | SEC_CODE | SEC_HAS_CONTENTS | SEC_RELOC) :
+ (SEC_ALLOC | SEC_LOAD | SEC_CODE | SEC_HAS_CONTENTS));
obj_datasec (abfd)->flags = (execp->a_drsize != 0 ?
- (SEC_ALLOC | SEC_LOAD | SEC_RELOC | SEC_HAS_CONTENTS) :
- (SEC_ALLOC | SEC_LOAD | SEC_HAS_CONTENTS));
+ (SEC_ALLOC | SEC_LOAD | SEC_DATA | SEC_HAS_CONTENTS | SEC_RELOC) :
+ (SEC_ALLOC | SEC_LOAD | SEC_DATA | SEC_HAS_CONTENTS));
obj_bsssec (abfd)->flags = SEC_ALLOC;
#ifdef THIS_IS_ONLY_DOCUMENTATION
@@ -822,6 +822,7 @@ DEFUN (NAME (aout,adjust_sizes_and_vmas), (abfd, text_size, text_end),
obj_datasec(abfd)->vma, obj_datasec(abfd)->_raw_size, obj_datasec(abfd)->filepos,
obj_bsssec(abfd)->vma, obj_bsssec(abfd)->_raw_size);
#endif
+ return true;
}
/*