Menu

#312 gplink gives "_cinit" has no section. warnings

None
open
None
1
2018-08-21
2018-08-11
Roy Rankin
No

When linking a sdcc c program with gplink, numerous _cinit no section warnings. This is with the current svn. This looks like a simple logic error in the code as shown by the attached patch.

1 Attachments

Discussion

  • Molnár Károly

    Molnár Károly - 2018-08-21
    • assigned_to: Molnár Károly
     
  • Molnár Károly

    Molnár Károly - 2018-08-21

    The default behavior is that there is a warning. This can be disabled with a command line option of gplink:

    -C, --no-cinit-warnings        Disable this warnings of _cinit section with -O2 option:
                                       "Relocation symbol _cinit has no section."
    

    This eliminates the warning.

    Károly

     

Anonymous
Anonymous

Add attachments
Cancel