Resolve symbols for object files in link script

Eric Christopher echristo@apple.com
Wed Oct 4 04:04:00 GMT 2006


>
> The problem is when the number of object file grows, it becomes a pain
> in ass to maintain the link script (it has already been), and the
> linking time is increased by the GROUP command too. I'm porting a
> large software and I have to manually put the object files into
> different sections. GCC __attribute__ is not feasible, because there
> are thousands of functions in each object file.
>
> Better approach, anyone, please?

--start-group/--end-group on the command line.

-eric



More information about the Binutils mailing list