This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: [PATCH] Support -plugin-opt=disable-output for LLVM plugin


On Wed, Feb 11, 2015 at 4:52 PM, Rafael EspÃndola
<rafael.espindola@gmail.com> wrote:
> I would be happy to transition the plugin to an exit callback if that
> was supported by both bfd and gold.

I don't know if we have one for both ld and gold.

BTW, the enclosed patch for lllvm is needed for ld.

-- 
H.J.
From b834b5703261e1b40d32f5b40a51d30493348165 Mon Sep 17 00:00:00 2001
From: "H.J. Lu" <hjl.tools@gmail.com>
Date: Wed, 11 Feb 2015 14:14:54 -0800
Subject: [PATCH] Allow default visibility on local symbol

GNU ld sets default, not hidden, visibility on local symbol.  Default or
hidden visibility on local symbol makes no differences in run-time
behavior.
---
 test/tools/gold/pr19901.ll | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/tools/gold/pr19901.ll b/test/tools/gold/pr19901.ll
index 304246b..5ebe9e2 100644
--- a/test/tools/gold/pr19901.ll
+++ b/test/tools/gold/pr19901.ll
@@ -9,7 +9,7 @@
 ; CHECK-NEXT:    Size:
 ; CHECK-NEXT:    Binding: Local
 ; CHECK-NEXT:    Type: Function
-; CHECK-NEXT:    Other: 2
+; CHECK-NEXT:    Other: {{2|0}}
 ; CHECK-NEXT:    Section: .text
 ; CHECK-NEXT:  }
 
-- 
1.9.3


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]