View | Details | Raw Unified | Return to bug 18427 | Differences between
and this patch

Collapse All | Expand All

(-)a/gas/config/tc-hppa.c (-8 / +2 lines)
Lines 435-443 typedef struct label_symbol_struct Link Here
435
#ifdef OBJ_SOM
435
#ifdef OBJ_SOM
436
    sd_chain_struct *lss_space;
436
    sd_chain_struct *lss_space;
437
#endif
437
#endif
438
#ifdef OBJ_ELF
439
    segT lss_segment;
440
#endif
441
    struct label_symbol_struct *lss_next;
438
    struct label_symbol_struct *lss_next;
442
  }
439
  }
443
label_symbol_struct;
440
label_symbol_struct;
Lines 1125-1131 pa_get_label (void) Link Here
1125
      return label_chain;
1122
      return label_chain;
1126
#endif
1123
#endif
1127
#ifdef OBJ_ELF
1124
#ifdef OBJ_ELF
1128
    if (now_seg == label_chain->lss_segment && label_chain->lss_label)
1125
    if (label_chain->lss_label)
1129
      return label_chain;
1126
      return label_chain;
1130
#endif
1127
#endif
1131
    }
1128
    }
Lines 1151-1159 pa_define_label (symbolS *symbol) Link Here
1151
#ifdef OBJ_SOM
1148
#ifdef OBJ_SOM
1152
      label_chain->lss_space = current_space;
1149
      label_chain->lss_space = current_space;
1153
#endif
1150
#endif
1154
#ifdef OBJ_ELF
1155
      label_chain->lss_segment = now_seg;
1156
#endif
1157
      label_chain->lss_next = NULL;
1151
      label_chain->lss_next = NULL;
1158
1152
1159
      if (label_symbols_rootp)
1153
      if (label_symbols_rootp)
Lines 1185-1191 pa_undefine_label (void) Link Here
1185
	  && current_space == label_chain->lss_space && label_chain->lss_label
1179
	  && current_space == label_chain->lss_space && label_chain->lss_label
1186
#endif
1180
#endif
1187
#ifdef OBJ_ELF
1181
#ifdef OBJ_ELF
1188
	  && now_seg == label_chain->lss_segment && label_chain->lss_label
1182
	  && label_chain->lss_label
1189
#endif
1183
#endif
1190
	  )
1184
	  )
1191
	{
1185
	{

Return to bug 18427