[ 
https://issues.apache.org/jira/browse/PROTON-583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Stitcher resolved PROTON-583.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 0.8

> Can move a bunch of things from .data to .rodata by adding const
> ----------------------------------------------------------------
>
>                 Key: PROTON-583
>                 URL: https://issues.apache.org/jira/browse/PROTON-583
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-c
>    Affects Versions: 0.6, 0.7
>            Reporter: Andrew Stitcher
>            Assignee: Andrew Stitcher
>             Fix For: 0.8
>
>
> There are a lot of {code} static pn_class_t {code} structs that could be 
> {code} static const pn_class_t {code} and this would move them into the read 
> only part of the program and hence save RAM in an embedded system. 
> There is also a table in the ssl implementation {code} dh2048_p {code} which 
> can be const.
> After adding these consts my build has nothing left in the .data section due 
> to the proton library.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to