Bug 105825 - .note.SuSE conflicts with .note.ABI-tag
Summary: .note.SuSE conflicts with .note.ABI-tag
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Michael Matz
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-19 12:58 UTC by Jörg Sonnenberger
Modified: 2005-08-22 06:05 UTC (History)
0 users

See Also:
Found By: Third Party Developer/Partner
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 */