diff options
author | Mark Eichin <eichin@cygnus> | 1992-10-09 02:41:30 +0000 |
---|---|---|
committer | Mark Eichin <eichin@cygnus> | 1992-10-09 02:41:30 +0000 |
commit | 7f90aa8b1864f9e4f4d95cc1912b4a9c188ff219 (patch) | |
tree | 3d2007efac0e8b147fc657f7c1e76e35195d9c6d /bfd/aoutx.h | |
parent | 23ab00aadf1a31461022d12294e6ec6f7404e0ba (diff) | |
download | gdb-7f90aa8b1864f9e4f4d95cc1912b4a9c188ff219.zip gdb-7f90aa8b1864f9e4f4d95cc1912b4a9c188ff219.tar.gz gdb-7f90aa8b1864f9e4f4d95cc1912b4a9c188ff219.tar.bz2 |
Linker now works for go32; other changes keep it from breaking the other
platforms (new backend_data "exec_header_not_counted") (from p3.)
Diffstat (limited to 'bfd/aoutx.h')
-rw-r--r-- | bfd/aoutx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/aoutx.h b/bfd/aoutx.h index 12e3d23..b009384 100644 --- a/bfd/aoutx.h +++ b/bfd/aoutx.h @@ -791,7 +791,7 @@ DEFUN (NAME (aout,adjust_sizes_and_vmas), (abfd, text_size, text_end), /* Fix up exec header while we're at it. */ execp->a_text = obj_textsec(abfd)->_raw_size; - if (ztih) + if (ztih && (!abdp || (abdp && !abdp->exec_header_not_counted))) execp->a_text += adata(abfd).exec_bytes_size; N_SET_MAGIC (*execp, ZMAGIC); /* Spec says data section should be rounded up to page boundary. */ |