|
|
1.1 ! root 1: The following two patches were suggested for mips-tfile.c. ! 2: They arrived too late to be considered for installation. ! 3: But it's possible that they actually are needed. ! 4: If you have trouble with mips-tfile, please try these patches. ! 5: ! 6: ! 7: Mon Mar 23 15:10:10 1992 Brendan Kehoe ([email protected]) ! 8: ! 9: * mips-tfile.c (parse_begin, parse_bend): Look in the external ! 10: symbols table for labels; also refer to each as an external ! 11: symbol, not as a normal symbol. ! 12: ! 13: --- mips-tfile.c.~4~ Mon Mar 23 14:46:08 1992 ! 14: +++ mips-tfile.c Mon Mar 23 15:08:58 1992 ! 15: @@ -2813,7 +2813,7 @@ ! 16: ! 17: hash_ptr = hash_string (start, ! 18: end_p1 - start, ! 19: - &orig_str_hash[0], ! 20: + &ext_str_hash[0], ! 21: (symint_t *)0); ! 22: ! 23: if (hash_ptr == (shash_t *)0) ! 24: @@ -2830,7 +2830,7 @@ ! 25: ! 26: (void) add_local_symbol ((const char *)0, (const char *)0, ! 27: st_Block, sc_Text, ! 28: - (symint_t)hash_ptr->sym_ptr->value - cur_oproc_begin->value, ! 29: + (symint_t)hash_ptr->esym_ptr->asym.value - cur_oproc_begin->value, ! 30: (symint_t)0); ! 31: } ! 32: ! 33: @@ -2863,7 +2863,7 @@ ! 34: ! 35: hash_ptr = hash_string (start, ! 36: end_p1 - start, ! 37: - &orig_str_hash[0], ! 38: + &ext_str_hash[0], ! 39: (symint_t *)0); ! 40: ! 41: if (hash_ptr == (shash_t *)0) ! 42: @@ -2880,7 +2880,7 @@ ! 43: ! 44: (void) add_local_symbol ((const char *)0, (const char *)0, ! 45: st_End, sc_Text, ! 46: - (symint_t)hash_ptr->sym_ptr->value - cur_oproc_begin->value, ! 47: + (symint_t)hash_ptr->esym_ptr->asym.value - cur_oproc_begin->value, ! 48: (symint_t)0); ! 49: } ! 50: ! 51: ! 52: Mon Mar 23 15:10:10 1992 Brendan Kehoe ([email protected]) ! 53: ! 54: * mips-tfile.c (copy_object): It doesn't make sense to enter ! 55: static variables into the original symbol table, since the ! 56: same name may show up a number of times. ! 57: ! 58: -- ! 59: --- mips-tfile.c.~4~ Mon Mar 23 15:08:58 1992 ! 60: +++ mips-tfile.c Mon Mar 23 16:23:44 1992 ! 61: @@ -4581,7 +4581,6 @@ ! 62: break; ! 63: ! 64: case st_Global: ! 65: - case st_Static: ! 66: case st_Label: ! 67: case st_Proc: ! 68: case st_StaticProc: ! 69:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.