bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/18963] Addition is not commutative


From: casner at acm dot org
Subject: [Bug ld/18963] Addition is not commutative
Date: Wed, 15 Apr 2020 19:52:44 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18963

--- Comment #8 from Stephen Casner <casner at acm dot org> ---
Created attachment 12461
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12461&action=edit
Patch for test to work with pdp11-aout

I found that my proposed pr18963.s got an assembly error with target cris-aout
because pseudo-op .bss is not defined.  So I changed to use .lcomm instead, and
removed the _data and _bss symbols that were not needed, then the output is the
same as for the old script except for the different value for E and different
section associations for some symbols.

With the revised pr18963.s the test passes with targets x86_64-linux-gnu,
i386-elf32, cris-aout, z80-coff and pdp11-aout.

I believe the attached patch is complete for commit.  Suggested log:

Fix test ld-scripts/pr18963 to work on targets such as pdp11-aout where having
the linker script modify the section sizes causes the output format to be
invalid.  Also reduce the size of the test addresses to fit in 16-bits.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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