[Bug ld/4563] --gc-sections doesn't work as expected.

2007-05-31 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2007-06-01 06:17 --- .text._ZN1X1fEv exports a global symbol, _ZN1X1fEv. When building a shared library we assume that all global visible symbols are referenced. -- What|Removed |Added ---

[Bug gas/4572] division doesn't work on solaris/x86

2007-05-31 Thread whaley at cs dot utsa dot edu
--- Additional Comments From whaley at cs dot utsa dot edu 2007-06-01 02:44 --- I can modify the assembly source only by removing functionality. In the original code, it is a cpp macro defined to an integer constant that is being passed in and being divided by known constant. Without b

[Bug gas/4572] division doesn't work on solaris/x86

2007-05-31 Thread amodra at bigpond dot net dot au
--- Additional Comments From amodra at bigpond dot net dot au 2007-06-01 01:52 --- You will need to modify app.c. -- http://sourceware.org/bugzilla/show_bug.cgi?id=4572 --- You are receiving this mail because: --- You are on the CC list for the bug, or are watching someone w

[Bug gas/4572] division doesn't work on solaris/x86

2007-05-31 Thread whaley at cs dot utsa dot edu
--- Additional Comments From whaley at cs dot utsa dot edu 2007-05-31 18:01 --- OK, I have established that the problem is that '/' is a comment character under solaris/x86. The Sun assembly ref manual states that \/ should work to perform division in expressions, but this does not work

[Bug gas/4572] New: division doesn't work on solaris/x86

2007-05-31 Thread whaley at cs dot utsa dot edu
Hi, Not sure if this is a bug, but the assembler works oddly on solaris x86 as opposed to x86 on (windows,OSX,Linux,*BSD). Essentially, it can't take constant expressions that include division. I am running on an opteron running solaris, and it can't assemble: >cinna>cat tst.s > movq $20/10, %ra