Opened 14 years ago
Closed 13 years ago
#234 closed defect (fixed)
ld: Align .text by 16 bytes
Reported by: | KO Myung-Hun | Owned by: | bird |
---|---|---|---|
Priority: | normal | Milestone: | libc-0.6.5 |
Component: | emx | Version: | 0.6.4 |
Severity: | normal | Keywords: | |
Cc: |
Description
Hi/2.
Current, ld aligns .data/.bss by 16 bytes for SSE, but .text by 4 bytes.
Some libraries such as x264 require to align .text by 16 bytes as well.
So there is need to align .text by 16 bytes as well.
Attachments (3)
Change History (6)
by , 14 years ago
comment:1 by , 13 years ago
Milestone: | → libc-0.6.5 |
---|---|
Priority: | high → normal |
Resolution: | → fixed |
Status: | new → closed |
Summary: | Align .text by 16 bytes → ld: Align .text by 16 bytes |
Version: | → 0.6.4 |
comment:2 by , 13 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
r3749 and r3750 causes the executable to crash.
I attach a testcase.
To build it, run segmake.cmd. Then run seg.exe. The following is the result
Killed by SIGSEGV pid=0x061f ppid=0x0549 tid=0x0001 slot=0x00b7 pri=0x0200 mc=0x0001 G:\EX\SEG.EXE SEG 0:000001f8 cs:eip=005b:000101f8 ss:esp=0053:0212ff8c ebp=0212ffa0 ds=0053 es=0053 fs=150b gs=0000 efl=00012283 eax=000100df ebx=0212ffa8 ecx=00000001 edx=00000001 edi=00000000 esi=00000000 Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.
comment:3 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Note:
See TracTickets
for help on using tickets.
Align .text by 16 bytes