[Bug gas/4029] relax_segment can't stabilize .gcc_except_table

2018-03-31 Thread jeremip11 at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=4029

Jeremi  changed:

   What|Removed |Added

 CC||jeremip11 at gmail dot com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/4029] relax_segment can't stabilize .gcc_except_table

2018-01-12 Thread rprichard at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=4029

Ryan Prichard  changed:

   What|Removed |Added

 CC||rprichard at google dot com

--- Comment #13 from Ryan Prichard  ---
FWIW: This issue affects the LLVM assembler, too:
https://bugs.llvm.org/show_bug.cgi?id=35809.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/4029] relax_segment can't stabilize .gcc_except_table

2007-03-14 Thread amodra at bigpond dot net dot au

--- Additional Comments From amodra at bigpond dot net dot au  2007-03-14 
11:07 ---
Fixed

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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

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


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/4029] relax_segment can't stabilize .gcc_except_table

2007-03-12 Thread amodra at bigpond dot net dot au

--- Additional Comments From amodra at bigpond dot net dot au  2007-03-12 
09:01 ---
Ah, yes, it does seem as if the type_info table is stored in reverse order and
accessed from the end.  In that case increasing alignment padding should work.

-- 


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

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


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/4029] relax_segment can't stabilize .gcc_except_table

2007-03-11 Thread amodra at bigpond dot net dot au

--- Additional Comments From amodra at bigpond dot net dot au  2007-03-11 
13:37 ---
Yes, we can modify the output, but we must do so in a way that does not confuse
consumers of .gcc_except_table.  I don't believe changing the .align is correct,
because data normally follows the .align (a number of .long's before the end
label).  Changing alignment in a way that cures the uleb128 problem necessarily
inserts zero bytes, which I think will confuse the unwinder.

-- 
   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |


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

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


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/4029] relax_segment can't stabilize .gcc_except_table

2007-03-11 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-03-12 00:52 ---
A patch is posted at

http://sourceware.org/ml/binutils/2007-03/msg00107.html

-- 


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

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


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/4029] relax_segment can't stabilize .gcc_except_table

2007-03-10 Thread amodra at bigpond dot net dot au

--- Additional Comments From amodra at bigpond dot net dot au  2007-03-10 
10:58 ---
Reduced testcase.

 .data
 .align 4
 .byte 0, 0
 .uleb128 end - start
start:
 .space 128*128 - 1 /* or -2 or -3 */
 .align 4
end:

I don't believe this is a gas bug.  Instead, I believe gcc is asking the
impossible of gas.  The original testcase or the reduced one above has no
correct solution.  ie. this problem is caused by a design fault in the layout of
.gcc_except_table data.

Consider:
We know the uleb128 is either two or three bytes long.  If end-start is
128*128-1 or somewhat less, then it will be two bytes.  If 128*128 or a little
larger, then it will be three bytes.

But, if the uleb128 is two bytes in size, then end-start is 128*128
If the uleb128 is three bytes, then end-start is 128*128-1
This results in a contradiction.

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID


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

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


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/4029] relax_segment can't stabilize .gcc_except_table

2007-03-10 Thread hjl at lucon dot org

--- Additional Comments From hjl at lucon dot org  2007-03-10 15:20 ---
Assembler can do better to help gcc. We can turn it into

 .data
 .align 4
 .byte 0, 0
 .uleb128 end - start
start:
 .space 128*128 - 1 /* or -2 or -3 */
 .align 8
end:

-- 


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

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


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils


[Bug gas/4029] relax_segment can't stabilize .gcc_except_table

2007-02-12 Thread schwab at suse dot de

--- Additional Comments From schwab at suse dot de  2007-02-12 16:32 ---
Created an attachment (id=1549)
 -- (http://sourceware.org/bugzilla/attachment.cgi?id=1549action=view)
Testcase


-- 


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

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


___
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils