This is the mail archive of the 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
<> 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.

From b834b5703261e1b40d32f5b40a51d30493348165 Mon Sep 17 00:00:00 2001
From: "H.J. Lu" <>
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
 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

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