Messages in this thread | | | From | Jakub Jelinek <> | Subject | Re: [PATCH] Capabilities, this time in elf section | Date | Fri, 9 Apr 1999 14:14:43 +0200 (CEST) |
| |
> > Hi! > > Here is second version of capabilities-into-elf patch. > > This time additional headers are in separate elf section (you can add > it using objcopy --add-section). This section has to have special > code (0xca, you have to do this via hex-editor :-) and contains custom > header. > > I would be _very_ glad if someone wrote utility to read/write these > headers.
No way. EF_ has already other definitions:
#define EF_SPARCV9_MM 3 #define EF_SPARCV9_TSO 0 #define EF_SPARCV9_PSO 1 #define EF_SPARCV9_RMO 2 #define EF_SPARC_EXT_MASK 0xFFFF00 #define EF_SPARC_SUN_US1 0x000200 #define EF_SPARC_HAL_R1 0x000400
#define EF_MIPS_NOREORDER 1 /* A .noreorder directive was used */ #define EF_MIPS_PIC 2 /* Contains PIC code */ #define EF_MIPS_CPIC 4 /* Uses PIC calling sequence */ #define EF_MIPS_ARCH 0xf0000000 /* MIPS architecture level */
#define EF_ALPHA_32BIT 1 /* All addresses are below 2GB */
Cheers, Jakub ___________________________________________________________________ Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz Administrator of SunSITE Czech Republic, MFF, Charles University ___________________________________________________________________ UltraLinux | http://ultra.linux.cz/ | http://ultra.penguin.cz/ Linux version 2.2.5 on a sparc64 machine (3958.37 BogoMips) ___________________________________________________________________
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |