public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* unknown section type handling in ElfConvert
@ 2018-06-08 15:45 Michael Zimmermann
  2018-06-22  6:05 ` Zhu, Yonghong
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Zimmermann @ 2018-06-08 15:45 UTC (permalink / raw)
  To: edk2-devel-01; +Cc: Yonghong Zhu, Liming Gao

ElfConvert iterates over the section headers and handles the following
section types:
SHT_PROGBITS: Copy
SHT_NOBITS: memset to 0

the default case looks like this:
//
//  Ignore for unkown section type.
//
VerboseMsg ("%s unknown section type %x. We directly copy this section
into Coff file", mInImageName, (unsigned)Shdr->sh_type);

The comment kinda conflicts with the debug message. Is not copying
unknown sections a bug?
I guess this could lead to problems if a module would ever rely on
non-standard sections being available.

Thanks
Michael


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-22  6:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-08 15:45 unknown section type handling in ElfConvert Michael Zimmermann
2018-06-22  6:05 ` Zhu, Yonghong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox