d38447b51d
This fixes a EFI/PE header issue that prevented elfcopy-produced .efi files from working with Secure Boot: Make sure section raw size is always padded to multiple of FileAlignment from the optional header, as requested by the PE specification. This change should reduce the diff between PE image generated by Binutils objcopy and elftoolchain elfcopy. Submitted by: kaiw Reported by: ambrisko
11 lines
131 B
C
11 lines
131 B
C
/* $FreeBSD$ */
|
|
|
|
#include <sys/types.h>
|
|
#include <libelftc.h>
|
|
|
|
const char *
|
|
elftc_version(void)
|
|
{
|
|
return "elftoolchain r3477M";
|
|
}
|