ishare | 7 Apr 2013 05:39
Picon

Re: how does ld.so call ELF's entry?

On Sun, Apr 07, 2013 at 05:11:28AM +0200, Sofiane Akermoun wrote:
> Hello,
> 
> 
> The interpreter is specified during linking process and the program header
> of your binary is filled with good values.
> Then when the operating system load your binary, he finds next the
> interpreter to use.
> The linker ld sets the good values by default but you can overwrite it or
> specify other values if you want.
> The steps are:
> 1)The operating system loads your binary
> 2)The program loader system execute the Interpreter specifiy in the binary
> 3)The interpreter gather all the dynamic libraries needed in memory

> 4)The Control is passed to the entry point of your program

  How does  the step 4 been  done ?

  thanks!
> 
> The entry point is specified in your code source as a "global". And could
> be find in your object file by the linker.
> In theory there are some default tag to specify entry point, like "..start"
> for nasm, but you can also passed it to the linker.
> 
> regards,
> 
> Sofiane Akermoun
> akersof <at> gmail.com
(Continue reading)

ishare | 7 Apr 2013 04:19
Picon

how does ld.so call ELF's entry?


  For an ELF ,which needs a interpreter , how is it  been called by the interpreter ?

  As I know the interpreter is loaded first and do something essential ,then call the main routine of ELF .
  How is this procedure implemented ?

  Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

ishare | 18 Mar 2013 15:52
Picon

how to disassembly a specified section


  I need to look up the disassembly  content of a section in an elf ?
  how to type that command ?

  thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Meher Assel | 11 Mar 2013 23:09
Picon

[NASM] ROR -> error: invalid combination of opcode and operands

Hello all,
why i can't do ' ror al,bl' ?
i'am using nasm in 16bits mode ( [BITS 16] )
i get this error when compiling:
error: invalid combination of opcode and operands
--
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Круглосутoчные перeвoзки грyзoв

                  http://www.jasoncarter.com/portfolio/u3.php

--
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Germaine Sandoval | 10 Mar 2013 22:42

Greetings from George Daniels


Greetings from George Daniels

I am George Daniels, a Banker and credit system programmer (HSBC bank). 
I saw your email address while browsing through  the bank D.T.C Screen in my office 
yesterday so I decided to use this very chance to know you. I believe 
we should use every opportunity to know each other better. However, I am contacting you 
for obvious reason which you will understand. 

I am sending this mail just to know if this email address is OK, 
reply me back so that I will send  more details to you. 
I have a very important thing to discuss with you, I look forward to receiving your response at 
georgedaniels <at> postino.net. Have a pleasant day.

George Daniels
--
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

ishare | 3 Mar 2013 20:50
Picon

how to use .section command in asm code?


can .section command be used in asm code to define a section ?

is there any examples?

thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

ishare | 3 Mar 2013 18:21
Picon

what does this do ?


here are a portion of  build-in asm code  :

    "  .long 661b\n"                    \
    "  .long 663f\n"            \
    "  .byte %c0\n"             /               \
    "  .byte 662b-661b\n"                       \
    "  .byte 664f-663f\n"

what is 661b ,663f ? etc . 
what do they  mean?

thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Wallace, Raequel (HRSA | 2 Mar 2013 04:40

Grüße aus China

Grüße aus China

_______________________________

Hallo aus Hong Kong, ich möchte Sie zu mir in einer Geldtransaktion Geschäft zu unterstützen. Bitte
antworten Sie mir wieder nur auf meiner privaten

E-Mail-Adresse für weitere Informationen andrewliu19 <at> yahoo.com.hk oder andrewliu45 <at> aol.com ich
Englisch spreche, sprechen Sie Englisch? Vielen Dank.

Mr. Andrew Liu

--
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

horseriver | 18 Feb 2013 06:06
Picon

different asm code

hi:)

  I have compiled a .S file ,using command gcc -c x.S -o x.
  Then I use objdump to look up its asm code, even find that some code is not the
  same as that .S file , more important is , some code in origin  .S file has disappear .

  what is about the reason ? If it is due to version , why some code chould get lost after compile?

thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Gmane