relocations against weak and global syms (for ARM)

Harshad R Joglekar harshad.joglekar@wipro.com
Fri Sep 7 06:32:00 GMT 2001


Hi,
Sorry for the delay in replying.

On Wednesday 05 September 2001 10:06 am, Alan Modra wrote:
>     Would you like to test this patch for me?  Seems to behave
correctly
>     on the few testcases I tried.

Yes, I will test it soon.

>
>      * symbols.c (resolve_symbol_value): Resolve "sym +/- expr" to an
>      O_symbol.  Simplify a +/- b code.
>      (symbol_equated_reloc_p): New predicate function.
>      * symbols.h (symbol_equated_reloc_p): Declare.
>      * write.c (adjust_reloc_syms): Use symbol_equated_reloc_p.
>      (write_relocs): Likewise.
>      (write_object_file): Likewise.
>      * config/tc-mips.c (md_estimate_size_before_relax): Likewise.

regards,
Harshad



More information about the Binutils mailing list