1832592 Members
2753 Online
110043 Solutions
New Discussion

Re: magic number 010e

 
David Lockwood
Advisor

magic number 010e

I have an application (Catia V5) that returns a magic number of 010e when I do an odump (executable or shared library) | head. Can someone explain what this magic number means? I need to try and set the executables and shared libraries to SHMEM_MAGIC so I can access 2.75Gb but chatr won't let me, I get chatr(error): only EXEC_MAGIC files can be made SHMEM_MAGIC.

Thanks
David
3 REPLIES 3
Steve Lewis
Honored Contributor

Re: magic number 010e

man magic

view /usr/include/sys/magic.h
- shows that 10e is a shared library

Be very careful with chatr, I have found that applications sometimes stop working.

James Murtagh
Honored Contributor

Re: magic number 010e

Hi David,

See "man magic" for a full explanation on the code. For SHMEM_MAGIC executables, quadrant 2 becomes part of the shared memory address space. Since Q2 is normally the data quadrant, the data needs to be pushed into quadrant 1, sharing with the text. To do this you need to link the application using the -N flag of ld, your application vendor should be able to help in doing this and verifying it is supported.

Regards,

James.
David Lockwood
Advisor

Re: magic number 010e

Thanks for the help. I have found the executables and managed to change them.

Regards
David