Bug 105825

Summary: .note.SuSE conflicts with .note.ABI-tag
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Jörg Sonnenberger <joerg>
Component: BasesystemAssignee: Michael Matz <matz>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Third Party Developer/Partner Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Jörg Sonnenberger 2005-08-19 12:58:01 UTC
The SuSE specfic .note.SuSE section has an ELF note type of 1, which conflicts
with the already assigned .note.ABI-tag. ELF parsers working entirely on the
note type can be confused by this. The solution is choosing a different type,
but I don't know if there is anyone responsible for keeping a list of known IDs.
Comment 1 Michael Matz 2005-08-22 06:05:44 UTC
Fixed in the next Beta.  FYI the .note.SuSE section now has this layout: 
 
       .p2align 2 
       .long 1f - 0f           /* name length */ 
       .long 3f - 2f           /* data length */ 
       .long 0x45537553        /* note type ("SuSE" in little endian) */ 
0:     .asciz "SuSE"           /* vendor name */ 
1: 
       .p2align 2 
2:                             /* Data */ 
       .byte NOTE_VERSION      /* Version of following data */ 
       .byte PROD_TYPE         /* product type (box, sles, nld, whatever) */ 
       .byte PROD_MAJOR        /* product version */ 
       .byte PROD_MINOR        /* product minor version */ 
3: 
       .p2align 2              /* pad out section */