Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4656)

Issue 311480043: i#2050: Fixes 32-bit compilation, Ubuntu 16.04

Can't Edit
Can't Publish+Mail
Start Review
Created:
7 years, 3 months ago by toshi
Modified:
7 years, 3 months ago
Reviewers:
bruening
CC:
dynamorio-devs_googlegroups.com
Visibility:
Public.

Description

Commit log for first patchset: --------------- i#2050: Fixes 32-bit compilation, Ubuntu 16.04 Affects Ubuntu 16.04, gcc version 5.4.0. When trying to access a label in DR_ANNOTATION_ATTRIBUTES, we dereference some offset from the GOT. However, in 32-bit mode the linker chokes because it is not given the base register for the GOT. We specify the base register for 32-bit code only. Fixes #2050 ---------------

Patch Set 1 #

Patch Set 2 : Committed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -2 lines) Patch
M core/lib/dr_annotations_asm.h View 4 chunks +9 lines, -2 lines 0 comments Download

Messages

Total messages: 3
toshi
7 years, 3 months ago (2017-01-04 05:49:52 UTC) #1
bruening
LGTM
7 years, 3 months ago (2017-01-04 17:45:17 UTC) #2
toshi
7 years, 3 months ago (2017-01-04 18:24:43 UTC) #3
Committed as
https://github.com/DynamoRIO/dynamorio/commit/24c4f7ca3caca4a406c284759f1bcbf...

Final commit log: 
---------------
i#2050: Fixes 32-bit compilation, Ubuntu 16.04

Affects Ubuntu 16.04, gcc version 5.4.0. When trying to access a label in
DR_ANNOTATION_ATTRIBUTES, we dereference some offset from the GOT. However, in
32-bit mode the linker chokes because it is not given the base register for
the GOT. We specify the base register for 32-bit code only.

Fixes #2050

Review-URL: https://codereview.appspot.com/311480043
---------------
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b