This is the mail archive of the binutils@sources.redhat.com 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: libc divdi3 and libgcc


On Sat, May 03, 2003 at 11:22:47AM +0930, Alan Modra wrote:
> On Fri, May 02, 2003 at 08:44:30AM -0700, H. J. Lu wrote:
> > in my binutils. If you still have this problem, please create a small
> > testcase. I will look into it.
> 
> cat > lib.s <<EOF
>  .data
>  .global x
> x: .long 0
> EOF
> cat > lib.ver <<EOF
> FOO { x; };
> EOF
> cat > main.s <<EOF
>  .text
>  .global _start
> _start:
>  jmp _start
> 
>  .data
>  .global x
>  .hidden x
> x: .long 0
> EOF
> as -o lib.o lib.s
> as -o main.o main.s
> ld -shared -o lib.so --version-script lib.ver lib.o
> ld main.o lib.so
> 

This patch fixed it. I will add some testcases later.


H.J.

Attachment: binutils-vsb-ver.patch
Description: Text document


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