Skip to content

Commit

Permalink
linux-user: Fix compilation with DEBUG defined
Browse files Browse the repository at this point in the history
Signed-off-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
  • Loading branch information
xrmx authored and aurel32 committed May 28, 2010
1 parent 82f24fc commit 564e2fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux-user/flatload.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ calc_reloc(abi_ulong r, struct lib_info *p, int curid, int internalp)
static void old_reloc(struct lib_info *libinfo, uint32_t rl)
{
#ifdef DEBUG
char *segment[] = { "TEXT", "DATA", "BSS", "*UNKNOWN*" };
const char *segment[] = { "TEXT", "DATA", "BSS", "*UNKNOWN*" };
#endif
uint32_t *ptr;
uint32_t offset;
Expand Down

0 comments on commit 564e2fe

Please sign in to comment.