diff options
author | Tristan Gingold <gingold@adacore.com> | 2011-06-14 09:03:52 +0000 |
---|---|---|
committer | Tristan Gingold <gingold@adacore.com> | 2011-06-14 09:03:52 +0000 |
commit | 2fb4b302aae40bf05c70dbcfb34a14959435354f (patch) | |
tree | a677d28b72fc4c47a6a78539082074945aa2ab58 /gas/config/tc-ppc.h | |
parent | 5ce5db06f19972530c86aacc3b501723b788699e (diff) | |
download | gdb-2fb4b302aae40bf05c70dbcfb34a14959435354f.zip gdb-2fb4b302aae40bf05c70dbcfb34a14959435354f.tar.gz gdb-2fb4b302aae40bf05c70dbcfb34a14959435354f.tar.bz2 |
gas/
2011-06-14 Tristan Gingold <gingold@adacore.com>
* config/tc-ppc.h (struct ppc_tc_sy): Complete comment on within.
(tc_new_dot_label): Define.
(ppc_new_dot_label): Declare.
* config/tc-ppc.c (ppc_frob_label): Set within target field.
(ppc_fix_adjustable): Use this field to adjust the reloc.
(ppc_new_dot_label): New function.
gas/testsuite/
2011-06-14 Tristan Gingold <gingold@adacore.com>
* gas/ppc/test1xcoff32.d: Adjust for csect anchor.
Diffstat (limited to 'gas/config/tc-ppc.h')
-rw-r--r-- | gas/config/tc-ppc.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gas/config/tc-ppc.h b/gas/config/tc-ppc.h index 9706f6f..a11d396 100644 --- a/gas/config/tc-ppc.h +++ b/gas/config/tc-ppc.h @@ -143,8 +143,9 @@ struct ppc_tc_sy for symbols that are not csects. */ subsegT subseg; /* For a csect symbol, the last symbol which has been defined in - this csect, or NULL if none have been defined so far. For a .bs - symbol, the referenced csect symbol. */ + this csect, or NULL if none have been defined so far. + For a .bs symbol, the referenced csect symbol. + For a label, the enclosing csect. */ symbolS *within; union { @@ -207,6 +208,9 @@ do { \ extern void ppc_xcoff_end (void); #define md_end ppc_xcoff_end +#define tc_new_dot_label(sym) ppc_new_dot_label (sym) +extern void ppc_new_dot_label (symbolS *); + #endif /* OBJ_XCOFF */ extern const char ppc_symbol_chars[]; |