diff options
author | Nick Clifton <nickc@redhat.com> | 2004-07-27 11:37:12 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-07-27 11:37:12 +0000 |
commit | 670ec21de99faddc3a86f9e18fb9ef1a093b3dbf (patch) | |
tree | d809163639cab84dd83ef7b8229321767c541388 /gas/config/tc-ppc.c | |
parent | 575eebb19f60c85a0e4973dfa9e2f8b1a197005a (diff) | |
download | gdb-670ec21de99faddc3a86f9e18fb9ef1a093b3dbf.zip gdb-670ec21de99faddc3a86f9e18fb9ef1a093b3dbf.tar.gz gdb-670ec21de99faddc3a86f9e18fb9ef1a093b3dbf.tar.bz2 |
Add CRX insns: pushx, popx
Add support to GAS for expressions which are the difference of two symbols
Diffstat (limited to 'gas/config/tc-ppc.c')
-rw-r--r-- | gas/config/tc-ppc.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index d4893e7..7bc7011 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -1918,9 +1918,8 @@ ppc_frob_file_before_adjust () free (dotname); if (dotsym != NULL && (symbol_used_p (dotsym) || symbol_used_in_reloc_p (dotsym))) - { - symbol_mark_used (symp); - } + symbol_mark_used (symp); + } /* Don't emit .TOC. symbol. */ @@ -4843,7 +4842,7 @@ ppc_frob_symbol (sym) table. */ if (! symbol_used_in_reloc_p (sym) && ((symbol_get_bfdsym (sym)->flags & BSF_SECTION_SYM) != 0 - || (! S_IS_EXTERNAL (sym) + || (! (S_IS_EXTERNAL (sym) || S_IS_WEAK (sym)) && ! symbol_get_tc (sym)->output && S_GET_STORAGE_CLASS (sym) != C_FILE))) return 1; @@ -4909,7 +4908,7 @@ ppc_frob_symbol (sym) } } - if (! S_IS_EXTERNAL (sym) + if (! (S_IS_EXTERNAL (sym) || S_IS_WEAK (sym)) && (symbol_get_bfdsym (sym)->flags & BSF_SECTION_SYM) == 0 && S_GET_STORAGE_CLASS (sym) != C_FILE && S_GET_STORAGE_CLASS (sym) != C_FCN |