Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8482521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:51:08+00:00 2026-06-10T19:51:08+00:00

I am building an embedded application comprised of several code modules and a static

  • 0

I am building an embedded application comprised of several code modules and a static library. Some global variables are explicitly placed in dedicated memory sections (i.e, not the default .data section).

The processor memory architecture is 4 banks, creating a contiguous physical memory space. In my application, only the 1st bank is reserved for code and the other 3 banks are reserved for the explicitly allocated globals and a small stack.

The problem is that the code section (.text) now grew beyond the 1st bank boundary and I get the following linker error message:

./bin/ld: section .data_bank1 loaded at [0000000000002000,0000000000003fff] overlaps section .text loaded at [0000000000000630,00000000000020df]
./bin/ld: section .fini loaded at [00000000000020e0,00000000000020f9] overlaps section .data_bank1 loaded at [0000000000002000,0000000000003fff]

Is there a way to see the object allocations (possibly in a temporary object file) before the linker checks for section and object overlap, and aborts the build?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T19:51:09+00:00Added an answer on June 10, 2026 at 7:51 pm

    You can pass the --print-map flag to the linker. This will make it emit details of where each section from each object file is mapped into memory.

    Example:

     .text          0x0000000000400370       0x2c /<snip>/lib64/crt1.o
                    0x0000000000400370                _start
     .text          0x000000000040039c       0x17 /<snip>/lib64/crti.o
     *fill*         0x00000000004003b3        0xd 90909090
     .text          0x00000000004003c0       0x92 /<snip>/4.6.3/crtbegin.o
     *fill*         0x0000000000400452        0x2 90909090
     .text          0x0000000000400454       0x21 /tmp/ccwAfGkH.o
                    0x000000000040045f                x
                    0x000000000040046a                y
                    0x0000000000400454                main
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am building an application in C++ which uses sqlite3 as an embedded database.
Building my first SL MVVM application (Silverlight4 RC) and have some issues i don't
I am building a small embedded web server application utilizing the HttpListener class .
Here is my scenario: I'm building a web application for an embedded system user
We are developing an application which accesses an API exposed over some embedded system.
We are building an application on an embedded platform that needs a reasonably high
I am currently building an application that consists of several components, each of which
I'm currently building an application that is intended to run on an embedded system
I am working doing OBEX push transfers to an embedded system we are building
Building a new ASP.net application, and planning to separate DB, 'service' tier and Web/UI

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.