/*
To completely override the placement of all output sections you can define sectionsExclude to match any string.
// Note: the '.' below represents _any_ character, not just "."
Program.sectionsExclude = ".*";
To override output sections that begin with '.' you must specify the literal character '.' and use the '^' character to match the beginning of the string.
// the sequence '^.' matches just "." at the start of the name
Program.sectionsExclude = "^.";
To override a specific sections you should be careful to supply a regular expression that matches the entire section name. You can use '$' to match the end of the name.
// match only ".const" or ".text"
Program.sectionsExclude = "^.const$|^.text$";
*/
Program.sectionsExclude = ".*";
/*
To completely override the placement of all output sections you can define sectionsExclude to match any string.
// Note: the '.' below represents _any_ character, not just "."
Program.sectionsExclude = ".*";
To override output sections that begin with '.' you must specify the literal character '.' and use the '^' character to match the beginning of the string.
// the sequence '^.' matches just "." at the start of the name
Program.sectionsExclude = "^.";
To override a specific sections you should be careful to supply a regular expression that matches the entire section name. You can use '$' to match the end of the name.
// match only ".const" or ".text"
Program.sectionsExclude = "^.const$|^.text$";
*/
Program.sectionsExclude = ".*";
我设置的是section全部由用户自己分配。这样BIOS生成的cmd只配MEMORY部分,SECTION部分是空的,用户另建个cmd文件自己写SECTION部分。
SYS/BIOS 6以上应该都是这样,其它版本不详。要弄明白BIOS这套东西,很多文档要看一下。
一周热门 更多>