diff options
author | Alan Modra <amodra@gmail.com> | 2006-11-08 06:31:39 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2006-11-08 06:31:39 +0000 |
commit | 05e7221f068829ce297dbcf12eb056217af33648 (patch) | |
tree | 497f562861aa05a1aad84d20c84e25725794487a /gas/symbols.c | |
parent | 499f04a3c16e664d234286594b61f34be329ba2d (diff) | |
download | gdb-05e7221f068829ce297dbcf12eb056217af33648.zip gdb-05e7221f068829ce297dbcf12eb056217af33648.tar.gz gdb-05e7221f068829ce297dbcf12eb056217af33648.tar.bz2 |
* symbols.c (symbol_create, symbol_clone): Don't set udata.p.
Diffstat (limited to 'gas/symbols.c')
-rw-r--r-- | gas/symbols.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gas/symbols.c b/gas/symbols.c index bd47450..dccc46a 100644 --- a/gas/symbols.c +++ b/gas/symbols.c @@ -145,7 +145,6 @@ symbol_create (const char *name, /* It is copied, the caller can destroy/modify. symbolP->bsym = bfd_make_empty_symbol (stdoutput); if (symbolP->bsym == NULL) as_fatal ("bfd_make_empty_symbol: %s", bfd_errmsg (bfd_get_error ())); - symbolP->bsym->udata.p = (PTR) symbolP; S_SET_NAME (symbolP, preserved_copy_of_name); S_SET_SEGMENT (symbolP, segment); @@ -575,7 +574,6 @@ symbol_clone (symbolS *orgsymP, int replace) bsymnew->name = bsymorg->name; bsymnew->flags = bsymorg->flags; bsymnew->section = bsymorg->section; - bsymnew->udata.p = (PTR) newsymP; bfd_copy_private_symbol_data (bfd_asymbol_bfd (bsymorg), bsymorg, bfd_asymbol_bfd (bsymnew), bsymnew); |