bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/2757] New: broken linker script keyword


From: cman dot cpp at gmail dot com
Subject: [Bug ld/2757] New: broken linker script keyword
Date: 12 Jun 2006 13:23:40 -0000

linker script keyword AT seems to be ignored resulting in a incorrect binary 
output 

SECTIONS {
   
    .stub 0x8000 : {
        *i386boot*  (.text .data .bss)
        
    }
    __loader_image = ABSOLUTE (.) ;

    . = ABSOLUTE (0x100000) ;

    .main . : AT (__loader_image) {
       
        LONG (ABSOLUTE (ADDR (.main))) ;
        LONG (SIZEOF (.main)) ;
        LONG (L_stack) ;
        LONG (_loader_startup) ;
        *(.text)
        *(.data)
        *(.comment)
        *(.bss)         
    }
    . = ALIGN (4096) ;
    . += 0x8000 ;

    L_stack = ABSOLUTE (.) ;
}

OUTPUT_FORMAT (binary) ;

.main is put at 1MB mark in the file rather then stright after .stub

-- 
           Summary: broken linker script keyword
           Product: binutils
           Version: 2.16
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: cman dot cpp at gmail dot com
                CC: bug-binutils at gnu dot org
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i386-pc-go32


http://sourceware.org/bugzilla/show_bug.cgi?id=2757

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

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