bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/22450] New: ld: Segmentation fault (core dumped)


From: hjl.tools at gmail dot com
Subject: [Bug ld/22450] New: ld: Segmentation fault (core dumped)
Date: Fri, 17 Nov 2017 11:47:52 +0000

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

            Bug ID: 22450
           Summary: ld: Segmentation fault (core dumped)
           Product: binutils
           Version: 2.30 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: hjl.tools at gmail dot com
  Target Milestone: ---

address@hidden ld]$ cat /tmp/x.S
#ifdef __LP64__
# define ALIGN 3
#else
# define ALIGN 2
#endif
        .section ".note.gnu", "a"
        .p2align ALIGN
        .long 1f - 0f           /* name length.  */
        .long 3f - 1f           /* data length.  */
        /* NT_GNU_PROPERTY_TYPE_0 */
        .long 5                 /* note type.  */
0:
        .asciz "GNU"            /* vendor name.  */
1:
        .p2align ALIGN
        /* GNU_PROPERTY_STACK_SIZE */
        .long 1                 /* pr_type.  */
        .long 5f - 4f           /* pr_datasz.  */
4:
        .dc.a 0x800000          /* Stack size.  */
5:
        .p2align ALIGN
3:
address@hidden ld]$ gcc -c /tmp/x.S
address@hidden ld]$ ./ld-new -r x.o
Segmentation fault (core dumped)
address@hidden ld]$

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