https://sourceware.org/bugzilla/show_bug.cgi?id=33186
Bug ID: 33186 Summary: No SFrame dump if section name is not .sframe Product: binutils Version: 2.46 (HEAD) Status: NEW Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: indu.bhagat at oracle dot com Target Milestone: --- readelf and objdump have an option to dump SFrame section with a name distinct from ".sframe". $ readelf --help | grep sframe --sframe[=NAME] Display SFrame info from section NAME, (default '.sframe') $ objdump --help | grep sframe --sframe[=SECTION] Display SFrame info from SECTION, (default '.sframe') But if the section is differently named that .sframe, it doesnt work. $ objcopy --rename-section .sframe=.sframe2 sort $ objdump --sframe sort sort: file format elf64-x86-64 $ objdump --sframe=.sframe2 sort sort: file format elf64-x86-64 $ readelf --sframe sort readelf: Warning: Section '.sframe' was not dumped because it does not exist $ readelf --sframe=.sframe2 sort Unrecognized debug section: .sframe2 Not displaying the section contents with --sframe is fine (as the section name is renamed to .sframe2 in the example above). It aligns with the expectation (that the default SFrame section is assumed to be .sframe). But readelf/objdump --sframe=.sframe2 should have worked for the case above. -- You are receiving this mail because: You are on the CC list for the bug.