2002-04-12 Michael Snyder <msnyder@redhat.com>

* bfd-in.h (bfd_get_section_lma): New access macro.
	Minor white-space fix-up.
This commit is contained in:
Michael Snyder
2002-04-12 23:02:12 +00:00
parent 62995fc4a5
commit 0c04d16993
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-04-12 Michael Snyder <msnyder@redhat.com>
* bfd-in.h (bfd_get_section_lma): New access macro.
Minor white-space fix-up.
2002-04-12 Alan Modra <amodra@bigpond.net.au>
* elf.c (prep_headers): Don't zero EI_OSABI, EI_ABIVERSION or

View File

@ -334,6 +334,7 @@ typedef struct sec *sec_ptr;
#define bfd_get_section_name(bfd, ptr) ((ptr)->name + 0)
#define bfd_get_section_vma(bfd, ptr) ((ptr)->vma + 0)
#define bfd_get_section_lma(bfd, ptr) ((ptr)->lma + 0)
#define bfd_get_section_alignment(bfd, ptr) ((ptr)->alignment_power + 0)
#define bfd_section_name(bfd, ptr) ((ptr)->name)
#define bfd_section_size(bfd, ptr) (bfd_get_section_size_before_reloc(ptr))