When the f18 frontend calls the link editor, put the libraries and object files in the correct order.
Fixes the issues reported here https://github.com/flang-compiler/flang/issues/897
Differential D84340
Order of libraries and source files in the f18 frontend ClosedPublic Authored by coti on Jul 22 2020, 9:41 AM.
Details Summary When the f18 frontend calls the link editor, put the libraries and object files in the correct order. Fixes the issues reported here https://github.com/flang-compiler/flang/issues/897
Diff Detail
Event Timeline
Comment Actions Replied comment from @DavidTruby.
This revision is now accepted and ready to land.Jul 24 2020, 4:15 PM Comment Actions This looks good to me. I think these changes mean that the vector relocatables never actually gets populated, so it could be removed since the patch uses objlist and liblist exclusively, which are clearer names anyway. Comment Actions clang-formated the source code, since I have been told about issues with whitespaces. If this is fine, can anyone with commit access push it? Thanks! Closed by commit rGca0bf440dbf9: Order of libraries and source files in the f18 frontend (authored by coti, committed by AlexisPerry). · Explain WhyJul 28 2020, 8:03 AM This revision was automatically updated to reflect the committed changes.
Diff 281239 flang/tools/f18/f18.cpp
|
Should the prefix be from 0 to dot, instead of from 0 to 2?