binutils-gdb/include/coff
Alan Modra 6785fd72d5 PE dos_message
I was looking at dos_message and wondering why we have H_PUT_32
in _bfd_XXi_only_swap_filehdr_out but no H_GET_32 in pe_bfd_object_p.
On a big-endian machine this would result in scrambling the code and
strings constained in dos_message.  Rather than fix the lack of
H_GET_32 in pe_bfd_object_p, I decided it doesn't make sense to store
dos_message internally as an array of ints.

include/
	* coff/internal.h (struct internal_extra_pe_filehdr): Make
	dos_message a char array.
	* coff/msdos.h (struct external_DOS_hdr): Flatten dos_message.
	* coff/pe.h (struct external_PEI_filehdr): Likewise.
bfd/
	* libcoff-in.h (struct pe_tdata): Make dos_message a char array.
	* libcoff.h: Regenerate.
	* peXXigen.c (_bfd_XXi_only_swap_filehdr_out): memcpy dos_message
	to output.
	* peicode.h (pe_mkobject): Don't memset already zeroed pe_opthdr.
	Tidy allocation of tdata.pe_obj_data.  Set up dos_message from..
	(default_dos_message): ..this.  New static array.
2023-08-27 21:21:38 +09:30
..
aarch64.h Remove PEI_HEADERS define 2023-08-03 07:39:15 -06:00
alpha.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
arm.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
ChangeLog-0415
ChangeLog-9103
ecoff.h ecoff find_nearest_line and final link leaks 2023-06-09 12:56:12 +09:30
external.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
i386.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
ia64.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
internal.h PE dos_message 2023-08-27 21:21:38 +09:30
loongarch64.h Remove PEI_HEADERS define 2023-08-03 07:39:15 -06:00
mcore.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
mips.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
msdos.h PE dos_message 2023-08-27 21:21:38 +09:30
pe.h PE dos_message 2023-08-27 21:21:38 +09:30
rs6k64.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
rs6000.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
sh.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
sym.h
symconst.h
ti.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
tic4x.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
tic30.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
tic54x.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
x86_64.h Remove PEI_HEADERS define 2023-08-03 07:39:15 -06:00
xcoff.h Re: Keeping track of rs6000-coff archive element pointers 2023-04-28 15:19:59 +09:30
z8k.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
z80.h Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30