Verified Commit 630cc723 authored by Camil Staps's avatar Camil Staps 🙂

Remove warning for undefined labels (this is expected for single modules)

parent b273851e
Pipeline #43760 failed with stages
in 9 minutes and 45 seconds
......@@ -4907,10 +4907,8 @@ static void count_and_renumber_labels(struct label_node *node, int *start, int *
if (label->label_offset < 0 || label->label_module_n < 0) {
label->label_id=*start;
*start=*start+1;
if (label->label_offset<0){
if (label->label_offset<0)
make_label_global (label);
fprintf (stderr,"Warning: undefined label %s\n",label->label_name);
}
} else {
label->label_id=*end;
*end=*end-1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment