PATCH: Optimize ia64 linker relaxation
Dave Korn
dave.korn@artimi.com
Wed Apr 5 11:34:00 GMT 2006
More information about the Binutils mailing list
Wed Apr 5 11:34:00 GMT 2006
- Previous message (by thread): PATCH: Optimize ia64 linker relaxation
- Next message (by thread): PATCH: Optimize ia64 linker relaxation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 04 April 2006 20:43, James E Wilson wrote:
> You have overloaded the relax_pass field, such that it means two
> different things, depending on where it is being used. However, the
> comment you added in bfdlink.h only documents one of the uses. This
> needs to document both of them.
Overloaded variables make me shudder, even when they're documented; it can
all too easily become unclear which semantic is relevant/intended in which
context.
Wouldn't it be better to replace it by a two-member union and (if needed)
add a "#define relax_pass union_whatever.relax_pass" to make it more future
proof?
cheers,
DaveK
--
Can't think of a witty .sigline today....
- Previous message (by thread): PATCH: Optimize ia64 linker relaxation
- Next message (by thread): PATCH: Optimize ia64 linker relaxation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list