asymbol *_bfd_generic_make_empty_symbol (bfd *);
-#define bfd_make_debug_symbol(abfd,ptr,size) \
- BFD_SEND (abfd, _bfd_make_debug_symbol, (abfd, ptr, size))
+#define bfd_make_debug_symbol(abfd) \
+ BFD_SEND (abfd, _bfd_make_debug_symbol, (abfd))
int bfd_decode_symclass (asymbol *symbol);
while using BFD for everything else. Currently used by the assembler
when creating COFF files. */
asymbol *
- (*_bfd_make_debug_symbol) (bfd *, void *, unsigned long size);
+ (*_bfd_make_debug_symbol) (bfd *);
#define bfd_read_minisymbols(b, d, m, s) \
BFD_SEND (b, _read_minisymbols, (b, d, m, s))
long (*_read_minisymbols) (bfd *, bool, void **, unsigned int *);
/* Make a debugging symbol. */
asymbol *
-coff_bfd_make_debug_symbol (bfd *abfd,
- void * ptr ATTRIBUTE_UNUSED,
- unsigned long sz ATTRIBUTE_UNUSED)
+coff_bfd_make_debug_symbol (bfd *abfd)
{
size_t amt = sizeof (coff_symbol_type);
coff_symbol_type *new_symbol = (coff_symbol_type *) bfd_alloc (abfd, amt);
extern bool _bfd_nosymbols_find_inliner_info
(bfd *, const char **, const char **, unsigned int *) ATTRIBUTE_HIDDEN;
extern asymbol *_bfd_nosymbols_bfd_make_debug_symbol
- (bfd *, void *, unsigned long) ATTRIBUTE_HIDDEN;
+ (bfd *) ATTRIBUTE_HIDDEN;
extern long _bfd_nosymbols_read_minisymbols
(bfd *, bool, void **, unsigned int *) ATTRIBUTE_HIDDEN;
extern asymbol *_bfd_nosymbols_minisymbol_to_symbol
extern bool _bfd_nosymbols_find_inliner_info
(bfd *, const char **, const char **, unsigned int *) ATTRIBUTE_HIDDEN;
extern asymbol *_bfd_nosymbols_bfd_make_debug_symbol
- (bfd *, void *, unsigned long) ATTRIBUTE_HIDDEN;
+ (bfd *) ATTRIBUTE_HIDDEN;
extern long _bfd_nosymbols_read_minisymbols
(bfd *, bool, void **, unsigned int *) ATTRIBUTE_HIDDEN;
extern asymbol *_bfd_nosymbols_minisymbol_to_symbol
extern bool _bfd_coff_is_local_label_name
(bfd *, const char *);
extern asymbol *coff_bfd_make_debug_symbol
- (bfd *, void *, unsigned long);
+ (bfd *);
extern bool coff_find_nearest_line
(bfd *, asymbol **, asection *, bfd_vma,
const char **, const char **, unsigned int *, unsigned int *);
extern bool _bfd_coff_is_local_label_name
(bfd *, const char *);
extern asymbol *coff_bfd_make_debug_symbol
- (bfd *, void *, unsigned long);
+ (bfd *);
extern bool coff_find_nearest_line
(bfd *, asymbol **, asection *, bfd_vma,
const char **, const char **, unsigned int *, unsigned int *);
DESCRIPTION
Create a new <<asymbol>> structure for the BFD @var{abfd},
- to be used as a debugging symbol. Further details of its use have
- yet to be worked out.
+ to be used as a debugging symbol.
-.#define bfd_make_debug_symbol(abfd,ptr,size) \
-. BFD_SEND (abfd, _bfd_make_debug_symbol, (abfd, ptr, size))
+.#define bfd_make_debug_symbol(abfd) \
+. BFD_SEND (abfd, _bfd_make_debug_symbol, (abfd))
.
*/
}
asymbol *
-_bfd_nosymbols_bfd_make_debug_symbol (bfd *abfd,
- void *ptr ATTRIBUTE_UNUSED,
- unsigned long sz ATTRIBUTE_UNUSED)
+_bfd_nosymbols_bfd_make_debug_symbol (bfd *abfd)
{
return (asymbol *) _bfd_ptr_bfd_null_error (abfd);
}
. while using BFD for everything else. Currently used by the assembler
. when creating COFF files. *}
. asymbol *
-. (*_bfd_make_debug_symbol) (bfd *, void *, unsigned long size);
+. (*_bfd_make_debug_symbol) (bfd *);
.#define bfd_read_minisymbols(b, d, m, s) \
. BFD_SEND (b, _read_minisymbols, (b, d, m, s))
. long (*_read_minisymbols) (bfd *, bool, void **, unsigned int *);
{
const asymbol *s;
- s = bfd_make_debug_symbol (stdoutput, NULL, 0);
+ s = bfd_make_debug_symbol (stdoutput);
gas_assert (s != 0);
debug_section = s->section;
}