diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-06-23 21:36:03 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-06-23 21:36:03 +0000 |
commit | 8af74670dfb7ea87529f7ca1fbc254cdc59bc89b (patch) | |
tree | 3e754b1c8f09e37ee35173349fb8e6ece7deb3ce /gdb/xm-rtbsd.h | |
parent | 51fc377bab22057d52d81146902d7b2e4a5d5675 (diff) | |
download | gdb-8af74670dfb7ea87529f7ca1fbc254cdc59bc89b.zip gdb-8af74670dfb7ea87529f7ca1fbc254cdc59bc89b.tar.gz gdb-8af74670dfb7ea87529f7ca1fbc254cdc59bc89b.tar.bz2 |
Preliminary support for generating shared libraries, from Eric
Youngdale <ericy@cais.cais.com>.
* elfcode.h (prep_headers): If DYNAMIC, set e_type to ET_DYN.
(elf_link_add_object_symbols): If generating a shared library,
create dynamic sections for first input BFD with the right format.
(elf_link_create_dynamic_sections): Don't create .interp section
if creating a shared library.
(elf_link_input_bfd): Skip dynamic sections in input file.
(elf_bfd_final_link): If creating a shared library, it's OK for
dynobj to have sections which are not SEC_IN_MEMORY.
* elf32-i386.c (elf_i386_size_dynamic_sections): Only set .interp
section if not creating a shared library.
* elf32-sparc.c (elf_sparc_size_dynamic_sections): Likewise.
Diffstat (limited to 'gdb/xm-rtbsd.h')
0 files changed, 0 insertions, 0 deletions