More relocation stuff

This is a discussion on More relocation stuff within the Windows Programming forums, part of the Platform Specific Boards category; Why are relocations used at all these days when it has so much to do with segments? Just using one ...

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    70

    More relocation stuff

    Why are relocations used at all these days when it has so much to do with segments? Just using one 32 bit value 4GB can be accessed...

    The reloc info can't be absolute (of course) anyway, so I don't see how anything inside the file could help windows get the right offsets, it depends on where the file could be loaded.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,834
    Try considering what other operating systems and processors use before extrapolating the universe from "windows" and "intel-x86".
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Tab key stuff. C+WinAPI is killing me. Please help.
    By Templario in forum Windows Programming
    Replies: 5
    Last Post: 11-21-2002, 03:35 PM
  2. arguments, directories and stuff...
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 06-26-2002, 06:46 PM
  3. Your stuff
    By smog890 in forum C Programming
    Replies: 6
    Last Post: 06-14-2002, 12:50 AM
  4. Linked lists and file i/o, and some other stuff
    By ninja in forum C++ Programming
    Replies: 9
    Last Post: 05-19-2002, 08:15 PM
  5. Stocks 'n' stuff...
    By Cheeze-It in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 09-20-2001, 06:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21