Passing -L. is no longer necessary.
[deliverable/binutils-gdb.git] / ld / ldwarn.c
index 8aa189f66f1700f3e34efed0f931e9e9b8fb3d48..0aa1cd6bd2ddae30c6db1ceca6ae94c308a11113 100644 (file)
@@ -45,8 +45,8 @@ static warning_list_type *warning_list;
 
 
 void 
-DEFUN(add_warning,(sym),
-      asymbol *sym)
+add_warning (sym)
+     asymbol *sym;
 {
   CONST    char *name = ((asymbol *)(sym->value))->name;
   warning_list_type *new;
@@ -64,8 +64,8 @@ DEFUN(add_warning,(sym),
 /* run through the list we kept, and find the warning associated with
    this symbol */
 CONST char *
-DEFUN(fetch_warning,(sym),
-asymbol *sym)
+fetch_warning (sym)
+     asymbol *sym;
 {
   warning_list_type *ptr = warning_list;
   while (ptr != (warning_list_type *)NULL) {
@@ -79,15 +79,15 @@ asymbol *sym)
 
 
 void 
-DEFUN(produce_warnings,(lgs,it),
-      ldsym_type *lgs AND
-      asymbol *it)
+produce_warnings (lgs, it)
+     ldsym_type *lgs;
+     asymbol *it;
 {
   asymbol **ptr;
   ptr  = lgs->srefs_chain;
   while (ptr != (asymbol **)NULL) {
     asymbol *ref = *ptr;
-    info("%B: %s\n", ref->the_bfd, fetch_warning(it));
+    info("%B: %s\n", bfd_asymbol_bfd(ref), fetch_warning(it));
     ptr = (asymbol **)(ref->udata);
   }
 }
This page took 0.024295 seconds and 4 git commands to generate.