Summary: | [objcopy] --rename-section marking section NOBITS | ||
---|---|---|---|
Product: | binutils | Reporter: | Nick Desaulniers <ndesaulniers> |
Component: | binutils | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | amodra |
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Nick Desaulniers
2019-05-14 20:21:40 UTC
Yes, you should be using other flags. Hint: use objdump to look at flags for .rodata on an object file that hasn't been munged by objcopy. For future travelers, it seems that the "load" flag was required: `--rename-section .text=.rodata,alloc,readonly,load` Thanks for the tip. |