https://sourceware.org/bugzilla/show_bug.cgi?id=33852
Bug ID: 33852
Summary: [2.46 Regression] Different objects for same input
Product: binutils
Version: 2.46
Status: NEW
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: stefansf at sourceware dot org
Target Milestone: ---
Created attachment 16596
--> https://sourceware.org/bugzilla/attachment.cgi?id=16596&action=edit
Assembler file
Bisect stops at 11e5824cda9f8d94f6982124eb2c231dfab77bee
Running gas twice over the same input results in different object files if ASLR
is enabled. This has been first reported here
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123743
For example, running gas twice over the attached example on s390x results in:
$ as --gdwarf-5 -m64 -mzarch -march=z196 affinity.s -o t1.o
$ as --gdwarf-5 -m64 -mzarch -march=z196 affinity.s -o t2.o
$ cmp --ignore-initial=16 t1.o t2.o
t1.o t2.o differ: byte 7541, line 18
One time we have:
Disassembly of section .rodata.cst8:
0000000000000000 <.LC17>:
0: 00 00 00 00 .long 0x00000000
4: 02 60 2a 58 .long 0x02602a58
and for the other object file we have:
Disassembly of section .rodata.cst8:
0000000000000000 <.LC17>:
0: 00 00 00 00 .long 0x00000000
4: 01 4d 3a 58 .long 0x014d3a5
--
You are receiving this mail because:
You are on the CC list for the bug.