mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-27 12:56:07 +00:00

(ecoff_write_object_contents): If not D_PAGED, don't add the section headers to text_size. If not D_PAGED, set the magic number to OMAGIC rather than ZMAGIC. If creating a D_PAGED executable, the executable must fully occupy an even number of pages. (ecoff_set_symbol_info, make_bfd_asection, ecoff_little_vec, ecoff_big_vec): Consistently set section alignment power to 4, since ECOFF sections should be multiples of 16 bytes. (ecoff_little_vec, ecoff_big_vec): Added D_PAGED to object_flags. Made ar_pad_char and ar_max_namelen agree for both.
HPPA/ELF README file: HP PA-RISC support was contributed by the Center for Software Science at the University of Utah. This is the status of the hppa/elf code in bfd 2.0 as of January 29, 1993: 1. It generates correct ELF files for all of the input I've given it so far. I've used this version of libbfd.a to build an hppa/elf version of gas 1.36 (emits SOM). I've run files as large as 200K lines of assembly through it. 2. ELF executables that are created *always* have 3 program header table entries. This is due to the exec() support we have in the kernel for ELF executables. It expects *exactly* 3 program header table entries -- one for text, one for data, and one for bss. Currently, there's no support for any other types of program header table entries.