This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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] | |
Hi,
This patch makes the .got section the first non-RELRO section in
the data segment on ARM target. Previously, the .got section was
mistakenly treated as a RELRO section and that caused crashes in
dynamic objects on ARM Linux. The patch also fixes a test that
counted the number of times certain section names appear. The search
patterns used did not have a space in front so the test miscounted on
the ARM target due to suffixes in .ARM.exidx and .ARM.extab section
names.
-Doug
2010-02-24 Doug Kwan <dougkwan@google.com>
* arm.cc (Target_arm::got_section): Make the .got section the first
non RELRO section in the data segment.
* testsuite/script_test_5.sh: Fix match patterns to avoid matching
suffixes of section names.
Attachment:
patch-got.txt
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |