diff options
author | Per Bothner <per@bothner.com> | 1991-10-11 20:45:29 +0000 |
---|---|---|
committer | Per Bothner <per@bothner.com> | 1991-10-11 20:45:29 +0000 |
commit | 71fa3b01618c74f42f49e946f8c46a2c14415af2 (patch) | |
tree | e1060b59d188e92fcf10a0c939e914162cda53cb /ld/mkscript.c | |
parent | abd4aaa9cb9485a103696a0b74fd1f8824c9db30 (diff) | |
download | gdb-71fa3b01618c74f42f49e946f8c46a2c14415af2.zip gdb-71fa3b01618c74f42f49e946f8c46a2c14415af2.tar.gz gdb-71fa3b01618c74f42f49e946f8c46a2c14415af2.tar.bz2 |
* coffcode.h: Moved ALIGN macro to libbfd.h. Removed i960_align.
* libbfd.h: Moved ALIGN macro here.
* bout.c (b_out_callback): Replace i960_align by align_power.
* libaout.h (struct aoutdata): Added fields page_size,
segment_size and exec_bytes_size. These help generic code
(in aoutx.h and libaout.h) to figure out where to align
the various segments in a demand paged file.
* libaout.h (WRITE_HEADER): Use new (struct aoutdata) fields
to decide if the exec header counts in a_text (text segment size).
Also, assume D_PAGED flag is set; don't set it here.
* bout.c (b_out_callback): Add initialization of
adata fields page_size, segment_size, and exec_bytes_size.
* host-aout.c (NAME(host_aout, callback) and
NAME(host_aout,mkobject): Ditto.
* i386aout.c (aout386_callback) and new aout386_mkobject): Ditto.
* newos3.c (newsos3_callback) and new newsos_mkobject): Ditto.
* aoutf1.c (sunos4_callback) and new sunos_mkobject): Ditto.
* aoutx.h (NAME(aout,some_aout_object_p)): Don't subtract
EXEC_BYTES_SIZE from the a_test size; this is only appropriate
for some systems (mainly sunos), so do it in the callback instead.
Same routine: Add stuff to the THIS_IS_ONLY_DOCUMENTATION comment.
* aoutx.h (NAME(aout,set_section_contents): Change the way
filepos and size of sections are carried out to support
older styles of demand paged executables.
Diffstat (limited to 'ld/mkscript.c')
0 files changed, 0 insertions, 0 deletions