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

2008-03-06 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-03-07 06:00 --- (In reply to comment #10) > Well, yes, the link is succesfull, but the problem is where common symbols in > archived modules end up. > > Please, rerun ld with -G 8 and then run objdump on the output files a

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

2008-03-06 Thread evandro at yahoo dot com
--- Additional Comments From evandro at yahoo dot com 2008-03-07 04:57 --- Well, yes, the link is succesfull, but the problem is where common symbols in archived modules end up. Please, rerun ld with -G 8 and then run objdump on the output files and confirm that e4 is in .sbss and ef in

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

2008-03-06 Thread hjl dot tools at gmail dot com
--- 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 .

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

2008-03-06 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-03-07 04:11 --- (In reply to comment #3) > Instructions to reproduce this issue: > > as d.s -o d.o > as e.s -o e.o > ar r e.a e.o > > The command below results in both "e4" and "ef" to be placed in .bss: > > ld d.o e.a >

[Bug binutils/5896] inconsistent behavior of bash re time

2008-03-06 Thread hjl dot tools at gmail dot com
--- Additional Comments From hjl dot tools at gmail dot com 2008-03-07 03:57 --- This has nothing to do with binutils. -- What|Removed |Added Status|NEW

[Bug binutils/5896] New: inconsistent behavior of bash re time

2008-03-06 Thread doug at cs dot dartmouth dot edu
These two bash sequences are not equivalent. Clearly they ought to be. The bash man page apparently agrees. % export X=x; time --version; unset X -bash: --version: command not found % unset X; X=x time --version GNU time 1.7 Behavior observed in: GNU bash, version 3.2.33(18)-release (

[Bug gas/5895] Usage of .exitm outside a .macro block equivalent to .end

2008-03-06 Thread evandro at yahoo dot com
--- Additional Comments From evandro at yahoo dot com 2008-03-06 23:32 --- Created an attachment (id=2311) --> (http://sourceware.org/bugzilla/attachment.cgi?id=2311&action=view) Proposed patch to fix this issue. -- http://sourceware.org/bugzilla/show_bug.cgi?id=5895 --- You a

[Bug gas/5895] New: Usage of .exitm outside a .macro block equivalent to .end

2008-03-06 Thread evandro at yahoo dot com
If .exitm is used outside a macro definition, then it behaves as .end, stopping further processing. For example: .macro MAC xor %eax, %eax .endm .exitm MAC bogus %eax, %eax # never flagged as illegal insn .end -- Summary: Usage of .exitm outside a .macro block equivalent to

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

2008-03-06 Thread evandro at yahoo dot com
--- Additional Comments From evandro at yahoo dot com 2008-03-06 17:45 --- Their ABIs are not specific, except that symbols referred to via the GP register must reside in the small data sections. In the case of common symbols, in .sbss, which doesn't happen at the moment if the symbol h