This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
There has been a bfd_get_section_lma macro in sim/ppc/hw_htab.c since the original sourceware import in 1999. The same macro was added to bfd.h in 2002 so is now duplicated in hw_htab.c. Committed as obvious. 2005-07-15 Ben Elliston <bje@au.ibm.com> * hw_htab.c (bfd_get_section_lma): Remove macro; use BFD's. Index: hw_htab.c =================================================================== RCS file: /cvs/src/src/sim/ppc/hw_htab.c,v retrieving revision 1.4 diff -u -p -r1.4 hw_htab.c --- hw_htab.c 15 Jun 2004 01:08:57 -0000 1.4 +++ hw_htab.c 15 Jul 2005 03:49:21 -0000 @@ -393,7 +393,6 @@ htab_sum_binary(bfd *abfd, htab_binary_sizes *sizes = (htab_binary_sizes*)data; unsigned_word size = bfd_get_section_size (sec); unsigned_word vma = bfd_get_section_vma (abfd, sec); -#define bfd_get_section_lma(abfd, sec) ((sec)->lma + 0) unsigned_word ra = bfd_get_section_lma (abfd, sec); /* skip the section if no memory to allocate */
Attachment:
signature.asc
Description: OpenPGP digital signature
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |