From 86259646346824c20af16f95441f0f410c3478d5 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 13 Nov 2012 21:51:16 +0900 Subject: [PATCH] Fix some careless inernal_error changes. Back when I did the abort->internal_error change, I wasn't paying attention and forgot I should use linker_internal_error in linker.c. --- tools/qfcc/source/linker.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/qfcc/source/linker.c b/tools/qfcc/source/linker.c index 82c690c59..d7bbea5d3 100644 --- a/tools/qfcc/source/linker.c +++ b/tools/qfcc/source/linker.c @@ -461,7 +461,7 @@ static void add_data (int space, qfo_mspace_t *data) { if (space < 0 || space >= qfo_num_spaces || !work_spaces[space]) - internal_error (0, "bad space for add_data (): %d", space); + linker_internal_error ("bad space for add_data (): %d", space); defspace_add_data (*work_spaces[space], data->d.data, data->data_size); work->spaces[space].d.data = (*work_spaces[space])->data; work->spaces[space].data_size = (*work_spaces[space])->size; @@ -478,8 +478,8 @@ add_data_space (qfo_t *qfo, qfo_mspace_t *space) { qfo_mspace_t *ws; if (space->type != qfos_data) - internal_error (0, "bad space type for add_data_space (): %d", - space->type); + linker_internal_error ("bad space type for add_data_space (): %d", + space->type); space->id = work->num_spaces++; // so the space in work can be found work->spaces = realloc (work->spaces, work->num_spaces * sizeof (qfo_mspace_t));