This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Enable relocation overflow messages by default.
- From: Claudiu Zissulescu <claziss at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 11 Jul 2016 13:51:56 -0000
- Subject: [binutils-gdb] Enable relocation overflow messages by default.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=b9316f59852ff821cf621aca1e6ab8e7674a5615
commit b9316f59852ff821cf621aca1e6ab8e7674a5615
Author: Cupertino Miranda <cmiranda@synopsys.com>
Date: Thu Jun 23 11:38:30 2016 +0200
Enable relocation overflow messages by default.
bfd/ChangeLog:
2016-06-23 Cupertino Miranda <cmiranda@synopsys.com>
elf32-arc.c: made PR_DEBUG always defined.
Signed-off-by: Claudiu Zissulescu <claziss@synopsys.com>
Diff:
---
bfd/ChangeLog | 4 ++++
bfd/elf32-arc.c | 6 +-----
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 8b1b9c7..562d963 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,9 @@
2016-07-11 Cupertino Miranda <cmiranda@synopsys.com>
+ * elf32-arc.c: made PR_DEBUG always defined.
+
+2016-07-11 Cupertino Miranda <cmiranda@synopsys.com>
+
* arc-got.h: Moved got related structures from elf32-arc.c to
this file. More precisely, tls_type_e, tls_got_entries, got_entry.
* (arc_get_local_got_ents, got_entry_for_type, new_got_entry_to_list,
diff --git a/bfd/elf32-arc.c b/bfd/elf32-arc.c
index b1b5efd..ab27d4a 100644
--- a/bfd/elf32-arc.c
+++ b/bfd/elf32-arc.c
@@ -29,11 +29,7 @@
#include "opcode/arc.h"
#include "arc-plt.h"
-#ifdef DEBUG
-# define PR_DEBUG(fmt, args...) fprintf (stderr, fmt, ##args)
-#else
-# define PR_DEBUG(fmt, args...)
-#endif
+#define PR_DEBUG(fmt, args...) fprintf (stderr, fmt, ##args)
/* #define ARC_ENABLE_DEBUG 1 */
#ifndef ARC_ENABLE_DEBUG