* PATCH: fix reference to symbol binding attributes
@ 2005-03-24 1:30 Jim Blandy
0 siblings, 0 replies; only message in thread
From: Jim Blandy @ 2005-03-24 1:30 UTC (permalink / raw)
To: Nick Clifton, Richard.Earnshaw; +Cc: binutils
I've committed the following as obvious. The cast in ELF32_ST_BIND
hid the pointer-to-integer conversion, until I tried building it on an
AMD64, where pointers and unsigned ints are not the same size, and GCC
produced a warning.
2005-03-23 Jim Blandy <jimb@redhat.com>
* config/tc-arm.c (arm_adjust_symtab): Fetch elf_sym's binding
attributes properly.
Index: gas/config/tc-arm.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-arm.c,v
retrieving revision 1.196
diff -c -p -r1.196 tc-arm.c
*** gas/config/tc-arm.c 16 Mar 2005 17:27:16 -0000 1.196
--- gas/config/tc-arm.c 23 Mar 2005 15:42:06 -0000
*************** arm_adjust_symtab (void)
*** 13703,13709 ****
elf_symbol_type * elf_sym;
elf_sym = elf_symbol (symbol_get_bfdsym (sym));
! bind = ELF_ST_BIND (elf_sym);
/* If it's a .thumb_func, declare it as so,
otherwise tag label as .code 16. */
--- 13703,13709 ----
elf_symbol_type * elf_sym;
elf_sym = elf_symbol (symbol_get_bfdsym (sym));
! bind = ELF_ST_BIND (elf_sym->internal_elf_sym.st_info);
/* If it's a .thumb_func, declare it as so,
otherwise tag label as .code 16. */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-03-23 15:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-24 1:30 PATCH: fix reference to symbol binding attributes Jim Blandy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).