diff options
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r-- | bfd/elf64-ppc.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index f9c37b5b3de..2e37901eac2 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -2948,9 +2948,12 @@ ppc64_elf_grok_psinfo (bfd *abfd, Elf_Internal_Note *note) } static char * -ppc64_elf_write_core_note (bfd *abfd, char *buf, int *bufsiz, int note_type, - ...) +ppc64_elf_write_core_note (bfd *abfd, char *buf, int *bufsiz, + enum elf_os os, int note_type, ...) { + if (os != os_linux) + abort (); + switch (note_type) { default: |