locating arbitrary segments

I have a program which compiles into N segments, where N >= 2. I need to locate all segments starting at a specific address. I know the names of the first two segments, but I don't know the names (or types) of the remaining N-2 segments (these can be arbitrarily changed without my knowing). I'm trying to compose a BL51 command line to handle all cases. Using wildcards such as ?C?* works as long as there is at least one segment that matches the wildcard. Otherwise, the linker gives:

ERROR L131: No MATCHING SEGMENT FOR WILDCARD SEGMENT NAME

Is there any general way to get around this? I'm using BL51 V4.02.

Thanks,
Slarti

Parents Reply Children
No data
More questions in this forum