diff options
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-alpha.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index da9330f..b139b61 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2012-05-16 Sergio Durigan Junior <sergiodj@redhat.com> + + * config/tc-alpha.c (maybe_set_gp): Pass proper `bfd' + as the first argument for `bfd_get_section_vma'. + 2012-05-16 Alberto Garcia <agarcia@igalia.com> PR gas/14082 diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c index 43bd18b..d020896 100644 --- a/gas/config/tc-alpha.c +++ b/gas/config/tc-alpha.c @@ -5302,7 +5302,7 @@ maybe_set_gp (asection *sec) if (!sec) return; - vma = bfd_get_section_vma (foo, sec); + vma = bfd_get_section_vma (sec->owner, sec); if (vma && vma < alpha_gp_value) alpha_gp_value = vma; } |