Page MenuHomeFreeBSD

D36577.id110651.diff
No OneTemporary

D36577.id110651.diff

diff --git a/stand/common/load_elf.c b/stand/common/load_elf.c
--- a/stand/common/load_elf.c
+++ b/stand/common/load_elf.c
@@ -98,6 +98,7 @@
uint64_t __elfN(relocation_offset) = 0;
+#ifdef __powerpc__
extern void elf_wrong_field_size(void);
#define CONVERT_FIELD(b, f, e) \
switch (sizeof((b)->f)) { \
@@ -203,7 +204,22 @@
}
#undef CONVERT_SWITCH
#undef CONVERT_FIELD
+#else
+static int elf_header_convert(Elf_Ehdr *ehdr)
+{
+ return (0);
+}
+
+static int elf_program_header_convert(const Elf_Ehdr *ehdr, Elf_Phdr *phdr)
+{
+ return (0);
+}
+static int elf_section_header_convert(const Elf_Ehdr *ehdr, Elf_Shdr *shdr)
+{
+ return (0);
+}
+#endif
#ifdef __amd64__
static bool

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 30, 9:41 PM (20 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14948489
Default Alt Text
D36577.id110651.diff (697 B)

Event Timeline