grub-macho2img.c revision 2
1N/A * GRUB -- GRand Unified Bootloader 1N/A * Copyright (C) 2009 Free Software Foundation, Inc. 1N/A * GRUB is free software: you can redistribute it and/or modify 1N/A * it under the terms of the GNU General Public License as published by 1N/A * the Free Software Foundation, either version 3 of the License, or 1N/A * (at your option) any later version. 1N/A * GRUB is distributed in the hope that it will be useful, 1N/A * but WITHOUT ANY WARRANTY; without even the implied warranty of 1N/A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1N/A * GNU General Public License for more details. 1N/A * You should have received a copy of the GNU General Public License 1N/A/* Please don't internationalise this file. It's pointless. */ 1N/A/* XXX: this file assumes particular Mach-O layout and does no checks. */ 1N/A/* However as build system ensures correct usage of this tool this 1N/A shouldn't be a problem. */ 1N/A printf (
"Usage: %s [--bss] filename.exec filename.img\n" 1N/A "Convert Mach-O into raw image\n",
argv[0]);