• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Development Tools » TI C/C++ Compiler » TI C/C++ Compiler - Forum » CCSv5 Linker Warning #10260-D
Share
TI C/C++ Compiler
  • Forum
Options
  • Subscribe via RSS

CCSv5 Linker Warning #10260-D

CCSv5 Linker Warning #10260-D

This question is answered
Jim Taylor99524
Posted by Jim Taylor99524
on May 03 2012 19:41 PM
Prodigy70 points

Where can I find out what this warning means?  "unrecognized -- mapfile contents attribute:"

Do I need to be concerned since my code seems to run fine.

Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • AartiG
    Posted by AartiG
    on May 04 2012 09:23 AM
    Verified Answer
    Verified by George Mock
    Guru68895 points

    What does your link command look like? It seems that you are passing an unrecognized attribute to the link option --mapfile_contents. Please check your link command and also the reference for the --mapfile_contents and accepted attributes in the Assembly Language Tools/Linker Users Guide. Users Guides can be found here.

    The warning should not affect your code, that option only controls the contents of the link map file.


    If a post answers your question please mark it with the "Verify Answer" button

    Search the wikis for common questions: CGT, BIOS,  CCSv3, CCSv4
    Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jim Taylor99524
    Posted by Jim Taylor99524
    on Jun 19 2012 18:17 PM
    Prodigy70 points

    Sorry I haven't followed this up.. I'm still getting the warning but don't know where within CCS5 to find what you are asking for in terms of what it is supplying as "link commands" or the "reference for the --mapfile_contents abd accepted attributes in the Assembly Language Tools/Linker Users Guide". CCS5 is a great compiler but in many ways it has TOO MANY OPTIONS and enough documentation to "sink a battleship" but documentation that is scattered everywhere forcing users to go on a hide and seek exercise to find simple answers to simple questions.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • AartiG
    Posted by AartiG
    on Jun 20 2012 10:32 AM
    Guru68895 points

    Jim Taylor99524
    I'm still getting the warning but don't know where within CCS5 to find what you are asking for in terms of what it is supplying as "link commands" or the "reference for the --mapfile_contents abd accepted attributes in the Assembly Language Tools/Linker Users Guide".

    In CCS, look at the build console when you build your project to see what options are being passed to the linker. Basically everything after it says "Invoking Linker", and look closely at the --mapfile_contents option. The compare it with the accepted attributes that are listed in the Assembly Language Tools Users Guide for your device.

    All of the manuals are available here: http://processors.wiki.ti.com/index.php/TI_Compiler_Information#Compiler_Manuals. Open the one for the processor you are working with, and search for the option --mapfile_contents to review its details.


    If a post answers your question please mark it with the "Verify Answer" button

    Search the wikis for common questions: CGT, BIOS,  CCSv3, CCSv4
    Track a known bug with SDOWP. Enter the bug id in the "Find Record ID" box

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jim Taylor99524
    Posted by Jim Taylor99524
    on Jun 20 2012 13:55 PM
    Prodigy70 points

    OK - I seem to be getting closer to the solution. Below is a C&P of the Build Console Linker output:

    **** Build of configuration Debug for project LCD2 ****


    'Building target: LCD2.out'
    'Invoking: MSP430 Linker'
    "C:/ti/ccsv5/tools/compiler/msp430/bin/cl430" -vmsp --abi=coffabi -g --define=__MSP430G2553__ --diag_warning=225 --display_error_number --printf_support=minimal -z -m"LCD2.map" --stack_size=80 --heap_size=150 -i"C:/ti/ccsv5/ccs_base/msp430/include" -i"C:/ti/ccsv5/tools/compiler/msp430/lib" -i"C:/ti/ccsv5/tools/compiler/msp430/include" --reread_libs --warn_sections --mapfile_contents=LCD2map --rom_model -o "LCD2.out"  "./time.obj" "./lcd_main.obj" "./lcd_funcs.obj" "./UART_funcs.obj" "./Messages.obj" -l"libc.a" "../lnk_msp430g2553.cmd"
    <Linking>
    warning #10260-D: unrecognized --mapfile_contents attribute:  LCD2map
    'Finished building target: LCD2.out'
    ' '

    **** Build Finished ****

    By looking at the "--mapfile_contents" entry above, the "filter" option following is the string "LCD2map" which doesn't coincide with any of the allowable filters specified in Section 7.4.15 of the MSP430 Assembly Language Tools Users Guide. That's exactly what the warning text is saying that it doesn't like the string "LCD2map". So the questions now are --- 1. How does the string LCD2map get put there? and 2. How do I change it from within CCS5?

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Jim Taylor99524
    Posted by Jim Taylor99524
    on Jun 20 2012 14:12 PM
    Verified Answer
    Verified by Jim Taylor99524
    Prodigy70 points

    OK -- I fixed the problem. I found the Project Properties entry for the --mapfile_contents option and indeed, the string LCD2map was there but I don't know how it got there. Anyway, I removed it, re-built my project, and the Warning message is now gone. Thanks for your help.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use