Potential bug in LLD when wrapping symbols

Hi

There appears to be some bugs in LLD’s handling of the ‘–wrap’ option that results in unexpected
“undefined symbols” in the output.

I’ve broken this report into { 1. Issues; 2. Reproduction; 3. Reproduction Tests; 4: Side Observations }.
Please can somebody take a look at {1,2,3} to confirm if these are genuine issues?

Many Thanks,
Martin

  1. Issues:

[ Self-reply to improve formatting due to line-length wrapping ]

Hi

There appears to be some bugs in LLD's handling of the '--wrap' option that
results in unexpected
"undefined symbols" in the output.

I've broken this report into { 1. Issues; 2. Reproduction; 3. Reproduction
Tests; 4: Side Observations }.
Please can somebody take a look at {1,2,3} to confirm if these are genuine
issues?

Many Thanks,
Martin

1) Issues: