Remove strayed fprintf in commit 23182ac0d83

Message ID 20210510194939.984015-1-hjl.tools@gmail.com
State New
Headers show
Series
  • Remove strayed fprintf in commit 23182ac0d83
Related show

Commit Message

H.J. Lu via Binutils May 10, 2021, 7:49 p.m.
PR binutils/27839
	* simple.c (bfd_simple_get_relocated_section_contents): Remove
	strayed fprintf.
---
 bfd/simple.c | 1 -
 1 file changed, 1 deletion(-)

-- 
2.31.1

Comments

H.J. Lu via Binutils May 11, 2021, 10:23 a.m. | #1
Hi H.J.

> -fprintf (stderr, "SIMPLE CALLBACKS %p\n", & callbacks);


Doh!  Thanks for fixing this.

Cheers
   Nick

Patch

diff --git a/bfd/simple.c b/bfd/simple.c
index 3266f5b8b67..975d01f132c 100644
--- a/bfd/simple.c
+++ b/bfd/simple.c
@@ -251,7 +251,6 @@  bfd_simple_get_relocated_section_contents (bfd *abfd,
   callbacks.constructor = simple_dummy_constructor;
   callbacks.add_to_set = simple_dummy_add_to_set;
 
-fprintf (stderr, "SIMPLE CALLBACKS %p\n", & callbacks);
   memset (&link_order, 0, sizeof (link_order));
   link_order.next = NULL;
   link_order.type = bfd_indirect_link_order;