bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/5866] LD Does not Set GP Size of Archive Modules


From: hjl dot tools at gmail dot com
Subject: [Bug ld/5866] LD Does not Set GP Size of Archive Modules
Date: 7 Mar 2008 04:17:53 -0000

------- Additional Comments From hjl dot tools at gmail dot com  2008-03-07 
04:17 -------
It works for me after a small change:

bash-3.2$ cat d.s
        .extern e4, ef

        .comm   d4, 4
        .comm   df, 15

        .data

        .long   e4
        .long   ef
bash-3.2$ cat e.s
        .comm   e4, 4
        .comm   ef, 15
bash-3.2$ make
./as -o e.o e.s
./as -o d.o d.s
./ld -G 16 -o good d.o e.o
./ld: warning: cannot find entry symbol _start; defaulting to 0000000010000054
./ar -r e.a e.o
./ld -G 16 -o bad d.o e.a
./ld: warning: cannot find entry symbol _start; defaulting to 0000000010000054
cmp good bad
bash-3.2$ ./ld -V
GNU ld (GNU Binutils) 2.18.50.20080306
  Supported emulations:
   elf32ppclinux
   elf32ppc
   elf32ppcsim
bash-3.2$ 

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WORKSFORME


http://sourceware.org/bugzilla/show_bug.cgi?id=5866

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]