#1285 code overlap no error in linker

closed-out-of-date
Maarten Brock
linker (61)
5
2013-05-25
2007-02-01
nitrix06
No

Hi,

In the attached examples files i have a section for USB descriptors: usb_descr_area which i map to 0x200 (see dscr.a51)
I also tell the linker i want my code to start at 0x200...
Even though this is stupid the linker does not generate an error and report in the map file the usb_descr_area being at 0x200 as well as the HOME area....

Actually the usb_descr_area is not shown as starting at 0x200 but the labels inside this file like _DeviceDescr are...

Regards,
Nicolas.

Discussion

  • nitrix06
    nitrix06
    2007-02-01

    example test files

     
    Attachments
  • Maarten Brock
    Maarten Brock
    2007-02-01

    Logged In: YES
    user_id=888171
    Originator: NO

    This behaviour is documented in the manual for SDCC 2.6.0. The latest snapshot of SDCC 2.6.4 however does allocate for absolutely placed variables in code space.

     
  • Maarten Brock
    Maarten Brock
    2007-02-01

    • milestone: --> known_bugs
    • assigned_to: nobody --> maartenbrock
    • status: open --> closed-out-of-date