bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/28903] LD producing SegFault executables with FreePascal 2.6.4,


From: hjl.tools at gmail dot com
Subject: [Bug ld/28903] LD producing SegFault executables with FreePascal 2.6.4, in Binutils-2.36.1 and later
Date: Fri, 18 Feb 2022 13:45:44 +0000

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

--- Comment #14 from H.J. Lu <hjl.tools at gmail dot com> ---
Bad executable has 2 .data sections:

Section Headers:
  [Nr] Name              Type            Address          Off    Size   ES Flg
Lk Inf Al
  [ 0]                   NULL            0000000000000000 000000 000000 00     
0   0  0
  [ 1] .note.ABI-tag     NOTE            0000000000400190 001190 000020 00   A 
0   0  4
  [ 2] .text             PROGBITS        0000000000401000 002000 020160 00  AX 
0   0 16
  [ 3] .data             PROGBITS        0000000000422000 023000 005680 00  WA 
0   0 16
  [ 4] .bss              NOBITS          0000000000427680 028680 002228 00  WA 
0   0 16
  [ 5] .debug_frame      PROGBITS        0000000000000000 028680 000048 00     
0   0  8
  [ 6] .data             PROGBITS        0000000000000190 000190 000030 00  WA 
0   0  8
  [ 7] .bss              NOBITS          00000000000001c0 000000 000000 00  WA 
0   0  1
  [ 8] .symtab           SYMTAB          0000000000000000 0286c8 00c4f8 18     
9  10  8
  [ 9] .strtab           STRTAB          0000000000000000 034bc0 00e303 00     
0   0  1
  [10] .shstrtab         STRTAB          0000000000000000 042ec3 000047 00     
0   0  1

The second one shouldn't be there.

-- 
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]