Results 1 to 4 of 4

Thread: asm in c

  1. #1
    Join Date
    Jan 2021
    Beans
    7

    asm in c

    dear all, do you prefer insert assembly functions in your c programs using file.s or file.o ? and why? further...pushad is not available in amd64 , . how you insert inline assembly ? thanks kind regards

  2. #2
    Join Date
    Jan 2021
    Beans
    7

    Re: asm in c

    basically in this damn PIE system you can't compile c executables that use assembly functions. also -fpie doesn't work. yet some ubuntu experts certainly know how.

  3. #3
    Join Date
    Jan 2021
    Beans
    7

    Re: asm in c

    I managed to create a program c which calls assembly functions, bypassing the PIE, but it seems that ubuntu deems it deprecable, also the program works but generates a segmentation fault

  4. #4
    Join Date
    Jan 2021
    Beans
    7

    Re: asm in c

    also solved this problem

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •