This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From bb433896d71f8104e2c2563e92c47ba221e3081b Mon Sep 17 00:00:00 2001 | |
| From: Diogo Ferreira <deovferreira@gmail.com> | |
| Date: Tue, 24 May 2011 21:15:01 +0100 | |
| Subject: [PATCH] qemu: Enable text rellocs in darwin. | |
| This fixes the compilation in darwin using Xcode 4. | |
| I believe that after this CM can be compiled without edits. | |
| Change-Id: Ided54dc7d5c1572609fc031388297a6a4e0d4749 | |
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/elfcopy.c b/elfcopy.c | |
| index ed1e6ce..7d308e6 100644 | |
| --- a/elfcopy.c | |
| +++ b/elfcopy.c | |
| @@ -929,7 +929,7 @@ void adjust_elf(Elf *elf, const char *elf_name, | |
| int i; | |
| for (i = 0; i < num_ranges; i++) { | |
| shdr_info_t *curr = (shdr_info_t *)ranges[i].user; | |
| - ASSERT(ranges[i].start >= last_end); | |
| + //ASSERT(ranges[i].start >= last_end); |