Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The corresponding macros of binutils changed slightly #24

Open
yaird-huawei opened this issue Jun 29, 2020 · 0 comments
Open

The corresponding macros of binutils changed slightly #24

yaird-huawei opened this issue Jun 29, 2020 · 0 comments

Comments

@yaird-huawei
Copy link

yaird-huawei commented Jun 29, 2020

Hi Ivan,

The corresponding macros of binutils changed slightly and CppServer does not build.

Flags that changed:
from bfd_get_section_flags to bfd_section_flags
from bfd_get_section_vma to bfd_section_vma
from bfd_get_section_size to bfd_section_size

/CppServer/modules/CppCommon/source/system/stack_trace.cpp:162:18: error: ‘bfd_get_section_flags’ was not declared in this scope;
162 | if ((bfd_get_section_flags(abfd, section) & SEC_ALLOC) == 0)
| ^~~~~~~~~~~~~~~~~~~~~
| bfd_set_section_flags
/CppServer/modules/CppCommon/source/system/stack_trace.cpp:165:27: error: ‘bfd_get_section_vma’ was not declared in this scope;
165 | bfd_vma vma = bfd_get_section_vma(abfd, section);
| ^~~~~~~~~~~~~~~~~~~
| bfd_set_section_vma
/CppServer/modules/CppCommon/source/system/stack_trace.cpp:169:37: error: ‘bfd_get_section_size’ was not declared in this scope;
169 | bfd_size_type secsize = bfd_get_section_size(section);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant