#139 ✓resolved
Peter Johnson

Doesn't set elf flags for execution when using (g)as parser

Reported by Peter Johnson | June 25th, 2011 @ 07:50 PM

Originally posted on Trac by anonymous
Original Trac Ticket

  Description

nathan@nathan-desktop:~$ yasm -p nasm -f elf32 -o testn.o testn.asm
nathan@nathan-desktop:~$ readelf -S testn.o
There are 5 section headers, starting at offset 0xd0:

Section Headers:

[Nr] Name Type Addr Off Size ES Flg Lk Inf Al [ 0] NULL 00000000 000000 000000 00 0 0 0 [ 1] .shstrtab STRTAB 00000000 00004c 000021 00 0 0 0 [ 2] .strtab STRTAB 00000000 000070 000012 00 0 0 0 [ 3] .symtab SYMTAB 00000000 000084 000040 10 2 3 4 [ 4] .text PROGBITS 00000000 000040 000009 00 AX 0 0 16

nathan@nathan-desktop:~$ yasm -p gas -f elf32 -o testg.o testg.asm
nathan@nathan-desktop:~$ readelf -S testg.o
There are 5 section headers, starting at offset 0xd0:

Section Headers:

[Nr] Name Type Addr Off Size ES Flg Lk Inf Al [ 0] NULL 00000000 000000 000000 00 0 0 0 [ 1] .shstrtab STRTAB 00000000 00004c 000021 00 0 0 0 [ 2] .strtab STRTAB 00000000 000070 000012 00 0 0 0 [ 3] .symtab SYMTAB 00000000 000084 000040 10 2 3 4 [ 4] .text PROGBITS 00000000 000040 000009 00 0 0 16

h3. Trac Attachments
http://www.tortall.net:80//projects/yasm/attachment/ticket/148/test...
http://www.tortall.net:80//projects/yasm/raw-attachment/ticket/148/...
http://www.tortall.net:80//projects/yasm/timeline?from=2008-07-07T1...
http://www.tortall.net:80//projects/yasm/attachment/ticket/148/test...
http://www.tortall.net:80//projects/yasm/raw-attachment/ticket/148/...
http://www.tortall.net:80//projects/yasm/timeline?from=2008-07-07T1...
h3. Trac Comments
Changed 3 years ago by anonymous



                  Changed 3 years ago by anonymous

      attachment
        testg.asm​
          added

      attachment
        testg.asm​
          added

Changed 3 years ago by anonymous



                  Changed 3 years ago by anonymous

      attachment
        testn.asm​
          added

      attachment
        testn.asm​
          added

comment:1

              Changed 3 years ago by peter


(In [2114]) Fix #148: Don't clear elf section flags in GAS if it's a standard section and
no GAS flags were provided.

      comment:1

                  Changed 3 years ago by peter

      Status
        changed from new to closed
    
      Resolution
        set to fixed

(In [2114]) Fix #148: Don't clear elf section flags in GAS if it's a standard section and
no GAS flags were provided.

      Status
        changed from new to closed
    
      Resolution
        set to fixed

comment:2

              Changed 3 years ago by peter


(In [2145]) Merge [2114] and [2115] from trunk (Fix #148, clearing of GAS elf sectflags).

Comments and changes to this ticket

  • robinjack

    robinjack May 25th, 2021 @ 07:11 AM

    • Assigned user set to “Peter Johnson”

    Spot lets start work on this write-up, I truly believe this web site needs far more consideration. I’ll apt to be once more to see a lot more, many thanks for that information.
    find words for writing

  • robinjack

    robinjack May 26th, 2021 @ 10:03 AM

    I simply needed to thank you so much yet again. I am not sure the things that I might have worked on in the absence of the type of recommendations provided by you relating to that topic. It actually was a real troublesome issue in my view, nevertheless looking at a new specialised manner you resolved the issue made me to leap for delight. Extremely thankful for the advice and then expect you find out what a great job your are getting into training men and women through the use of your webpage. I know that you have never come across all of us. [pii_email_37f47c404649338129d6]

  • robinjack

    robinjack June 2nd, 2021 @ 11:06 AM

    Depending on how well one knows the score, it can be said this rendition is not highly accurate and in some cases is downright sloppy. At the least, completely affected playing.
    bandar togel online

  • robinjack

    robinjack June 21st, 2021 @ 11:55 AM

    Thank you for sharing this good article. Very inspiring! (as always, btw) sbobet mobile

  • robinjack

    robinjack June 27th, 2021 @ 04:53 AM

    it was a wonderful chance to visit this kind of site and I am happy to know. thank you so much for giving us a chance to have this opportunity.. seo freelancer delhi

  • robinjack

    robinjack July 17th, 2021 @ 10:52 AM

    Normally I don’t learn article on blogs, but I wish to say that this write-up very compelled me to try and do so! Your writing style has been amazed me. Thank you, quite great article. Royal CBD

  • robinjack

    robinjack July 18th, 2021 @ 10:07 AM

    every woman needs fine jewelries because it becomes a fashion statement of your personality; marijuana on line

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Yasm Modular Assembler Project

Shared Ticket Bins

People watching this ticket

Pages