diff options
author | Tom Rix <trix@redhat.com> | 2001-05-29 14:53:22 +0000 |
---|---|---|
committer | Tom Rix <trix@redhat.com> | 2001-05-29 14:53:22 +0000 |
commit | 41ea10b1342d4443d26efd936d75087cc199ca87 (patch) | |
tree | 8c32d5e34888ab66c8dac7792dc7e6152de65744 /gas/config/tc-ppc.c | |
parent | 09d011c5cabc3ebcfa31706bd40ea7568e4a001e (diff) | |
download | gdb-41ea10b1342d4443d26efd936d75087cc199ca87.zip gdb-41ea10b1342d4443d26efd936d75087cc199ca87.tar.gz gdb-41ea10b1342d4443d26efd936d75087cc199ca87.tar.bz2 |
formatting change
Diffstat (limited to 'gas/config/tc-ppc.c')
-rw-r--r-- | gas/config/tc-ppc.c | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index 73a0db9..b98f751 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -2849,25 +2849,23 @@ ppc_stabx (ignore) symbol_get_tc (sym)->within = ppc_current_block; - /* - In this case : + /* In this case : - .bs name - .stabx "z",arrays_,133,0 - .es - - .comm arrays_,13768,3 - - resolve_symbol_value will copy the exp's "within" into sym's when the - offset is 0. Since this seems to be corner case problem, - only do the correction for storage class C_STSYM. A better solution - would be to have the tc field updated in ppc_symbol_new_hook. - - */ - - if (exp.X_op == O_symbol) { - symbol_get_tc (exp.X_add_symbol)->within = ppc_current_block; - } + .bs name + .stabx "z",arrays_,133,0 + .es + + .comm arrays_,13768,3 + + resolve_symbol_value will copy the exp's "within" into sym's when the + offset is 0. Since this seems to be corner case problem, + only do the correction for storage class C_STSYM. A better solution + would be to have the tc field updated in ppc_symbol_new_hook. */ + + if (exp.X_op == O_symbol) + { + symbol_get_tc (exp.X_add_symbol)->within = ppc_current_block; + } } if (exp.X_op != O_symbol |