GNOME Bugzilla – Bug 505445
remove more relocations
Last modified: 2008-11-27 07:13:38 UTC
Structs of this form static const char *strings[] = { "string1", "string2" }; and static const struct { char *string; int other } items[] = { { "item1", 0}, { "item2", 1} }; etc. induce unneccessary relocations. Attached patch removes them.
Created attachment 101547 [details] [review] [PATCH] Remove relocations. Bug #505445. atk/atkobject.c | 328 +++++++++++++++++++++++++++++++++++-------------------- atk/atktext.c | 131 ++++++++++++++-------- 2 files changed, 294 insertions(+), 165 deletions(-)
Patch looks fine to me.